Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAdVideoAsset

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 video asset used inside an ad.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonAdVideoAsset

Returns a new instance of GoogleAdsSearchads360V23CommonAdVideoAsset.



926
927
928
# File 'lib/google/apis/searchads360_v23/classes.rb', line 926

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

Instance Attribute Details

#ad_video_asset_infoGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAdVideoAssetInfo

Contains info fields for AdVideoAssets. Corresponds to the JSON property adVideoAssetInfo



919
920
921
# File 'lib/google/apis/searchads360_v23/classes.rb', line 919

def ad_video_asset_info
  @ad_video_asset_info
end

#assetString

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

Returns:

  • (String)


924
925
926
# File 'lib/google/apis/searchads360_v23/classes.rb', line 924

def asset
  @asset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



931
932
933
934
# File 'lib/google/apis/searchads360_v23/classes.rb', line 931

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