ข้อควรระวัง: คุณกําลังดูเอกสารประกอบสําหรับอินเทอร์เฟซ REST ของ API ไลบรารีของไคลเอ็นต์อย่างเป็นทางการส่วนใหญ่ของเราใช้ gRPC โปรดดูรายละเอียดใน
บทนํา REST
UserListOperation
การดำเนินการเดียว (สร้าง อัปเดต) ในรายชื่อผู้ใช้
การแสดง JSON |
{
"updateMask": string,
// Union field operation can be only one of the following:
"create": {
object (UserList )
},
"update": {
object (UserList )
},
"remove": string
// End of list of possible types for union field operation .
} |
ช่อง |
updateMask |
string (FieldMask format)
FieldMask ที่กําหนดว่าฟิลด์ทรัพยากรใดจะได้รับการแก้ไขในการอัปเดต ซึ่งเป็นรายการชื่อฟิลด์ที่สมบูรณ์ในตัวเองที่คั่นด้วยคอมมา ตัวอย่าง: "user.displayName,photo"
|
ฟิลด์สหภาพ operation การดำเนินการเปลี่ยนแปลง operation ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้เท่านั้น |
create |
object (UserList )
การดำเนินการสร้าง: ไม่ควรมีชื่อทรัพยากรสำหรับรายการผู้ใช้ใหม่
|
update |
object (UserList )
การดำเนินการอัปเดต: รายชื่อผู้ใช้ควรมีชื่อทรัพยากรที่ถูกต้อง
|
remove |
string
การดำเนินการนำออก: ต้องมีชื่อทรัพยากรสำหรับรายชื่อผู้ใช้ที่ถูกนำออกในรูปแบบนี้ customers/{customerId}/userLists/{userListId}
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-03-07 UTC
[null,null,["อัปเดตล่าสุด 2025-03-07 UTC"],[[["This operation handles creating, updating, or removing a user list within Google Ads."],["It utilizes a JSON payload with an `operation` field specifying the action type and providing relevant data."],["The `updateMask` field allows for selective modification of user list attributes during updates."],["`create` operations require user list details without a resource name, while `update` operations necessitate an existing resource name."],["`remove` operations solely need the user list's resource name for deletion."]]],[]]