Method: accounts.accountLinks.create
Hiermit wird eine neue Kontoverknüpfung zwischen einem Hotel Center-Konto und einem Google Ads-Konto erstellt.
HTTP-Request
POST https://travelpartner.googleapis.com/v3/{parent=accounts/*}/accountLinks
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
parent |
string
Der Ressourcenname des abgefragten Hotel Center-Kontos. Das Format dafür ist accounts/{account_id} .
|
Anfragetext
Der Anfragetext enthält eine Instanz von AccountLink
.
Antworttext
Bei Erfolg enthält der Antworttext eine neu erstellte Instanz von AccountLink
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/travelpartner
Weitere Informationen finden Sie unter OAuth 2.0.
Alle Rechte vorbehalten. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2022-08-23 (UTC).
[null,null,["Zuletzt aktualisiert: 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."]]],[]]