Method: accounts.accountLinks.create
สร้างลิงก์บัญชีใหม่ระหว่างบัญชี Hotel Center กับบัญชี Google Ads
คำขอ HTTP
POST https://travelpartner.googleapis.com/v3/{parent=accounts/*}/accountLinks
URL ใช้ไวยากรณ์ gRPC Transcoding
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
parent |
string
ชื่อทรัพยากรของบัญชี Hotel Center ที่ค้นหา รูปแบบคือ accounts/{account_id}
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ AccountLink
เนื้อหาการตอบกลับ
หากทําสําเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ AccountLink
ที่สร้างขึ้นใหม่
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/travelpartner
โปรดดูข้อมูลเพิ่มเติมที่หัวข้อภาพรวมของ OAuth 2.0
สงวนลิขสิทธิ์ Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2022-08-23 UTC
[null,null,["อัปเดตล่าสุด 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."]]],[]]