Method: customers.customerClientLinks.mutate

יצירה או עדכון של קישור ללקוח. הסטטוסים של הפעולות מוחזרים.

רשימת שגיאות שקרו: AuthenticationError AuthorizationError DatabaseError FieldError FieldMaskError HeaderError InternalError ManagerLinkError MutateError NewResourceCreationError QuotaErrorRequestError

בקשת HTTP

POST https://googleads.googleapis.com/v16/customers/{customerId}/customerClientLinks:mutate

בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.

פרמטרים של נתיב

פרמטרים
customerId

string

חובה. המזהה של הלקוח שרוצים לשנות את הקישור שלו.

גוף הבקשה

גוף הבקשה מכיל נתונים במבנה הבא:

ייצוג JSON
{
  "operation": {
    object (CustomerClientLinkOperation)
  },
  "validateOnly": boolean
}
שדות
operation

object (CustomerClientLinkOperation)

חובה. הפעולה שצריך לבצע ב-CustomerClientLink מסוים.

validateOnly

boolean

אם הערך הוא True, הבקשה מאומתת אבל לא מבוצעת. רק שגיאות מוחזרות, לא תוצאות.

גוף התשובה

הודעת תגובה לשינוי של CustomerClientLink.

אם הפעולה בוצעה ללא שגיאות, גוף התשובה מכיל נתונים במבנה הבא:

ייצוג JSON
{
  "result": {
    object (MutateCustomerClientLinkResult)
  }
}
שדות
result

object (MutateCustomerClientLinkResult)

תוצאה שמזהה את המשאב שמושפע מבקשת השינוי.

היקפי הרשאות

נדרש היקף ההרשאות הבא של OAuth:

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

למידע נוסף, עיינו בסקירה הכללית על OAuth 2.0.

CustomerClientLinkOperation

פעולה יחידה (יצירה, עדכון) ב-CustomerClientLink.

ייצוג JSON
{
  "updateMask": string,

  // Union field operation can be only one of the following:
  "create": {
    object (CustomerClientLink)
  },
  "update": {
    object (CustomerClientLink)
  }
  // End of list of possible types for union field operation.
}
שדות
updateMask

string (FieldMask format)

FieldMask קובעת אילו שדות משאבים ישונו בעדכון.

זוהי רשימה מופרדת בפסיקים של שמות מלאים של שדות. דוגמה: "user.displayName,photo"

שדה איחוד operation. פעולת השינוי. operation יכול להיות רק אחד מהבאים:
create

object (CustomerClientLink)

פעולת יצירה: לא נדרש שם משאב לקישור החדש.

update

object (CustomerClientLink)

פעולת עדכון: אמור להיות לקישור שם משאב חוקי.

MutateCustomerClientLinkResult

התוצאה של שינוי בקישור ללקוח יחיד.

ייצוג JSON
{
  "resourceName": string
}
שדות
resourceName

string

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