Method: accounts.accountLinks.create
إنشاء رابط حساب جديد بين حساب على "مركز إدارة معلومات الفنادق" وحساب على "إعلانات Google".
طلب HTTP
POST https://travelpartner.googleapis.com/v3/{parent=accounts/*}/accountLinks
يستخدم عنوان URL بنية gRPC Transcoding.
معلّمات المسار
المَعلمات |
parent |
string
اسم المورد لحساب "مركز إدارة معلومات الفنادق" المطلوب البحث عنه. التنسيق هو 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."]]],[]]