Method: accounts.accountLinks.create
在 Hotel Center 帐号与 Google Ads 帐号之间创建新帐号关联。
HTTP 请求
POST https://travelpartner.googleapis.com/v3/{parent=accounts/*}/accountLinks
网址采用 gRPC 转码语法。
路径参数
参数 |
parent |
string
要查询的 Hotel Center 帐号的资源名称。格式为 accounts/{account_id} 。
|
请求正文
请求正文包含一个 AccountLink
实例。
响应正文
如果成功,响应正文将包含一个新创建的 AccountLink
实例。
授权范围
需要以下 OAuth 作用域:
https://www.googleapis.com/auth/travelpartner
如需了解详情,请参阅 OAuth 2.0 概览。
保留所有权利。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-08-23。
[null,null,["最后更新时间 (UTC):2022-08-23。"],[[["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."]]],[]]