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}