Google Business Performance API یک روش API
جدید دارد که امکان واکشی چندین «DailyMetrics» را در یک درخواست API فراهم میکند.
زمانبندی منسوخ شدن و دستورالعملهای انتقال از روش API reportInsights v4 به API عملکرد نمایه کسبوکار Google را مرور کنید.
My Business Lodging API
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
My Business Lodging API مدیریت اطلاعات کسب و کار محل اقامت در Google را امکان پذیر می کند.
توجه - اگر پس از فعال کردن API سهمیه 0 دارید، لطفاً برای دسترسی به API GBP درخواست کنید .
خدمات: mybusinesslodging.googleapis.com
برای تماس با این سرویس، توصیه می کنیم از کتابخانه های سرویس گیرنده ارائه شده توسط Google استفاده کنید. اگر برنامه شما نیاز به استفاده از کتابخانه های خود برای فراخوانی این سرویس دارد، هنگام درخواست API از اطلاعات زیر استفاده کنید.
سند کشف
Discovery Document یک ویژگی قابل خواندن توسط ماشین برای توصیف و مصرف API های REST است. از آن برای ساخت کتابخانه های سرویس گیرنده، پلاگین های IDE و سایر ابزارهایی که با Google API در تعامل هستند استفاده می شود. یک سرویس ممکن است چندین سند کشف را ارائه دهد. این سرویس سند کشف زیر را ارائه می دهد:
نقطه پایان خدمات
نقطه پایانی سرویس یک URL پایه است که آدرس شبکه یک سرویس API را مشخص می کند. یک سرویس ممکن است چندین نقطه پایانی سرویس داشته باشد. این سرویس دارای نقطه پایانی سرویس زیر است و همه 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 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده 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. |"]]