Class: AdWords::V200909::AdGroupAdService::Ad
- Inherits:
-
Object
- Object
- AdWords::V200909::AdGroupAdService::Ad
- Defined in:
- lib/adwords4r/v200909/AdGroupAdService.rb
Overview
Ad
-
id - SOAP::SOAPLong
-
url - SOAP::SOAPString
-
displayUrl - SOAP::SOAPString
-
approvalStatus - AdWords::V200909::AdGroupAdService::AdApprovalStatus
-
disapprovalReasons - SOAP::SOAPString
-
ad_Type - SOAP::SOAPString
Direct Known Subclasses
DeprecatedAd, ImageAd, LocalBusinessAd, MobileAd, MobileImageAd, 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.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(id = nil, url = nil, displayUrl = nil, approvalStatus = nil, disapprovalReasons = [], ad_Type = nil) ⇒ Ad
constructor
A new instance of Ad.
Constructor Details
#initialize(id = nil, url = nil, displayUrl = nil, approvalStatus = nil, disapprovalReasons = [], ad_Type = nil) ⇒ Ad
Returns a new instance of Ad.
1655 1656 1657 1658 1659 1660 1661 1662 |
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1655 def initialize(id = nil, url = nil, displayUrl = nil, approvalStatus = nil, disapprovalReasons = [], ad_Type = nil) @id = id @url = url @displayUrl = displayUrl @approvalStatus = approvalStatus @disapprovalReasons = disapprovalReasons @ad_Type = ad_Type end |
Instance Attribute Details
#ad_Type ⇒ Object
Returns the value of attribute ad_Type.
1653 1654 1655 |
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1653 def ad_Type @ad_Type end |
#approvalStatus ⇒ Object
Returns the value of attribute approvalStatus.
1651 1652 1653 |
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1651 def approvalStatus @approvalStatus end |
#disapprovalReasons ⇒ Object
Returns the value of attribute disapprovalReasons.
1652 1653 1654 |
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1652 def disapprovalReasons @disapprovalReasons end |
#displayUrl ⇒ Object
Returns the value of attribute displayUrl.
1650 1651 1652 |
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1650 def displayUrl @displayUrl end |
#id ⇒ Object
Returns the value of attribute id.
1648 1649 1650 |
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1648 def id @id end |
#url ⇒ Object
Returns the value of attribute url.
1649 1650 1651 |
# File 'lib/adwords4r/v200909/AdGroupAdService.rb', line 1649 def url @url end |