Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the
REST Introduction for details.
AssetSetAssetOperation
A single operation (create, remove) on an asset set asset.
JSON representation |
{
// Union field operation can be only one of the following:
"create": {
object (AssetSetAsset )
},
"remove": string
// End of list of possible types for union field operation .
} |
Fields |
Union field operation . The mutate operation. operation can be only one of the following: |
create |
object (AssetSetAsset )
Create operation: No resource name is expected for the new asset set asset
|
remove |
string
Remove operation: A resource name for the removed asset set asset is expected, in this format: customers/{customerId}/assetSetAssets/{asset_set_id}~{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-05-29 UTC.
[null,null,["Last updated 2024-05-29 UTC."],[[["This document outlines the JSON structure for managing asset set assets within Google Ads."],["Operations include creating new asset set assets or removing existing ones."],["Creating an asset set asset requires providing asset set asset details in the JSON payload."],["Removing an asset set asset requires specifying the resource name of the asset set asset to be removed."],["The JSON structure uses a union field 'operation' to indicate whether to create or remove an asset set asset."]]],["The core content details actions for managing asset set assets. The `operation` field dictates the action, which can be either `create` or `remove`. `create` adds a new asset set asset, requiring an object. `remove` deletes an existing asset set asset, and requires a resource name string in the format `customers/{customerId}/assetSetAssets/{asset_set_id}~{asset_id}`. Only one of these operations can be active at a time.\n"]]