Chú ý: Bạn đang xem tài liệu về giao diện REST của API. Hầu hết các thư viện ứng dụng chính thức của chúng tôi đều sử dụng gRPC. Hãy xem
Giới thiệu về REST để biết chi tiết.
AssetSetAssetOperation
Một thao tác (tạo, xoá) trên một thành phần nhóm thành phần.
Biểu diễn dưới dạng 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 .
} |
Trường |
Trường kết hợp operation . Thao tác thay đổi. operation chỉ có thể là một trong những trạng thái sau đây: |
create |
object (AssetSetAsset )
Thao tác tạo: Dự kiến sẽ không có tên tài nguyên cho thành phần nhóm thành phần mới
|
remove |
string
Thao tác xoá: Tên tài nguyên cho thành phần nhóm thành phần đã xoá, theo định dạng sau: customers/{customerId}/assetSetAssets/{asset_set_id}~{asset_id}
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-09-12 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]