Class: AdwordsApi::V201101::AdGroupAdService::TextAd

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

Overview

TextAd

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

  • approvalStatus - AdwordsApi::V201101::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.



1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1693

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.



1688
1689
1690
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1688

def ad_Type
  @ad_Type
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



1685
1686
1687
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1685

def approvalStatus
  @approvalStatus
end

#description1Object

Returns the value of attribute description1.



1690
1691
1692
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1690

def description1
  @description1
end

#description2Object

Returns the value of attribute description2.



1691
1692
1693
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1691

def description2
  @description2
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



1686
1687
1688
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1686

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



1684
1685
1686
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1684

def displayUrl
  @displayUrl
end

#headlineObject

Returns the value of attribute headline.



1689
1690
1691
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1689

def headline
  @headline
end

#idObject

Returns the value of attribute id.



1682
1683
1684
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1682

def id
  @id
end

#trademarkDisapprovedObject

Returns the value of attribute trademarkDisapproved.



1687
1688
1689
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1687

def trademarkDisapproved
  @trademarkDisapproved
end

#urlObject

Returns the value of attribute url.



1683
1684
1685
# File 'lib/adwords_api/v201101/AdGroupAdService.rb', line 1683

def url
  @url
end