Class: AdWords::V201008::AdGroupAdService::TextAd

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

Overview

TextAd

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

  • approvalStatus - AdWords::V201008::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.



1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1971

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.



1966
1967
1968
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1966

def ad_Type
  @ad_Type
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



1963
1964
1965
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1963

def approvalStatus
  @approvalStatus
end

#description1Object

Returns the value of attribute description1.



1968
1969
1970
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1968

def description1
  @description1
end

#description2Object

Returns the value of attribute description2.



1969
1970
1971
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1969

def description2
  @description2
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



1964
1965
1966
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1964

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



1962
1963
1964
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1962

def displayUrl
  @displayUrl
end

#headlineObject

Returns the value of attribute headline.



1967
1968
1969
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1967

def headline
  @headline
end

#idObject

Returns the value of attribute id.



1960
1961
1962
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1960

def id
  @id
end

#trademarkDisapprovedObject

Returns the value of attribute trademarkDisapproved.



1965
1966
1967
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1965

def trademarkDisapproved
  @trademarkDisapproved
end

#urlObject

Returns the value of attribute url.



1961
1962
1963
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1961

def url
  @url
end