AssetOperation

  • Assets can be created with a single operation and include types such as YoutubeVideoAsset, MediaBundleAsset, ImageAsset, LeadFormAsset, and LocationAsset.

  • TextAsset can be created either inline with an Ad or independently.

  • The operation field determines whether an asset is created or updated.

  • For update operations, the asset requires a valid resource name in a specific format.

A single operation to create an asset. Supported asset types are YoutubeVideoAsset, MediaBundleAsset, ImageAsset, LeadFormAsset, LocationAsset, and ImageAsset. TextAsset can be created with an Ad inline, but it can also be created apart from an Ad like other assets.

Fields

update_mask

FieldMask

FieldMask that determines which resource fields are modified in an update.

Union field

operation

operation. The mutate operation. operation can be only one of the following:

create

Asset

Create operation: No resource name is expected for the new asset.

update

Asset

Update operation: The asset is expected to have a valid resource name in this format:

customers/{customer_id}/assets/{asset_id}