Class: BingAdsApi::Ad
- Inherits:
-
DataObject
- Object
- DataObject
- BingAdsApi::Ad
- Includes:
- AdEditorialStatus, AdStatus, AdType
- Defined in:
- lib/bing-ads-api/data/ad.rb
Overview
Public : Defines the base object of an ad. Do not instantiate this object. Instead you can instantiate the BingAdsApi::TextAd, BingAdsApi::MobileAd, or BingAdsApi::ProductAd object that derives from this object.
Reference: msdn.microsoft.com/en-US/library/bing-ads-campaign-management-ad.aspx
- Author
Instance Attribute Summary collapse
-
#device_preference ⇒ Object
Returns the value of attribute device_preference.
-
#editorial_status ⇒ Object
Returns the value of attribute editorial_status.
-
#id ⇒ Object
Returns the value of attribute id.
-
#status ⇒ Object
Returns the value of attribute status.
-
#type ⇒ Object
Returns the value of attribute type.
Method Summary
Methods inherited from DataObject
Methods included from SOAPHasheable
#date_to_hash, #get_attribute_key, #normalize_hash_keys, #object_to_hash, #to_hash
Constructor Details
This class inherits a constructor from BingAdsApi::DataObject
Instance Attribute Details
#device_preference ⇒ Object
Returns the value of attribute device_preference.
21 22 23 |
# File 'lib/bing-ads-api/data/ad.rb', line 21 def device_preference @device_preference end |
#editorial_status ⇒ Object
Returns the value of attribute editorial_status.
21 22 23 |
# File 'lib/bing-ads-api/data/ad.rb', line 21 def editorial_status @editorial_status end |
#id ⇒ Object
Returns the value of attribute id.
21 22 23 |
# File 'lib/bing-ads-api/data/ad.rb', line 21 def id @id end |
#status ⇒ Object
Returns the value of attribute status.
21 22 23 |
# File 'lib/bing-ads-api/data/ad.rb', line 21 def status @status end |
#type ⇒ Object
Returns the value of attribute type.
21 22 23 |
# File 'lib/bing-ads-api/data/ad.rb', line 21 def type @type end |