Class: AdWords::V200909::AdGroupAdService::TextAd

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

Overview

TextAd

  • id - SOAP::SOAPLong

  • url - SOAP::SOAPString

  • displayUrl - SOAP::SOAPString

  • approvalStatus - AdWords::V200909::AdGroupAdService::AdApprovalStatus

  • disapprovalReasons - SOAP::SOAPString

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

Returns a new instance of TextAd.



1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1763

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

Instance Attribute Details

#ad_TypeObject

Returns the value of attribute ad_Type.



1758
1759
1760
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1758

def ad_Type
  @ad_Type
end

#approvalStatusObject

Returns the value of attribute approvalStatus.



1756
1757
1758
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1756

def approvalStatus
  @approvalStatus
end

#description1Object

Returns the value of attribute description1.



1760
1761
1762
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1760

def description1
  @description1
end

#description2Object

Returns the value of attribute description2.



1761
1762
1763
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1761

def description2
  @description2
end

#disapprovalReasonsObject

Returns the value of attribute disapprovalReasons.



1757
1758
1759
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1757

def disapprovalReasons
  @disapprovalReasons
end

#displayUrlObject

Returns the value of attribute displayUrl.



1755
1756
1757
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1755

def displayUrl
  @displayUrl
end

#headlineObject

Returns the value of attribute headline.



1759
1760
1761
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1759

def headline
  @headline
end

#idObject

Returns the value of attribute id.



1753
1754
1755
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1753

def id
  @id
end

#urlObject

Returns the value of attribute url.



1754
1755
1756
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1754

def url
  @url
end