Interested in sharing your feedback about the Google Ads API?
Sign up to be invited to participate in user research!
CustomerAssetOperation
A single operation (create, update, remove) on a customer asset.
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
|
CustomerAsset
Create operation: No resource name is expected for the new customer asset.
|
update
|
CustomerAsset
Update operation: The customer asset is expected to have a valid resource name.
|
remove
|
string
Remove operation: A resource name for the removed customer asset is expected, in this format: customers/{customer_id}/customerAssets/{asset_id}~{field_type}
|
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 2025-02-25 UTC.
[null,null,["Last updated 2025-02-25 UTC."],[[["MutateCustomerAsset service enables single operations (create, update, or remove) on a customer asset."],["Operations are specified using the `operation` field, which can be `create`, `update`, or `remove`."],["`update_mask` is used to specify fields to be modified during updates."],["Resource names are required for `update` and `remove` operations, following a specific format."]]],["The content details a single operation on a customer asset, which can be a create, update, or remove action. For updates, a `FieldMask` specifies which resource fields are modified. Creation operations do not require a resource name, whereas updates need a valid resource name. Removal operations expect a resource name in the format `customers/{customer_id}/customerAssets/{asset_id}~{field_type}`. Each operation corresponds to a specific `CustomerAsset` object or, in the case of removal, a string representing the resource name.\n"]]