Method: accounts.accountLinks.create
ייצור קישור חדש בין חשבון Hotel Center לבין חשבון Google Ads.
בקשת HTTP
POST https://travelpartner.googleapis.com/v3/{parent=accounts/*}/accountLinks
כתובת ה-URL כוללת תחביר gRPC קידוד מחדש.
פרמטרים של נתיב
פרמטרים |
parent |
string
שם המשאב של חשבון Hotel Center שאליו נשלחת שאילתה. הפורמט הוא accounts/{account_id} .
|
גוף הבקשה
גוף הבקשה מכיל מופע של AccountLink
.
גוף התגובה
אם התגובה מוצלחת, גוף התגובה מכיל מופע חדש של AccountLink
.
היקפי הרשאה
יש צורך בהיקף OAuth הבא:
https://www.googleapis.com/auth/travelpartner
למידע נוסף, אפשר לעיין בסקירה הכללית על OAuth 2.0.
כל הזכויות שמורות. Java הוא סימן מסחרי רשום של Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2022-08-23 (שעון UTC).
[null,null,["עדכון אחרון: 2022-08-23 (שעון UTC)."],[[["Creates a new account link between a Hotel Center account and a Google Ads account using an HTTP POST request."],["The request should be sent to the URL `https://travelpartner.googleapis.com/v3/{parent=accounts/*}/accountLinks` with the Hotel Center account ID specified in the path parameter."],["The request body should contain an `AccountLink` object defining the link details."],["A successful response will return the newly created `AccountLink` object."],["Authorization requires the `https://www.googleapis.com/auth/travelpartner` OAuth scope."]]],[]]