Class: AdWords::V201003::AdGroupAdService::TextAd

Inherits:
Ad
  • Object
show all
Defined in:
lib/adwords4r/v201003/AdGroupAdService.rb

Overview

TextAd

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

  • approvalStatus - AdWords::V201003::AdGroupAdService::AdApprovalStatus

  • disapprovalReasons - SOAP::SOAPString

  • trademarkDisapproved - SOAP::SOAPBoolean

  • ad_Type - SOAP::SOAPString

  • headline - SOAP::SOAPString

  • description1 - SOAP::SOAPString

  • description2 - 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, headline = nil, description1 = nil, description2 = nil) ⇒ TextAd

Returns a new instance of TextAd.



1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1935

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

Instance Attribute Details

#ad_TypeObject

Returns the value of attribute ad_Type.



1930
1931
1932
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1930

def ad_Type
  @ad_Type
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



1927
1928
1929
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1927

def approvalStatus
  @approvalStatus
end

#description1Object

Returns the value of attribute description1.



1932
1933
1934
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1932

def description1
  @description1
end

#description2Object

Returns the value of attribute description2.



1933
1934
1935
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1933

def description2
  @description2
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



1928
1929
1930
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1928

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



1926
1927
1928
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1926

def displayUrl
  @displayUrl
end

#headlineObject

Returns the value of attribute headline.



1931
1932
1933
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1931

def headline
  @headline
end

#idObject

Returns the value of attribute id.



1924
1925
1926
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1924

def id
  @id
end

#trademarkDisapprovedObject

Returns the value of attribute trademarkDisapproved.



1929
1930
1931
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1929

def trademarkDisapproved
  @trademarkDisapproved
end

#urlObject

Returns the value of attribute url.



1925
1926
1927
# File 'lib/adwords4r/v201003/AdGroupAdService.rb', line 1925

def url
  @url
end