注意:您正在查看 API 的 REST 接口的文档。我们的大多数官方客户端库都使用 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}
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-12。
[null,null,["最后更新时间 (UTC):2024-09-12。"],[[["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"]]