AssetOperation
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}
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-25 UTC.
[null,null,["Last updated 2024-11-25 UTC."],[[["A single operation is used to create a new asset or update an existing one."],["Supported asset types include YoutubeVideoAsset, MediaBundleAsset, ImageAsset, LeadFormAsset, LocationAsset, and ImageAsset, with TextAsset having flexible creation options."],["When updating an asset, a FieldMask is used to specify which fields are modified."],["Creating a new asset doesn't require a resource name, while updating requires a valid resource name in a specific format."]]],[]]