Uwaga: przeglądasz dokumentację interfejsu REST interfejsu API. Większość oficjalnych bibliotek klienta używa gRPC. Więcej informacji znajdziesz we
wprowadzeniu do REST.
AssetSetAssetOperation
Pojedyncza operacja (tworzenie i usuwanie) na zasobie zestawu zasobów.
Zapis 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 .
} |
Pola |
Pole sumy operation . Operacja przekształcania. operation może być tylko jednym z tych elementów: |
create |
object (AssetSetAsset )
Operacja tworzenia: nie oczekuje się nazwy zasobu dla nowego zasobu zestawu zasobów
|
remove |
string
Operacja usuwania – oczekiwana jest nazwa zasobu usuniętego zestawu zasobów w tym formacie: customers/{customerId}/assetSetAssets/{asset_set_id}~{asset_id}
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-09-12 UTC.
[null,null,["Ostatnia aktualizacja: 2024-09-12 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"]]