Class: AdwordsApi::V201008::CampaignService::Stats

Inherits:
Object
  • Object
show all
Defined in:
lib/adwords_api/v201008/CampaignService.rb

Overview

Stats

  • startDate - SOAP::SOAPString

  • endDate - SOAP::SOAPString

  • network - AdwordsApi::V201008::CampaignService::StatsNetwork

  • clicks - SOAP::SOAPLong

  • impressions - SOAP::SOAPLong

  • cost - AdwordsApi::V201008::CampaignService::Money

  • averagePosition - SOAP::SOAPDouble

  • averageCpc - AdwordsApi::V201008::CampaignService::Money

  • averageCpm - AdwordsApi::V201008::CampaignService::Money

  • ctr - SOAP::SOAPDouble

  • conversions - SOAP::SOAPLong

  • conversionRate - SOAP::SOAPDouble

  • costPerConversion - AdwordsApi::V201008::CampaignService::Money

  • conversionsManyPerClick - SOAP::SOAPLong

  • conversionRateManyPerClick - SOAP::SOAPDouble

  • costPerConversionManyPerClick - AdwordsApi::V201008::CampaignService::Money

  • viewThroughConversions - SOAP::SOAPLong

  • totalConvValue - SOAP::SOAPLong

  • valuePerConv - SOAP::SOAPDouble

  • valuePerConvManyPerClick - SOAP::SOAPDouble

  • stats_Type - SOAP::SOAPString

Direct Known Subclasses

CampaignStats

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, viewThroughConversions = nil, totalConvValue = nil, valuePerConv = nil, valuePerConvManyPerClick = nil, stats_Type = nil) ⇒ Stats

Returns a new instance of Stats.



227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
# File 'lib/adwords_api/v201008/CampaignService.rb', line 227

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, viewThroughConversions = nil, totalConvValue = nil, valuePerConv = nil, valuePerConvManyPerClick = 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
  @viewThroughConversions = viewThroughConversions
  @totalConvValue = totalConvValue
  @valuePerConv = valuePerConv
  @valuePerConvManyPerClick = valuePerConvManyPerClick
  @stats_Type = stats_Type
end

Instance Attribute Details

#averageCpcObject

Returns the value of attribute averageCpc.



212
213
214
# File 'lib/adwords_api/v201008/CampaignService.rb', line 212

def averageCpc
  @averageCpc
end

#averageCpmObject

Returns the value of attribute averageCpm.



213
214
215
# File 'lib/adwords_api/v201008/CampaignService.rb', line 213

def averageCpm
  @averageCpm
end

#averagePositionObject

Returns the value of attribute averagePosition.



211
212
213
# File 'lib/adwords_api/v201008/CampaignService.rb', line 211

def averagePosition
  @averagePosition
end

#clicksObject

Returns the value of attribute clicks.



208
209
210
# File 'lib/adwords_api/v201008/CampaignService.rb', line 208

def clicks
  @clicks
end

#conversionRateObject

Returns the value of attribute conversionRate.



216
217
218
# File 'lib/adwords_api/v201008/CampaignService.rb', line 216

def conversionRate
  @conversionRate
end

#conversionRateManyPerClickObject

Returns the value of attribute conversionRateManyPerClick.



219
220
221
# File 'lib/adwords_api/v201008/CampaignService.rb', line 219

def conversionRateManyPerClick
  @conversionRateManyPerClick
end

#conversionsObject

Returns the value of attribute conversions.



215
216
217
# File 'lib/adwords_api/v201008/CampaignService.rb', line 215

def conversions
  @conversions
end

#conversionsManyPerClickObject

Returns the value of attribute conversionsManyPerClick.



218
219
220
# File 'lib/adwords_api/v201008/CampaignService.rb', line 218

def conversionsManyPerClick
  @conversionsManyPerClick
end

#costObject

Returns the value of attribute cost.



210
211
212
# File 'lib/adwords_api/v201008/CampaignService.rb', line 210

def cost
  @cost
end

#costPerConversionObject

Returns the value of attribute costPerConversion.



217
218
219
# File 'lib/adwords_api/v201008/CampaignService.rb', line 217

def costPerConversion
  @costPerConversion
end

#costPerConversionManyPerClickObject

Returns the value of attribute costPerConversionManyPerClick.



220
221
222
# File 'lib/adwords_api/v201008/CampaignService.rb', line 220

def costPerConversionManyPerClick
  @costPerConversionManyPerClick
end

#ctrObject

Returns the value of attribute ctr.



214
215
216
# File 'lib/adwords_api/v201008/CampaignService.rb', line 214

def ctr
  @ctr
end

#endDateObject

Returns the value of attribute endDate.



206
207
208
# File 'lib/adwords_api/v201008/CampaignService.rb', line 206

def endDate
  @endDate
end

#impressionsObject

Returns the value of attribute impressions.



209
210
211
# File 'lib/adwords_api/v201008/CampaignService.rb', line 209

def impressions
  @impressions
end

#networkObject

Returns the value of attribute network.



207
208
209
# File 'lib/adwords_api/v201008/CampaignService.rb', line 207

def network
  @network
end

#startDateObject

Returns the value of attribute startDate.



205
206
207
# File 'lib/adwords_api/v201008/CampaignService.rb', line 205

def startDate
  @startDate
end

#stats_TypeObject

Returns the value of attribute stats_Type.



225
226
227
# File 'lib/adwords_api/v201008/CampaignService.rb', line 225

def stats_Type
  @stats_Type
end

#totalConvValueObject

Returns the value of attribute totalConvValue.



222
223
224
# File 'lib/adwords_api/v201008/CampaignService.rb', line 222

def totalConvValue
  @totalConvValue
end

#valuePerConvObject

Returns the value of attribute valuePerConv.



223
224
225
# File 'lib/adwords_api/v201008/CampaignService.rb', line 223

def valuePerConv
  @valuePerConv
end

#valuePerConvManyPerClickObject

Returns the value of attribute valuePerConvManyPerClick.



224
225
226
# File 'lib/adwords_api/v201008/CampaignService.rb', line 224

def valuePerConvManyPerClick
  @valuePerConvManyPerClick
end

#viewThroughConversionsObject

Returns the value of attribute viewThroughConversions.



221
222
223
# File 'lib/adwords_api/v201008/CampaignService.rb', line 221

def viewThroughConversions
  @viewThroughConversions
end