AdGroupAdOperation

廣告群組廣告的一項作業 (建立、更新、移除)。

JSON 表示法
{
  "updateMask": string,
  "policyValidationParameter": {
    object (PolicyValidationParameter)
  },

  // Union field operation can be only one of the following:
  "create": {
    object (AdGroupAd)
  },
  "update": {
    object (AdGroupAd)
  },
  "remove": string
  // End of list of possible types for union field operation.
}
欄位
updateMask

string (FieldMask format)

用來決定更新中修改的資源欄位的 FieldMask。

這是以逗號分隔的完整欄位名稱清單。範例:"user.displayName,photo"

policyValidationParameter

object (PolicyValidationParameter)

政策驗證方式的設定。

聯集欄位 operation。變動作業。operation 只能是下列其中一項:
create

object (AdGroupAd)

建立作業:新廣告不需要資源名稱。

update

object (AdGroupAd)

更新作業:廣告應具備有效的資源名稱。

remove

string

移除作業:應該會顯示已移除廣告的資源名稱,格式如下:

customers/{customerId}/adGroupAds/{adGroupId}~{ad_id}