Method: customers.customerUserAccessInvitations.mutate

สร้างหรือนําคําเชิญให้เข้าถึงออก

รายการข้อผิดพลาดที่เกิดขึ้น: AccessInvitationError AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

คำขอ HTTP

POST https://googleads.googleapis.com/v14/customers/{customerId}/customerUserAccessInvitations:mutate

URL ใช้ไวยากรณ์การแปลง gRPC

พารามิเตอร์เส้นทาง

พารามิเตอร์
customerId

string

ต้องระบุ รหัสของลูกค้าที่คำเชิญการเข้าถึงกำลังได้รับการแก้ไข

เนื้อหาของคำขอ

เนื้อหาของคำขอมีข้อมูลที่มีโครงสร้างต่อไปนี้

การแสดง JSON
{
  "operation": {
    object (CustomerUserAccessInvitationOperation)
  }
}
ช่อง
operation

object (CustomerUserAccessInvitationOperation)

ต้องระบุ การดำเนินการที่ดำเนินการกับคำเชิญให้เข้าถึง

เนื้อหาการตอบกลับ

ข้อความตอบกลับสำหรับการเปลี่ยนแปลงคำเชิญการเข้าถึง

หากทำสำเร็จ เนื้อหาการตอบกลับจะมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้

การแสดง JSON
{
  "result": {
    object (MutateCustomerUserAccessInvitationResult)
  }
}
ช่อง
result

object (MutateCustomerUserAccessInvitationResult)

ผลลัพธ์ของการเปลี่ยนแปลง

ขอบเขตการให้สิทธิ์

ต้องใช้ขอบเขต OAuth ต่อไปนี้

  • https://www.googleapis.com/auth/adwords

ดูข้อมูลเพิ่มเติมได้ที่ภาพรวมของ OAuth 2.0

CustomerUserAccessInvitationOperation

การดำเนินการเดียว (สร้างหรือนำออก) กับคำเชิญการเข้าถึงของผู้ใช้ของลูกค้า

การแสดง JSON
{

  // Union field operation can be only one of the following:
  "create": {
    object (CustomerUserAccessInvitation)
  },
  "remove": string
  // End of list of possible types for union field operation.
}
ช่อง
ฟิลด์การรวม operation การดำเนินการเปลี่ยนแปลง operation ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้เท่านั้น
create

object (CustomerUserAccessInvitation)

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

remove

string

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

customers/{customerId}/customerUserAccessInvitations/{invitationId}

MutateCustomerUserAccessInvitationResult

ผลลัพธ์สำหรับคำเชิญการเข้าถึงเปลี่ยนแปลง

การแสดง JSON
{
  "resourceName": string
}
ช่อง
resourceName

string

แสดงผลสำหรับการดำเนินการที่ประสบความสำเร็จ