注意:您正在查看 API 的 REST 介面說明文件。我們的官方用戶端程式庫支援 gRPC。詳情請參閱
REST 簡介。
AdParameterOperation
JSON 表示法 |
{
"updateMask": string,
// Union field operation can be only one of the following:
"create": {
object (AdParameter )
},
"update": {
object (AdParameter )
},
"remove": string
// End of list of possible types for union field operation .
} |
欄位 |
updateMask |
string (FieldMask format)
FieldMask,用來判斷更新中要修改的資源欄位。 這是以半形逗號分隔的完整欄位名稱清單。範例:"user.displayName,photo" 。
|
聯集欄位 operation 。更改作業。operation 只能是下列其中一項: |
create |
object (AdParameter )
建立作業:新廣告參數不應使用資源名稱。
|
update |
object (AdParameter )
更新作業:廣告參數必須包含有效的資源名稱。
|
remove |
string
移除作業:需移除廣告參數的資源名稱格式如下: customers/{customerId}/adParameters/{adGroupId}~{criterionId}~{parameterIndex}
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-03-06 (世界標準時間)。
[null,null,["上次更新時間:2025-03-06 (世界標準時間)。"],[[["This page documents a single operation (create, update, or remove) on an ad parameter within Google Ads."],["The operation is represented using a JSON payload containing an `updateMask` and an `operation` field specifying the action and data."],["The `operation` field can be one of `create`, `update`, or `remove`, each with specific data requirements detailed in the table."],["A `create` operation requires an `AdParameter` object without a resource name, while `update` needs a valid resource name within the `AdParameter` object."],["To `remove` an ad parameter, provide its resource name using the format `customers/{customerId}/adParameters/{adGroupId}~{criterionId}~{parameterIndex}`."]]],[]]