Method: accounts.accountLinks.create
Hotel Center खाते और Google Ads खाते के बीच खाते का नया लिंक बनाता है.
एचटीटीपी अनुरोध
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 (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."]]],[]]