Class: AdWords::V200909::CampaignService::Stats

Inherits:
Object
  • Object
show all
Defined in:
lib/adwords4r/v200909/CampaignService.rb

Overview

Stats

  • startDate - SOAP::SOAPString

  • endDate - SOAP::SOAPString

  • network - AdWords::V200909::CampaignService::StatsNetwork

  • clicks - SOAP::SOAPLong

  • impressions - SOAP::SOAPLong

  • cost - AdWords::V200909::CampaignService::Money

  • averagePosition - SOAP::SOAPDouble

  • averageCpc - AdWords::V200909::CampaignService::Money

  • averageCpm - AdWords::V200909::CampaignService::Money

  • ctr - SOAP::SOAPDouble

  • conversions - SOAP::SOAPLong

  • conversionRate - SOAP::SOAPDouble

  • costPerConversion - AdWords::V200909::CampaignService::Money

  • conversionsManyPerClick - SOAP::SOAPLong

  • conversionRateManyPerClick - SOAP::SOAPDouble

  • costPerConversionManyPerClick - AdWords::V200909::CampaignService::Money

  • stats_Type - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(startDate = nil, endDate = nil, network = nil, clicks = nil, impressions = nil, cost = nil, averagePosition = nil, averageCpc = nil, averageCpm = nil, ctr = nil, conversions = nil, conversionRate = nil, costPerConversion = nil, conversionsManyPerClick = nil, conversionRateManyPerClick = nil, costPerConversionManyPerClick = nil, stats_Type = nil) ⇒ Stats

Returns a new instance of Stats.



206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'lib/adwords4r/v200909/CampaignService.rb', line 206

def initialize(startDate = nil, endDate = nil, network = nil, clicks = nil, impressions = nil, cost = nil, averagePosition = nil, averageCpc = nil, averageCpm = nil, ctr = nil, conversions = nil, conversionRate = nil, costPerConversion = nil, conversionsManyPerClick = nil, conversionRateManyPerClick = nil, costPerConversionManyPerClick = nil, stats_Type = nil)
  @startDate = startDate
  @endDate = endDate
  @network = network
  @clicks = clicks
  @impressions = impressions
  @cost = cost
  @averagePosition = averagePosition
  @averageCpc = averageCpc
  @averageCpm = averageCpm
  @ctr = ctr
  @conversions = conversions
  @conversionRate = conversionRate
  @costPerConversion = costPerConversion
  @conversionsManyPerClick = conversionsManyPerClick
  @conversionRateManyPerClick = conversionRateManyPerClick
  @costPerConversionManyPerClick = costPerConversionManyPerClick
  @stats_Type = stats_Type
end

Instance Attribute Details

#averageCpcObject

Returns the value of attribute averageCpc.



195
196
197
# File 'lib/adwords4r/v200909/CampaignService.rb', line 195

def averageCpc
  @averageCpc
end

#averageCpmObject

Returns the value of attribute averageCpm.



196
197
198
# File 'lib/adwords4r/v200909/CampaignService.rb', line 196

def averageCpm
  @averageCpm
end

#averagePositionObject

Returns the value of attribute averagePosition.



194
195
196
# File 'lib/adwords4r/v200909/CampaignService.rb', line 194

def averagePosition
  @averagePosition
end

#clicksObject

Returns the value of attribute clicks.



191
192
193
# File 'lib/adwords4r/v200909/CampaignService.rb', line 191

def clicks
  @clicks
end

#conversionRateObject

Returns the value of attribute conversionRate.



199
200
201
# File 'lib/adwords4r/v200909/CampaignService.rb', line 199

def conversionRate
  @conversionRate
end

#conversionRateManyPerClickObject

Returns the value of attribute conversionRateManyPerClick.



202
203
204
# File 'lib/adwords4r/v200909/CampaignService.rb', line 202

def conversionRateManyPerClick
  @conversionRateManyPerClick
end

#conversionsObject

Returns the value of attribute conversions.



198
199
200
# File 'lib/adwords4r/v200909/CampaignService.rb', line 198

def conversions
  @conversions
end

#conversionsManyPerClickObject

Returns the value of attribute conversionsManyPerClick.



201
202
203
# File 'lib/adwords4r/v200909/CampaignService.rb', line 201

def conversionsManyPerClick
  @conversionsManyPerClick
end

#costObject

Returns the value of attribute cost.



193
194
195
# File 'lib/adwords4r/v200909/CampaignService.rb', line 193

def cost
  @cost
end

#costPerConversionObject

Returns the value of attribute costPerConversion.



200
201
202
# File 'lib/adwords4r/v200909/CampaignService.rb', line 200

def costPerConversion
  @costPerConversion
end

#costPerConversionManyPerClickObject

Returns the value of attribute costPerConversionManyPerClick.



203
204
205
# File 'lib/adwords4r/v200909/CampaignService.rb', line 203

def costPerConversionManyPerClick
  @costPerConversionManyPerClick
end

#ctrObject

Returns the value of attribute ctr.



197
198
199
# File 'lib/adwords4r/v200909/CampaignService.rb', line 197

def ctr
  @ctr
end

#endDateObject

Returns the value of attribute endDate.



189
190
191
# File 'lib/adwords4r/v200909/CampaignService.rb', line 189

def endDate
  @endDate
end

#impressionsObject

Returns the value of attribute impressions.



192
193
194
# File 'lib/adwords4r/v200909/CampaignService.rb', line 192

def impressions
  @impressions
end

#networkObject

Returns the value of attribute network.



190
191
192
# File 'lib/adwords4r/v200909/CampaignService.rb', line 190

def network
  @network
end

#startDateObject

Returns the value of attribute startDate.



188
189
190
# File 'lib/adwords4r/v200909/CampaignService.rb', line 188

def startDate
  @startDate
end

#stats_TypeObject

Returns the value of attribute stats_Type.



204
205
206
# File 'lib/adwords4r/v200909/CampaignService.rb', line 204

def stats_Type
  @stats_Type
end