Внимание! Вы просматриваете документацию по интерфейсу REST API. Большинство наших официальных клиентских библиотек используют gRPC. Подробнее см. в разделе
Введение в REST .
AssetSetAssetOperation
Одна операция (создание, удаление) над активом набора активов.
JSON-представление |
---|
{
// 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 .
} |
Поля |
---|
Полевая operation Союза. Операция мутации. operation может быть только одной из следующих: |
create | object ( AssetSetAsset ) Операция создания: для нового актива набора активов не ожидается имя ресурса. |
remove | string Операция удаления: ожидается имя ресурса для удаленного актива набора активов в следующем формате: customers/{customerId}/assetSetAssets/{asset_set_id}~{asset_id} |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-01-15 UTC.
[null,null,["Последнее обновление: 2025-01-15 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"]]