Method: accounts.accountLinks.create
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 |
string
The resource name of the Hotel Center account being queried. The format is accounts/{account_id} .
|
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.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 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."]]],[]]