Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAdImageAsset
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAdImageAsset
- 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
An image asset used inside an ad.
Instance Attribute Summary collapse
-
#asset ⇒ String
The Asset resource name of this image.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonAdImageAsset
constructor
A new instance of GoogleAdsSearchads360V23CommonAdImageAsset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonAdImageAsset
Returns a new instance of GoogleAdsSearchads360V23CommonAdImageAsset.
790 791 792 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 790 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asset ⇒ String
The Asset resource name of this image.
Corresponds to the JSON property asset
788 789 790 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 788 def asset @asset end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
795 796 797 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 795 def update!(**args) @asset = args[:asset] if args.key?(:asset) end |