Class: AdWords::V201008::CampaignTargetService::NetworkTargetList

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

Overview

NetworkTargetList

  • campaignId - SOAP::SOAPLong

  • targetList_Type - SOAP::SOAPString

  • targets - AdWords::V201008::CampaignTargetService::NetworkTarget

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of NetworkTargetList.



1104
1105
1106
1107
1108
# File 'lib/adwords4r/v201008/CampaignTargetService.rb', line 1104

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.



1100
1101
1102
# File 'lib/adwords4r/v201008/CampaignTargetService.rb', line 1100

def campaignId
  @campaignId
end

#targetList_TypeObject

Returns the value of attribute targetList_Type.



1101
1102
1103
# File 'lib/adwords4r/v201008/CampaignTargetService.rb', line 1101

def targetList_Type
  @targetList_Type
end

#targetsObject

Returns the value of attribute targets.



1102
1103
1104
# File 'lib/adwords4r/v201008/CampaignTargetService.rb', line 1102

def targets
  @targets
end