Class: AdCenterWrapper::KeywordKPI

Inherits:
Object
  • Object
show all
Defined in:
lib/AdIntelligenceService.rb

Overview

http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContractsKeywordKPI

matchType - AdCenterWrapper::MatchType
adPosition - AdCenterWrapper::AdPosition
clicks - SOAP::SOAPInt
impressions - SOAP::SOAPInt
averageCPC - SOAP::SOAPDouble
cTR - SOAP::SOAPDouble
totalCost - SOAP::SOAPDouble
averageBid - SOAP::SOAPDouble

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(matchType = nil, adPosition = nil, clicks = nil, impressions = nil, averageCPC = nil, cTR = nil, totalCost = nil, averageBid = nil) ⇒ KeywordKPI

Returns a new instance of KeywordKPI.


350
351
352
353
354
355
356
357
358
359
# File 'lib/AdIntelligenceService.rb', line 350

def initialize(matchType = nil, adPosition = nil, clicks = nil, impressions = nil, averageCPC = nil, cTR = nil, totalCost = nil, averageBid = nil)
  @matchType = matchType
  @adPosition = adPosition
  @clicks = clicks
  @impressions = impressions
  @averageCPC = averageCPC
  @cTR = cTR
  @totalCost = totalCost
  @averageBid = averageBid
end

Instance Attribute Details

#adPositionObject

Returns the value of attribute adPosition.


342
343
344
# File 'lib/AdIntelligenceService.rb', line 342

def adPosition
  @adPosition
end

#averageBidObject

Returns the value of attribute averageBid.


348
349
350
# File 'lib/AdIntelligenceService.rb', line 348

def averageBid
  @averageBid
end

#averageCPCObject

Returns the value of attribute averageCPC.


345
346
347
# File 'lib/AdIntelligenceService.rb', line 345

def averageCPC
  @averageCPC
end

#clicksObject

Returns the value of attribute clicks.


343
344
345
# File 'lib/AdIntelligenceService.rb', line 343

def clicks
  @clicks
end

#cTRObject

Returns the value of attribute cTR.


346
347
348
# File 'lib/AdIntelligenceService.rb', line 346

def cTR
  @cTR
end

#impressionsObject

Returns the value of attribute impressions.


344
345
346
# File 'lib/AdIntelligenceService.rb', line 344

def impressions
  @impressions
end

#matchTypeObject

Returns the value of attribute matchType.


341
342
343
# File 'lib/AdIntelligenceService.rb', line 341

def matchType
  @matchType
end

#totalCostObject

Returns the value of attribute totalCost.


347
348
349
# File 'lib/AdIntelligenceService.rb', line 347

def totalCost
  @totalCost
end