Class: AdwordsApi::V201008::CampaignTargetService::PlatformTargetList

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

Overview

PlatformTargetList

  • campaignId - SOAP::SOAPLong

  • targetList_Type - SOAP::SOAPString

  • targets - AdwordsApi::V201008::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.



1126
1127
1128
1129
1130
# File 'lib/adwords_api/v201008/CampaignTargetService.rb', line 1126

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.



1122
1123
1124
# File 'lib/adwords_api/v201008/CampaignTargetService.rb', line 1122

def campaignId
  @campaignId
end

#targetList_TypeObject

Returns the value of attribute targetList_Type.



1123
1124
1125
# File 'lib/adwords_api/v201008/CampaignTargetService.rb', line 1123

def targetList_Type
  @targetList_Type
end

#targetsObject

Returns the value of attribute targets.



1124
1125
1126
# File 'lib/adwords_api/v201008/CampaignTargetService.rb', line 1124

def targets
  @targets
end