Class: AdwordsApi::V201008::AdGroupService::AdGroup

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

Overview

AdGroup

  • id - SOAP::SOAPLong

  • campaignId - SOAP::SOAPLong

  • campaignName - SOAP::SOAPString

  • name - SOAP::SOAPString

  • status - AdwordsApi::V201008::AdGroupService::AdGroupStatus

  • bids - AdwordsApi::V201008::AdGroupService::AdGroupBids

  • experimentData - AdwordsApi::V201008::AdGroupService::AdGroupExperimentData

  • stats - AdwordsApi::V201008::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.



1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
# File 'lib/adwords_api/v201008/AdGroupService.rb', line 1082

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.



1078
1079
1080
# File 'lib/adwords_api/v201008/AdGroupService.rb', line 1078

def bids
  @bids
end

#campaignIdObject

Returns the value of attribute campaignId.



1074
1075
1076
# File 'lib/adwords_api/v201008/AdGroupService.rb', line 1074

def campaignId
  @campaignId
end

#campaignNameObject

Returns the value of attribute campaignName.



1075
1076
1077
# File 'lib/adwords_api/v201008/AdGroupService.rb', line 1075

def campaignName
  @campaignName
end

#experimentDataObject

Returns the value of attribute experimentData.



1079
1080
1081
# File 'lib/adwords_api/v201008/AdGroupService.rb', line 1079

def experimentData
  @experimentData
end

#idObject

Returns the value of attribute id.



1073
1074
1075
# File 'lib/adwords_api/v201008/AdGroupService.rb', line 1073

def id
  @id
end

#nameObject

Returns the value of attribute name.



1076
1077
1078
# File 'lib/adwords_api/v201008/AdGroupService.rb', line 1076

def name
  @name
end

#statsObject

Returns the value of attribute stats.



1080
1081
1082
# File 'lib/adwords_api/v201008/AdGroupService.rb', line 1080

def stats
  @stats
end

#statusObject

Returns the value of attribute status.



1077
1078
1079
# File 'lib/adwords_api/v201008/AdGroupService.rb', line 1077

def status
  @status
end