ข้อควรระวัง: คุณกําลังดูเอกสารประกอบสําหรับอินเทอร์เฟซ REST ของ API ไลบรารีของไคลเอ็นต์อย่างเป็นทางการส่วนใหญ่ของเราใช้ gRPC โปรดดูรายละเอียดใน
บทนํา REST
SharedSetOperation
การดำเนินการเดียว (สร้าง อัปเดต นำออก) ในชุดที่แชร์
การแสดง JSON |
{
"updateMask": string,
// Union field operation can be only one of the following:
"create": {
object (SharedSet )
},
"update": {
object (SharedSet )
},
"remove": string
// End of list of possible types for union field operation .
} |
ช่อง |
updateMask |
string (FieldMask format)
FieldMask ที่ระบุว่าช่องทรัพยากรใดที่มีการแก้ไขในการอัปเดต ซึ่งเป็นรายการชื่อที่ตรงตามเกณฑ์ทั้งหมดของช่องที่คั่นด้วยคอมมา ตัวอย่าง: "user.displayName,photo"
|
ช่องการรวม operation การดำเนินการเปลี่ยนแปลง operation ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้ |
create |
object (SharedSet )
การดำเนินการสร้าง: ต้องไม่มีชื่อทรัพยากรสำหรับชุดที่แชร์ใหม่
|
update |
object (SharedSet )
การดำเนินการอัปเดต: ชุดที่แชร์ควรมีชื่อทรัพยากรที่ถูกต้อง
|
remove |
string
การดำเนินการนำออก: ควรมีชื่อทรัพยากรสำหรับชุดที่แชร์ซึ่งนำออกในรูปแบบนี้ customers/{customerId}/sharedSets/{shared_set_id}
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-03-06 UTC
[null,null,["อัปเดตล่าสุด 2025-03-06 UTC"],[[["This page documents a single operation (create, update, or remove) on a shared set within Google Ads."],["The operation is represented using a JSON payload containing an `updateMask` and an `operation` field."],["The `operation` field can be one of `create`, `update`, or `remove`, each with specific data requirements detailed in the table."],["Resources can be identified using their resource names, such as `customers/{customerId}/sharedSets/{shared_set_id}` for shared sets."]]],[]]