Class: AdWords::V201008::AdGroupAdService::Ad
- Inherits:
-
Object
- Object
- AdWords::V201008::AdGroupAdService::Ad
- Defined in:
- lib/adwords4r/v201008/AdGroupAdService.rb
Overview
Ad
-
id - SOAP::SOAPLong
-
url - SOAP::SOAPString
-
displayUrl - SOAP::SOAPString
-
approvalStatus - AdWords::V201008::AdGroupAdService::AdApprovalStatus
-
disapprovalReasons - SOAP::SOAPString
-
trademarkDisapproved - SOAP::SOAPBoolean
-
ad_Type - SOAP::SOAPString
Direct Known Subclasses
DeprecatedAd, ImageAd, LocalBusinessAd, MobileAd, MobileImageAd, ProductAd, RichMediaAd, TemplateAd, TextAd
Instance Attribute Summary collapse
-
#ad_Type ⇒ Object
Returns the value of attribute ad_Type.
-
#approvalStatus ⇒ Object
Returns the value of attribute approvalStatus.
-
#disapprovalReasons ⇒ Object
Returns the value of attribute disapprovalReasons.
-
#displayUrl ⇒ Object
Returns the value of attribute displayUrl.
-
#id ⇒ Object
Returns the value of attribute id.
-
#trademarkDisapproved ⇒ Object
Returns the value of attribute trademarkDisapproved.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(id = nil, url = nil, displayUrl = nil, approvalStatus = nil, disapprovalReasons = [], trademarkDisapproved = nil, ad_Type = nil) ⇒ Ad
constructor
A new instance of Ad.
Constructor Details
#initialize(id = nil, url = nil, displayUrl = nil, approvalStatus = nil, disapprovalReasons = [], trademarkDisapproved = nil, ad_Type = nil) ⇒ Ad
Returns a new instance of Ad.
1823 1824 1825 1826 1827 1828 1829 1830 1831 |
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1823 def initialize(id = nil, url = nil, displayUrl = nil, approvalStatus = nil, disapprovalReasons = [], trademarkDisapproved = nil, ad_Type = nil) @id = id @url = url @displayUrl = displayUrl @approvalStatus = approvalStatus @disapprovalReasons = disapprovalReasons @trademarkDisapproved = trademarkDisapproved @ad_Type = ad_Type end |
Instance Attribute Details
#ad_Type ⇒ Object
Returns the value of attribute ad_Type.
1821 1822 1823 |
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1821 def ad_Type @ad_Type end |
#approvalStatus ⇒ Object
Returns the value of attribute approvalStatus.
1818 1819 1820 |
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1818 def approvalStatus @approvalStatus end |
#disapprovalReasons ⇒ Object
Returns the value of attribute disapprovalReasons.
1819 1820 1821 |
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1819 def disapprovalReasons @disapprovalReasons end |
#displayUrl ⇒ Object
Returns the value of attribute displayUrl.
1817 1818 1819 |
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1817 def displayUrl @displayUrl end |
#id ⇒ Object
Returns the value of attribute id.
1815 1816 1817 |
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1815 def id @id end |
#trademarkDisapproved ⇒ Object
Returns the value of attribute trademarkDisapproved.
1820 1821 1822 |
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1820 def trademarkDisapproved @trademarkDisapproved end |
#url ⇒ Object
Returns the value of attribute url.
1816 1817 1818 |
# File 'lib/adwords4r/v201008/AdGroupAdService.rb', line 1816 def url @url end |