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 和/或其關聯企業的註冊商標。
上次更新時間:2022-08-23 (世界標準時間)。
[null,null,["上次更新時間: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."]]],[]]