Class: AdWords::V201008::CampaignService::CampaignStats

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

Overview

CampaignStats

  • startDate - SOAP::SOAPString

  • endDate - SOAP::SOAPString

  • network - AdWords::V201008::CampaignService::StatsNetwork

  • clicks - SOAP::SOAPLong

  • impressions - SOAP::SOAPLong

  • cost - AdWords::V201008::CampaignService::Money

  • averagePosition - SOAP::SOAPDouble

  • averageCpc - AdWords::V201008::CampaignService::Money

  • averageCpm - AdWords::V201008::CampaignService::Money

  • ctr - SOAP::SOAPDouble

  • conversions - SOAP::SOAPLong

  • conversionRate - SOAP::SOAPDouble

  • costPerConversion - AdWords::V201008::CampaignService::Money

  • conversionsManyPerClick - SOAP::SOAPLong

  • conversionRateManyPerClick - SOAP::SOAPDouble

  • costPerConversionManyPerClick - AdWords::V201008::CampaignService::Money

  • viewThroughConversions - SOAP::SOAPLong

  • totalConvValue - SOAP::SOAPLong

  • valuePerConv - SOAP::SOAPDouble

  • valuePerConvManyPerClick - SOAP::SOAPDouble

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

Returns a new instance of CampaignStats.



297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
# File 'lib/adwords4r/v201008/CampaignService.rb', line 297

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.



282
283
284
# File 'lib/adwords4r/v201008/CampaignService.rb', line 282

def averageCpc
  @averageCpc
end

#averageCpmObject

Returns the value of attribute averageCpm.



283
284
285
# File 'lib/adwords4r/v201008/CampaignService.rb', line 283

def averageCpm
  @averageCpm
end

#averagePositionObject

Returns the value of attribute averagePosition.



281
282
283
# File 'lib/adwords4r/v201008/CampaignService.rb', line 281

def averagePosition
  @averagePosition
end

#clicksObject

Returns the value of attribute clicks.



278
279
280
# File 'lib/adwords4r/v201008/CampaignService.rb', line 278

def clicks
  @clicks
end

#conversionRateObject

Returns the value of attribute conversionRate.



286
287
288
# File 'lib/adwords4r/v201008/CampaignService.rb', line 286

def conversionRate
  @conversionRate
end

#conversionRateManyPerClickObject

Returns the value of attribute conversionRateManyPerClick.



289
290
291
# File 'lib/adwords4r/v201008/CampaignService.rb', line 289

def conversionRateManyPerClick
  @conversionRateManyPerClick
end

#conversionsObject

Returns the value of attribute conversions.



285
286
287
# File 'lib/adwords4r/v201008/CampaignService.rb', line 285

def conversions
  @conversions
end

#conversionsManyPerClickObject

Returns the value of attribute conversionsManyPerClick.



288
289
290
# File 'lib/adwords4r/v201008/CampaignService.rb', line 288

def conversionsManyPerClick
  @conversionsManyPerClick
end

#costObject

Returns the value of attribute cost.



280
281
282
# File 'lib/adwords4r/v201008/CampaignService.rb', line 280

def cost
  @cost
end

#costPerConversionObject

Returns the value of attribute costPerConversion.



287
288
289
# File 'lib/adwords4r/v201008/CampaignService.rb', line 287

def costPerConversion
  @costPerConversion
end

#costPerConversionManyPerClickObject

Returns the value of attribute costPerConversionManyPerClick.



290
291
292
# File 'lib/adwords4r/v201008/CampaignService.rb', line 290

def costPerConversionManyPerClick
  @costPerConversionManyPerClick
end

#ctrObject

Returns the value of attribute ctr.



284
285
286
# File 'lib/adwords4r/v201008/CampaignService.rb', line 284

def ctr
  @ctr
end

#endDateObject

Returns the value of attribute endDate.



276
277
278
# File 'lib/adwords4r/v201008/CampaignService.rb', line 276

def endDate
  @endDate
end

#impressionsObject

Returns the value of attribute impressions.



279
280
281
# File 'lib/adwords4r/v201008/CampaignService.rb', line 279

def impressions
  @impressions
end

#networkObject

Returns the value of attribute network.



277
278
279
# File 'lib/adwords4r/v201008/CampaignService.rb', line 277

def network
  @network
end

#startDateObject

Returns the value of attribute startDate.



275
276
277
# File 'lib/adwords4r/v201008/CampaignService.rb', line 275

def startDate
  @startDate
end

#stats_TypeObject

Returns the value of attribute stats_Type.



295
296
297
# File 'lib/adwords4r/v201008/CampaignService.rb', line 295

def stats_Type
  @stats_Type
end

#totalConvValueObject

Returns the value of attribute totalConvValue.



292
293
294
# File 'lib/adwords4r/v201008/CampaignService.rb', line 292

def totalConvValue
  @totalConvValue
end

#valuePerConvObject

Returns the value of attribute valuePerConv.



293
294
295
# File 'lib/adwords4r/v201008/CampaignService.rb', line 293

def valuePerConv
  @valuePerConv
end

#valuePerConvManyPerClickObject

Returns the value of attribute valuePerConvManyPerClick.



294
295
296
# File 'lib/adwords4r/v201008/CampaignService.rb', line 294

def valuePerConvManyPerClick
  @valuePerConvManyPerClick
end

#viewThroughConversionsObject

Returns the value of attribute viewThroughConversions.



291
292
293
# File 'lib/adwords4r/v201008/CampaignService.rb', line 291

def viewThroughConversions
  @viewThroughConversions
end