Class: AdwordsApi::V201101::CampaignAdExtensionService::ProductExtension

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

Overview

ProductExtension

  • id - SOAP::SOAPLong

  • adExtension_Type - SOAP::SOAPString

  • googleBaseCustomerId - SOAP::SOAPInt

  • advertiserName - SOAP::SOAPString

  • productSelection - AdwordsApi::V201101::CampaignAdExtensionService::ProductConditionAndGroup

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, adExtension_Type = nil, googleBaseCustomerId = nil, advertiserName = nil, productSelection = []) ⇒ ProductExtension

Returns a new instance of ProductExtension.



1183
1184
1185
1186
1187
1188
1189
# File 'lib/adwords_api/v201101/CampaignAdExtensionService.rb', line 1183

def initialize(id = nil, adExtension_Type = nil, googleBaseCustomerId = nil, advertiserName = nil, productSelection = [])
  @id = id
  @adExtension_Type = adExtension_Type
  @googleBaseCustomerId = googleBaseCustomerId
  @advertiserName = advertiserName
  @productSelection = productSelection
end

Instance Attribute Details

#adExtension_TypeObject

Returns the value of attribute adExtension_Type.



1178
1179
1180
# File 'lib/adwords_api/v201101/CampaignAdExtensionService.rb', line 1178

def adExtension_Type
  @adExtension_Type
end

#advertiserNameObject

Returns the value of attribute advertiserName.



1180
1181
1182
# File 'lib/adwords_api/v201101/CampaignAdExtensionService.rb', line 1180

def advertiserName
  @advertiserName
end

#googleBaseCustomerIdObject

Returns the value of attribute googleBaseCustomerId.



1179
1180
1181
# File 'lib/adwords_api/v201101/CampaignAdExtensionService.rb', line 1179

def googleBaseCustomerId
  @googleBaseCustomerId
end

#idObject

Returns the value of attribute id.



1177
1178
1179
# File 'lib/adwords_api/v201101/CampaignAdExtensionService.rb', line 1177

def id
  @id
end

#productSelectionObject

Returns the value of attribute productSelection.



1181
1182
1183
# File 'lib/adwords_api/v201101/CampaignAdExtensionService.rb', line 1181

def productSelection
  @productSelection
end