تتضمّن واجهة برمجة التطبيقات
لأداء الأعمال في Google طريقة واجهة برمجة تطبيقات
جديدة تتيح جلب عدة "مقاييس يومية" في طلب واحد لواجهة برمجة التطبيقات.
يُرجى مراجعة
الجدول الزمني للإيقاف وتعليمات نقل البيانات من طريقة v4 reportInsights API إلى واجهة برمجة التطبيقات الخاصة بأداء "الملف التجاري على Google".
My Business Lodging API
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تتيح "واجهة برمجة تطبيقات مكان الإقامة لنشاطي التجاري" إدارة معلومات أماكن الإقامة على Google.
ملاحظة: إذا كانت لديك حصة 0 بعد تفعيل واجهة برمجة التطبيقات، يُرجى طلب الدخول إلى واجهة برمجة تطبيقات "الملف التجاري على Google".
الخدمة: mybusinesslodging.googleapis.com
للاتصال بهذه الخدمة، ننصحك باستخدام مكتبات العملاء التي توفّرها Google. إذا كان تطبيقك يحتاج إلى استخدام مكتباتك الخاصة لاستدعاء هذه الخدمة، فاستخدم المعلومات التالية عند تقديم طلبات واجهة برمجة التطبيقات.
مستند "اقتراحات"
مستند الاستكشاف هو مواصفات يمكن للآلة قراءتها لوصف واجهات برمجة تطبيقات REST واستخدامها. ويتم استخدامه لإنشاء مكتبات للعملاء ومكوّنات IDE وأدوات أخرى تتفاعل مع Google APIs. قد توفّر خدمة واحدة مستندات اكتشاف متعددة. توفّر هذه الخدمة مستند الاستكشاف التالي:
نقطة نهاية الخدمة
نقطة نهاية الخدمة هي عنوان URL أساسي يحدد عنوان الشبكة لخدمة واجهة برمجة التطبيقات. قد تتضمن خدمة واحدة نقاط نهاية متعددة للخدمة. تحتوي هذه الخدمة على نقطة نهاية الخدمة التالية وجميع معرّفات الموارد المنتظمة (URI) التالية مرتبطة بنقطة نهاية الخدمة هذه:
https://mybusinesslodging.googleapis.com
الطُرق |
getLodging |
GET /v1/{name=locations/*/lodging}
تعرض مكان الإقامة في موقع جغرافي معيّن. |
updateLodging |
PATCH /v1/{lodging.name=locations/*/lodging}
يؤدي هذا الخيار إلى تعديل مكان الإقامة في موقع جغرافي محدّد. |
الطُرق |
getGoogleUpdated |
GET /v1/{name=locations/*/lodging}:getGoogleUpdated
عرض مكان الإقامة المعدّل من قِبل Google لموقع جغرافي معيّن. |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThe My Business Lodging API allows management of lodging business information on Google.\u003c/p\u003e\n"],["\u003cp\u003eYou may need to request access to the GBP API if your quota is 0 after enabling the API.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries are recommended for using this service, but the discovery document and service endpoint are provided for custom integrations.\u003c/p\u003e\n"],["\u003cp\u003eThe API provides methods to retrieve and update lodging information for specific locations, including Google's updates.\u003c/p\u003e\n"]]],["The My Business Lodging API manages lodging business data on Google, accessible via `mybusinesslodging.googleapis.com`. It provides two REST resources: `v1.locations` and `v1.locations.lodging`. `v1.locations` allows retrieving (`getLodging`) and updating (`updateLodging`) a specific location's lodging data. `v1.locations.lodging` permits retrieval of Google's updated lodging information (`getGoogleUpdated`). Access may require requesting GBP API access if the initial quota is zero. Client libraries are recommended; a discovery document is available for custom implementations.\n"],null,["# My Business Lodging API\n\nThe My Business Lodging API enables managing lodging business information on Google. \n\nNote - If you have a quota of 0 after enabling the API, please [request](https://developers.google.com/my-business/content/prereqs#request-access) for GBP API access.\n\n- [REST Resource: v1.locations](#v1.locations)\n- [REST Resource: v1.locations.lodging](#v1.locations.lodging)\n\nService: mybusinesslodging.googleapis.com\n-----------------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://mybusinesslodging.googleapis.com/$discovery/rest?version=v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://mybusinesslodging.googleapis.com`\n\nREST Resource: [v1.locations](/my-business/reference/lodging/rest/v1/locations)\n-------------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------|\n| [getLodging](/my-business/reference/lodging/rest/v1/locations/getLodging) | `GET /v1/{name=locations/*/lodging}` Returns the Lodging of a specific location. |\n| [updateLodging](/my-business/reference/lodging/rest/v1/locations/updateLodging) | `PATCH /v1/{lodging.name=locations/*/lodging}` Updates the Lodging of a specific location. |\n\nREST Resource: [v1.locations.lodging](/my-business/reference/lodging/rest/v1/locations.lodging)\n-----------------------------------------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|\n| [getGoogleUpdated](/my-business/reference/lodging/rest/v1/locations.lodging/getGoogleUpdated) | `GET /v1/{name=locations/*/lodging}:getGoogleUpdated` Returns the Google updated Lodging of a specific location. |"]]