Class: AdwordsApi::V201101::AdGroupService::AdGroup

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

Overview

AdGroup

  • id - SOAP::SOAPLong

  • campaignId - SOAP::SOAPLong

  • campaignName - SOAP::SOAPString

  • name - SOAP::SOAPString

  • status - AdwordsApi::V201101::AdGroupService::AdGroupStatus

  • bids - AdwordsApi::V201101::AdGroupService::AdGroupBids

  • experimentData - AdwordsApi::V201101::AdGroupService::AdGroupExperimentData

  • stats - AdwordsApi::V201101::AdGroupService::Stats

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, campaignId = nil, campaignName = nil, name = nil, status = nil, bids = nil, experimentData = nil, stats = nil) ⇒ AdGroup

Returns a new instance of AdGroup.



1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
# File 'lib/adwords_api/v201101/AdGroupService.rb', line 1123

def initialize(id = nil, campaignId = nil, campaignName = nil, name = nil, status = nil, bids = nil, experimentData = nil, stats = nil)
  @id = id
  @campaignId = campaignId
  @campaignName = campaignName
  @name = name
  @status = status
  @bids = bids
  @experimentData = experimentData
  @stats = stats
end

Instance Attribute Details

#bidsObject

Returns the value of attribute bids.



1119
1120
1121
# File 'lib/adwords_api/v201101/AdGroupService.rb', line 1119

def bids
  @bids
end

#campaignIdObject

Returns the value of attribute campaignId.



1115
1116
1117
# File 'lib/adwords_api/v201101/AdGroupService.rb', line 1115

def campaignId
  @campaignId
end

#campaignNameObject

Returns the value of attribute campaignName.



1116
1117
1118
# File 'lib/adwords_api/v201101/AdGroupService.rb', line 1116

def campaignName
  @campaignName
end

#experimentDataObject

Returns the value of attribute experimentData.



1120
1121
1122
# File 'lib/adwords_api/v201101/AdGroupService.rb', line 1120

def experimentData
  @experimentData
end

#idObject

Returns the value of attribute id.



1114
1115
1116
# File 'lib/adwords_api/v201101/AdGroupService.rb', line 1114

def id
  @id
end

#nameObject

Returns the value of attribute name.



1117
1118
1119
# File 'lib/adwords_api/v201101/AdGroupService.rb', line 1117

def name
  @name
end

#statsObject

Returns the value of attribute stats.



1121
1122
1123
# File 'lib/adwords_api/v201101/AdGroupService.rb', line 1121

def stats
  @stats
end

#statusObject

Returns the value of attribute status.



1118
1119
1120
# File 'lib/adwords_api/v201101/AdGroupService.rb', line 1118

def status
  @status
end