Method: customers.customerUserAccessInvitations.mutate

יצירה או הסרה של הזמנת גישה.

רשימה של שגיאות הטמעה: AccessInvitationError AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

בקשת HTTP

POST https://googleads.googleapis.com/v15/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

הוחזר בגלל פעולות שבוצעו בהצלחה.