Class: AdwordsApi::V201101::CampaignTargetService::GeoTargetList

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

Overview

GeoTargetList

  • campaignId - SOAP::SOAPLong

  • targetList_Type - SOAP::SOAPString

  • targets - AdwordsApi::V201101::CampaignTargetService::GeoTarget

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of GeoTargetList.



1049
1050
1051
1052
1053
# File 'lib/adwords_api/v201101/CampaignTargetService.rb', line 1049

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.



1045
1046
1047
# File 'lib/adwords_api/v201101/CampaignTargetService.rb', line 1045

def campaignId
  @campaignId
end

#targetList_TypeObject

Returns the value of attribute targetList_Type.



1046
1047
1048
# File 'lib/adwords_api/v201101/CampaignTargetService.rb', line 1046

def targetList_Type
  @targetList_Type
end

#targetsObject

Returns the value of attribute targets.



1047
1048
1049
# File 'lib/adwords_api/v201101/CampaignTargetService.rb', line 1047

def targets
  @targets
end