Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAdMediaBundleAsset

Inherits:
Object
  • Object
show all
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 media bundle asset used inside an ad.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonAdMediaBundleAsset

Returns a new instance of GoogleAdsSearchads360V23CommonAdMediaBundleAsset.



809
810
811
# File 'lib/google/apis/searchads360_v23/classes.rb', line 809

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#assetString

The Asset resource name of this media bundle. Corresponds to the JSON property asset

Returns:

  • (String)


807
808
809
# File 'lib/google/apis/searchads360_v23/classes.rb', line 807

def asset
  @asset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



814
815
816
# File 'lib/google/apis/searchads360_v23/classes.rb', line 814

def update!(**args)
  @asset = args[:asset] if args.key?(:asset)
end