Google Business Performance API یک روش API
جدید دارد که امکان واکشی چندین «DailyMetrics» را در یک درخواست API فراهم میکند.
زمانبندی منسوخ شدن و دستورالعملهای انتقال از روش API reportInsights v4 به API عملکرد نمایه کسبوکار Google را مرور کنید.
My Business Notifications API
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
My Business Notification Settings API مدیریت تنظیمات اعلان را برای حسابهای تجاری فعال میکند.
توجه - اگر پس از فعال کردن API سهمیه 0 دارید، لطفاً درخواست دسترسی GBP API کنید.
خدمات: mybusinessnotifications.googleapis.com
برای تماس با این سرویس، توصیه می کنیم از کتابخانه های سرویس گیرنده ارائه شده توسط Google استفاده کنید. اگر برنامه شما نیاز به استفاده از کتابخانه های خود برای فراخوانی این سرویس دارد، هنگام درخواست API از اطلاعات زیر استفاده کنید.
سند کشف
Discovery Document یک ویژگی قابل خواندن توسط ماشین برای توصیف و مصرف API های REST است. از آن برای ساخت کتابخانه های سرویس گیرنده، پلاگین های IDE و سایر ابزارهایی که با Google API در تعامل هستند استفاده می شود. یک سرویس ممکن است چندین سند کشف را ارائه دهد. این سرویس سند کشف زیر را ارائه می دهد:
نقطه پایان خدمات
نقطه پایانی سرویس یک URL پایه است که آدرس شبکه یک سرویس API را مشخص می کند. یک سرویس ممکن است چندین نقطه پایانی سرویس داشته باشد. این سرویس دارای نقطه پایانی سرویس زیر است و همه URI های زیر مربوط به این نقطه پایانی سرویس هستند:
-
https://mybusinessnotifications.googleapis.com
مواد و روش ها |
---|
getNotificationSetting | GET /v1/{name=accounts/*/notificationSetting} تنظیمات اعلان pubsub را برای حساب بازمی گرداند. |
updateNotificationSetting | PATCH /v1/{notificationSetting.name=accounts/*/notificationSetting} تنظیم اعلان pubsub را برای حساب تنظیم می کند که به Google اطلاع می دهد برای کدام موضوع اعلان های pubsub ارسال کند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز 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 Notification Settings API allows you to manage notification settings for Google Business Profile accounts.\u003c/p\u003e\n"],["\u003cp\u003eYou can use this API to define where Google sends pubsub notifications for your account.\u003c/p\u003e\n"],["\u003cp\u003eThe API provides methods to get and update your notification settings.\u003c/p\u003e\n"],["\u003cp\u003eIf you have a quota of 0 after enabling the API, you will need to request access to the Google Business Profile API.\u003c/p\u003e\n"]]],[],null,["# My Business Notifications API\n\nThe My Business Notification Settings API enables managing notification settings for business accounts. \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.accounts](#v1.accounts)\n\nService: mybusinessnotifications.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://mybusinessnotifications.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://mybusinessnotifications.googleapis.com`\n\nREST Resource: [v1.accounts](/my-business/reference/notifications/rest/v1/accounts)\n-----------------------------------------------------------------------------------\n\n| Methods ||\n|--------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [getNotificationSetting](/my-business/reference/notifications/rest/v1/accounts/getNotificationSetting) | `GET /v1/{name=accounts/*/notificationSetting}` Returns the pubsub notification settings for the account. |\n| [updateNotificationSetting](/my-business/reference/notifications/rest/v1/accounts/updateNotificationSetting) | `PATCH /v1/{notificationSetting.name=accounts/*/notificationSetting}` Sets the pubsub notification setting for the account informing Google which topic to send pubsub notifications for. |"]]