Method: accounts.accountLinks.create
Utworzy nowe połączenie między kontem Hotel Center i Google Ads.
Żądanie HTTP
POST https://travelpartner.googleapis.com/v3/{parent=accounts/*}/accountLinks
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
parent |
string
Nazwa zasobu konta Hotel Center, którego dotyczy zapytanie. Użyj formatu accounts/{account_id} .
|
Treść żądania
Treść żądania zawiera wystąpienie elementu AccountLink
.
Treść odpowiedzi
Jeśli operacja się uda, treść odpowiedzi będzie zawierała nowo utworzoną instancję AccountLink
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/travelpartner
Więcej informacji znajdziesz w artykule Omówienie OAuth 2.0.
Wszelkie prawa zastrzeżone. Java jest zastrzeżonym znakiem towarowym firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2022-08-23 UTC.
[null,null,["Ostatnia aktualizacja: 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."]]],[]]