Class: AdWords::V201008::CampaignTargetService::DemographicTargetList

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

Overview

DemographicTargetList

  • campaignId - SOAP::SOAPLong

  • targetList_Type - SOAP::SOAPString

  • targets - AdWords::V201008::CampaignTargetService::DemographicTarget

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DemographicTargetList.



1040
1041
1042
1043
1044
# File 'lib/adwords4r/v201008/CampaignTargetService.rb', line 1040

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.



1036
1037
1038
# File 'lib/adwords4r/v201008/CampaignTargetService.rb', line 1036

def campaignId
  @campaignId
end

#targetList_TypeObject

Returns the value of attribute targetList_Type.



1037
1038
1039
# File 'lib/adwords4r/v201008/CampaignTargetService.rb', line 1037

def targetList_Type
  @targetList_Type
end

#targetsObject

Returns the value of attribute targets.



1038
1039
1040
# File 'lib/adwords4r/v201008/CampaignTargetService.rb', line 1038

def targets
  @targets
end