Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonDisplayUploadAdInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonDisplayUploadAdInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb
Overview
A generic type of display ad. The exact ad format is controlled by the
display_upload_product_type field, which determines what kinds of data need
to be included with the ad.
Instance Attribute Summary collapse
-
#display_upload_product_type ⇒ String
The product type of this ad.
-
#media_bundle ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAdMediaBundleAsset
A media bundle asset used inside an ad.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonDisplayUploadAdInfo
constructor
A new instance of GoogleAdsSearchads360V23CommonDisplayUploadAdInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonDisplayUploadAdInfo
Returns a new instance of GoogleAdsSearchads360V23CommonDisplayUploadAdInfo.
3903 3904 3905 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3903 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_upload_product_type ⇒ String
The product type of this ad. See comments on the enum for details.
Corresponds to the JSON property displayUploadProductType
3896 3897 3898 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3896 def display_upload_product_type @display_upload_product_type end |
#media_bundle ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAdMediaBundleAsset
A media bundle asset used inside an ad.
Corresponds to the JSON property mediaBundle
3901 3902 3903 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3901 def media_bundle @media_bundle end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3908 3909 3910 3911 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3908 def update!(**args) @display_upload_product_type = args[:display_upload_product_type] if args.key?(:display_upload_product_type) @media_bundle = args[:media_bundle] if args.key?(:media_bundle) end |