CampaignOperation

การดำเนินการเดียว (สร้าง อัปเดต นำออก) ในแคมเปญ

การแสดง JSON
{
  "updateMask": string,

  // Union field operation can be only one of the following:
  "create": {
    object (Campaign)
  },
  "update": {
    object (Campaign)
  },
  "remove": string
  // End of list of possible types for union field operation.
}
ช่อง
updateMask

string (FieldMask format)

FieldMask ที่กำหนดว่าจะมีการแก้ไขฟิลด์ทรัพยากรใดในการอัปเดต

ซึ่งเป็นรายการชื่อฟิลด์ที่คั่นด้วยคอมมา ตัวอย่าง: "user.displayName,photo"

ฟิลด์การรวม operation การดำเนินการเปลี่ยนแปลง operation ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้
create

object (Campaign)

การดำเนินการสร้าง: ไม่มีชื่อทรัพยากรสำหรับแคมเปญใหม่

update

object (Campaign)

การดำเนินการอัปเดต: แคมเปญควรมีชื่อทรัพยากรที่ถูกต้อง

remove

string

การดำเนินการนำออก: ชื่อทรัพยากรสำหรับแคมเปญที่ถูกนำออกควรอยู่ในรูปแบบนี้

customers/{customerId}/campaigns/{campaignId}