- คำขอ HTTP
- พารามิเตอร์เส้นทาง
- เนื้อหาคำขอ
- เนื้อหาการตอบกลับ
- ขอบเขตการให้สิทธิ์
- CustomerUserAccessOperation
- MutateCustomerUserAccessResult
- ลองใช้งาน
การอัปเดตจะนำสิทธิ์ของผู้ใช้ของลูกค้ารายหนึ่งๆ ออก สถานะการดำเนินการจะแสดงขึ้น
รายการข้อผิดพลาด: AuthenticationError AuthorizationError CustomerUserAccessError FieldMaskError HeaderError InternalError MutateError QuotaError RequestError
คำขอ HTTP
POST https://googleads.googleapis.com/v16/customers/{customerId}/customerUserAccesses:mutate
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ | |
---|---|
customerId |
ต้องระบุ รหัสของลูกค้าที่กำลังแก้ไข |
เนื้อหาของคำขอ
เนื้อหาของคำขอมีข้อมูลที่มีโครงสร้างต่อไปนี้
การแสดง JSON |
---|
{
"operation": {
object ( |
ช่อง | |
---|---|
operation |
ต้องระบุ การดำเนินการที่จะดำเนินการกับลูกค้า |
เนื้อหาการตอบกลับ
ข้อความตอบกลับสําหรับการเปลี่ยนแปลงสิทธิ์เข้าถึงของผู้ใช้ของลูกค้า
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้
การแสดง JSON |
---|
{
"result": {
object ( |
ช่อง | |
---|---|
result |
ผลลัพธ์สำหรับการเปลี่ยนแปลง |
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/adwords
สำหรับข้อมูลเพิ่มเติม โปรดดูที่ภาพรวมของ OAuth 2.0
CustomerUserAccessOperation
การดำเนินการเพียงครั้งเดียว (อัปเดต นำออก) สำหรับการเข้าถึงของผู้ใช้ของลูกค้า
การแสดง JSON |
---|
{ "updateMask": string, // Union field |
ช่อง | |
---|---|
updateMask |
FieldMask ที่ระบุว่าช่องทรัพยากรใดที่มีการแก้ไขในการอัปเดต ซึ่งเป็นรายการชื่อที่ตรงตามเกณฑ์ทั้งหมดของช่องที่คั่นด้วยคอมมา ตัวอย่าง: |
ช่องการรวม operation การดำเนินการเปลี่ยนแปลง operation ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้ |
|
update |
การดำเนินการอัปเดต: การเข้าถึงของผู้ใช้ของลูกค้าควรมีชื่อทรัพยากรที่ถูกต้อง |
remove |
การดำเนินการนำออก: ควรมีชื่อทรัพยากรสำหรับการเข้าถึงที่นำออกในรูปแบบดังนี้
|
MutateCustomerUserAccessResult
ผลลัพธ์สำหรับการเปลี่ยนแปลงสิทธิ์เข้าถึงของผู้ใช้ของลูกค้า
การแสดง JSON |
---|
{ "resourceName": string } |
ช่อง | |
---|---|
resourceName |
ส่งกลับสำหรับการดำเนินการที่ประสบความสำเร็จ |