Class: AdWords::V200909::CampaignTargetService::PlatformTargetList

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

Overview

PlatformTargetList

  • campaignId - SOAP::SOAPLong

  • targetList_Type - SOAP::SOAPString

  • targets - AdWords::V200909::CampaignTargetService::PlatformTarget

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(campaignId = nil, targetList_Type = nil, targets = []) ⇒ PlatformTargetList

Returns a new instance of PlatformTargetList.



939
940
941
942
943
# File 'lib/adwords4r/v200909/CampaignTargetService.rb', line 939

def initialize(campaignId = nil, targetList_Type = nil, targets = [])
  @campaignId = campaignId
  @targetList_Type = targetList_Type
  @targets = targets
end

Instance Attribute Details

#campaignIdObject

Returns the value of attribute campaignId.



935
936
937
# File 'lib/adwords4r/v200909/CampaignTargetService.rb', line 935

def campaignId
  @campaignId
end

#targetList_TypeObject

Returns the value of attribute targetList_Type.



936
937
938
# File 'lib/adwords4r/v200909/CampaignTargetService.rb', line 936

def targetList_Type
  @targetList_Type
end

#targetsObject

Returns the value of attribute targets.



937
938
939
# File 'lib/adwords4r/v200909/CampaignTargetService.rb', line 937

def targets
  @targets
end