Asset

Asset is a part of an ad which can be shared across multiple ads. It can be an image (ImageAsset), a video (YoutubeVideoAsset), etc.

Fields

resource_name

string

Immutable. The resource name of the asset. Asset resource names have the form:

customers/{customer_id}/assets/{asset_id}

id

Int64Value

Output only. The ID of the asset.

name

StringValue

Optional name of the asset.

type

AssetType

Output only. Type of the asset.

Union field

asset_data

asset_data. The specific type of the asset. asset_data can be only one of the following:

youtube_video_asset

YoutubeVideoAsset

Immutable. A YouTube video asset.

media_bundle_asset

MediaBundleAsset

Immutable. A media bundle asset.

image_asset

ImageAsset

Output only. An image asset.

text_asset

TextAsset

Output only. A text asset.

book_on_google_asset

BookOnGoogleAsset

A book on google asset.