Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAdImageAsset

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

An image asset used inside an ad.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#assetString

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

Returns:

  • (String)


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