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-10-12 UTC.
[null,null,["Last updated 2024-10-12 UTC."],[[["Create various asset types including YoutubeVideoAsset, MediaBundleAsset, ImageAsset, LeadFormAsset, LocationAsset, and ImageAsset with a single operation."],["TextAsset can be created independently or within an Ad."],["Use the `create` operation to generate a new asset without specifying a resource name."],["Utilize the `update` operation to modify an existing asset using its resource name, following the format `customers/{customer_id}/assets/{asset_id}`."],["Specify the fields to be modified during an update operation with the `update_mask`."]]],[]]