Class: AdwordsApi::V201008::CampaignAdExtensionService::ProductExtension

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

Overview

ProductExtension

  • id - SOAP::SOAPLong

  • adExtension_Type - SOAP::SOAPString

  • googleBaseCustomerId - SOAP::SOAPInt

  • advertiserName - SOAP::SOAPString

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



1143
1144
1145
1146
1147
1148
1149
# File 'lib/adwords_api/v201008/CampaignAdExtensionService.rb', line 1143

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.



1138
1139
1140
# File 'lib/adwords_api/v201008/CampaignAdExtensionService.rb', line 1138

def adExtension_Type
  @adExtension_Type
end

#advertiserNameObject

Returns the value of attribute advertiserName.



1140
1141
1142
# File 'lib/adwords_api/v201008/CampaignAdExtensionService.rb', line 1140

def advertiserName
  @advertiserName
end

#googleBaseCustomerIdObject

Returns the value of attribute googleBaseCustomerId.



1139
1140
1141
# File 'lib/adwords_api/v201008/CampaignAdExtensionService.rb', line 1139

def googleBaseCustomerId
  @googleBaseCustomerId
end

#idObject

Returns the value of attribute id.



1137
1138
1139
# File 'lib/adwords_api/v201008/CampaignAdExtensionService.rb', line 1137

def id
  @id
end

#productSelectionObject

Returns the value of attribute productSelection.



1141
1142
1143
# File 'lib/adwords_api/v201008/CampaignAdExtensionService.rb', line 1141

def productSelection
  @productSelection
end