Class: AdWords::V201003::CampaignTargetService::GeoTargetList

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

Overview

GeoTargetList

  • campaignId - SOAP::SOAPLong

  • targetList_Type - SOAP::SOAPString

  • targets - AdWords::V201003::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.



1053
1054
1055
1056
1057
# File 'lib/adwords4r/v201003/CampaignTargetService.rb', line 1053

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.



1049
1050
1051
# File 'lib/adwords4r/v201003/CampaignTargetService.rb', line 1049

def campaignId
  @campaignId
end

#targetList_TypeObject

Returns the value of attribute targetList_Type.



1050
1051
1052
# File 'lib/adwords4r/v201003/CampaignTargetService.rb', line 1050

def targetList_Type
  @targetList_Type
end

#targetsObject

Returns the value of attribute targets.



1051
1052
1053
# File 'lib/adwords4r/v201003/CampaignTargetService.rb', line 1051

def targets
  @targets
end