Class: AdwordsApi::V201008::AdGroupAdService::ProductAd

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

Overview

ProductAd

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

  • approvalStatus - AdwordsApi::V201008::AdGroupAdService::AdApprovalStatus

  • disapprovalReasons - SOAP::SOAPString

  • trademarkDisapproved - SOAP::SOAPBoolean

  • ad_Type - SOAP::SOAPString

  • promotionLine - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, url = nil, displayUrl = nil, approvalStatus = nil, disapprovalReasons = [], trademarkDisapproved = nil, ad_Type = nil, promotionLine = nil) ⇒ ProductAd

Returns a new instance of ProductAd.



1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
# File 'lib/adwords_api/v201008/AdGroupAdService.rb', line 1935

def initialize(id = nil, url = nil, displayUrl = nil, approvalStatus = nil, disapprovalReasons = [], trademarkDisapproved = nil, ad_Type = nil, promotionLine = nil)
  @id = id
  @url = url
  @displayUrl = displayUrl
  @approvalStatus = approvalStatus
  @disapprovalReasons = disapprovalReasons
  @trademarkDisapproved = trademarkDisapproved
  @ad_Type = ad_Type
  @promotionLine = promotionLine
end

Instance Attribute Details

#ad_TypeObject

Returns the value of attribute ad_Type.



1932
1933
1934
# File 'lib/adwords_api/v201008/AdGroupAdService.rb', line 1932

def ad_Type
  @ad_Type
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



1929
1930
1931
# File 'lib/adwords_api/v201008/AdGroupAdService.rb', line 1929

def approvalStatus
  @approvalStatus
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



1930
1931
1932
# File 'lib/adwords_api/v201008/AdGroupAdService.rb', line 1930

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



1928
1929
1930
# File 'lib/adwords_api/v201008/AdGroupAdService.rb', line 1928

def displayUrl
  @displayUrl
end

#idObject

Returns the value of attribute id.



1926
1927
1928
# File 'lib/adwords_api/v201008/AdGroupAdService.rb', line 1926

def id
  @id
end

#promotionLineObject

Returns the value of attribute promotionLine.



1933
1934
1935
# File 'lib/adwords_api/v201008/AdGroupAdService.rb', line 1933

def promotionLine
  @promotionLine
end

#trademarkDisapprovedObject

Returns the value of attribute trademarkDisapproved.



1931
1932
1933
# File 'lib/adwords_api/v201008/AdGroupAdService.rb', line 1931

def trademarkDisapproved
  @trademarkDisapproved
end

#urlObject

Returns the value of attribute url.



1927
1928
1929
# File 'lib/adwords_api/v201008/AdGroupAdService.rb', line 1927

def url
  @url
end