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."],[[["Create assets such as YoutubeVideoAsset, MediaBundleAsset, ImageAsset, LeadFormAsset, LocationAsset, and ImageAsset with a single operation."],["TextAsset can be created independently or with an Ad."],["The `create` operation requires no resource name, while the `update` operation expects a valid resource name."],["Utilize the `update_mask` to specify resource fields to be modified during an update."]]],[]]