Class: YSM::AdGroupService::GetAdGroupsByCampaignID

Inherits:
Object
  • Object
show all
Defined in:
lib/ysm4r/v1/AdGroupService.rb,
lib/ysm4r/v2/AdGroupService.rb

Overview

http://marketing.ews.yahooapis.com/V2getAdGroupsByCampaignID

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(campaignID = nil, includeDeleted = nil, startElement = nil, numElements = nil) ⇒ GetAdGroupsByCampaignID

Returns a new instance of GetAdGroupsByCampaignID.



517
518
519
520
521
522
# File 'lib/ysm4r/v1/AdGroupService.rb', line 517

def initialize(campaignID = nil, includeDeleted = nil, startElement = nil, numElements = nil)
  @campaignID = campaignID
  @includeDeleted = includeDeleted
  @startElement = startElement
  @numElements = numElements
end

Instance Attribute Details

#campaignIDObject

Returns the value of attribute campaignID.



512
513
514
# File 'lib/ysm4r/v1/AdGroupService.rb', line 512

def campaignID
  @campaignID
end

#includeDeletedObject

Returns the value of attribute includeDeleted.



513
514
515
# File 'lib/ysm4r/v1/AdGroupService.rb', line 513

def includeDeleted
  @includeDeleted
end

#numElementsObject

Returns the value of attribute numElements.



515
516
517
# File 'lib/ysm4r/v1/AdGroupService.rb', line 515

def numElements
  @numElements
end

#startElementObject

Returns the value of attribute startElement.



514
515
516
# File 'lib/ysm4r/v1/AdGroupService.rb', line 514

def startElement
  @startElement
end