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}