AI-generated Key Takeaways
-
This page details how to create a new account link between a Hotel Center account and a Google Ads account using a POST request.
-
The request uses a specific URL format and includes a
parent
path parameter to identify the Hotel Center account. -
The request body requires an instance of
AccountLink
, and a successful response returns a newAccountLink
instance. -
Authorization for this action requires the
https://www.googleapis.com/auth/travelpartner
OAuth scope.
Creates a new account link between a Hotel Center account and a Google Ads account.
HTTP request
POST https://travelpartner.googleapis.com/v3/{parent=accounts/*}/accountLinks
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
The resource name of the Hotel Center account being queried. The format is |
Request body
The request body contains an instance of AccountLink
.
Response body
If successful, the response body contains a newly created instance of AccountLink
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/travelpartner
For more information, see the OAuth 2.0 Overview.