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.



986
987
988
# File 'lib/google/apis/searchads360_v23/classes.rb', line 986

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



979
980
981
# File 'lib/google/apis/searchads360_v23/classes.rb', line 979

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)


984
985
986
# File 'lib/google/apis/searchads360_v23/classes.rb', line 984

def asset
  @asset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



991
992
993
994
# File 'lib/google/apis/searchads360_v23/classes.rb', line 991

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