Method: customers.customerClientLinks.mutate

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

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

בקשת HTTP

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

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

ייצוג 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

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