Google Business Performance API یک روش API
جدید دارد که امکان واکشی چندین «DailyMetrics» را در یک درخواست API فراهم میکند.
زمانبندی منسوخ شدن و دستورالعملهای انتقال از روش API reportInsights v4 به API عملکرد نمایه کسبوکار Google را مرور کنید.
My Business Q&A API
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
My Business Q&A API اجازه می دهد تا سؤالات و پاسخ ها برای لیست های خاص پست شود.
توجه - اگر پس از فعال کردن API سهمیه 0 دارید، لطفاً برای دسترسی به API GBP درخواست کنید .
خدمات: mybusinessqanda.googleapis.com
برای تماس با این سرویس، توصیه می کنیم از کتابخانه های سرویس گیرنده ارائه شده توسط Google استفاده کنید. اگر برنامه شما نیاز به استفاده از کتابخانه های خود برای فراخوانی این سرویس دارد، هنگام درخواست API از اطلاعات زیر استفاده کنید.
سند کشف
Discovery Document یک ویژگی قابل خواندن توسط ماشین برای توصیف و مصرف API های REST است. از آن برای ساخت کتابخانه های سرویس گیرنده، پلاگین های IDE و سایر ابزارهایی که با Google API در تعامل هستند استفاده می شود. یک سرویس ممکن است چندین سند کشف را ارائه دهد. این سرویس سند کشف زیر را ارائه می دهد:
نقطه پایان خدمات
نقطه پایانی سرویس یک URL پایه است که آدرس شبکه یک سرویس API را مشخص می کند. یک سرویس ممکن است چندین نقطه پایانی سرویس داشته باشد. این سرویس دارای نقطه پایانی سرویس زیر است و همه URI های زیر مربوط به این نقطه پایانی سرویس هستند:
-
https://mybusinessqanda.googleapis.com
مواد و روش ها |
---|
create | POST /v1/{parent=locations/*/questions} یک سوال برای مکان مشخص شده اضافه می کند. |
delete | DELETE /v1/{name=locations/*/questions/*} یک سوال خاص نوشته شده توسط کاربر فعلی را حذف می کند. |
list | GET /v1/{parent=locations/*/questions} فهرست صفحه بندی شده سوالات و برخی از پاسخ های آن را برای یک مکان مشخص برمی گرداند. |
patch | PATCH /v1/{question.name=locations/*/questions/*} یک سوال خاص نوشته شده توسط کاربر فعلی را به روز می کند. |
مواد و روش ها |
---|
delete | DELETE /v1/{name=locations/*/questions/*}/answers:delete پاسخ نوشته شده توسط کاربر فعلی به یک سوال را حذف می کند. |
list | GET /v1/{parent=locations/*/questions/*}/answers لیست صفحه بندی شده پاسخ ها برای یک سوال مشخص را برمی گرداند. |
upsert | POST /v1/{parent=locations/*/questions/*}/answers:upsert پاسخی ایجاد می کند یا پاسخ موجود نوشته شده توسط کاربر برای سوال مشخص شده را به روز می کند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز 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 Q&A API enables posting questions and answers for specific business listings.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage questions and answers programmatically using the API's REST resources.\u003c/p\u003e\n"],["\u003cp\u003eThe API provides methods to create, delete, list, and update questions and answers.\u003c/p\u003e\n"],["\u003cp\u003eTo use this API, you will need to enable it and may require requesting access through Google.\u003c/p\u003e\n"]]],[],null,["# My Business Q&A API\n\nThe My Business Q\\&A API allows questions and answers to be posted for specific listings. \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.questions](#v1.locations.questions)\n- [REST Resource: v1.locations.questions.answers](#v1.locations.questions.answers)\n\nService: mybusinessqanda.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://mybusinessqanda.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://mybusinessqanda.googleapis.com`\n\nREST Resource: [v1.locations.questions](/my-business/reference/qanda/rest/v1/locations.questions)\n-------------------------------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|\n| [create](/my-business/reference/qanda/rest/v1/locations.questions/create) | `POST /v1/{parent=locations/*/questions}` Adds a question for the specified location. |\n| [delete](/my-business/reference/qanda/rest/v1/locations.questions/delete) | `DELETE /v1/{name=locations/*/questions/*}` Deletes a specific question written by the current user. |\n| [list](/my-business/reference/qanda/rest/v1/locations.questions/list) | `GET /v1/{parent=locations/*/questions}` Returns the paginated list of questions and some of its answers for a specified location. |\n| [patch](/my-business/reference/qanda/rest/v1/locations.questions/patch) | `PATCH /v1/{question.name=locations/*/questions/*}` Updates a specific question written by the current user. |\n\nREST Resource: [v1.locations.questions.answers](/my-business/reference/qanda/rest/v1/locations.questions.answers)\n-----------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [delete](/my-business/reference/qanda/rest/v1/locations.questions.answers/delete) | `DELETE /v1/{name=locations/*/questions/*}/answers:delete` Deletes the answer written by the current user to a question. |\n| [list](/my-business/reference/qanda/rest/v1/locations.questions.answers/list) | `GET /v1/{parent=locations/*/questions/*}/answers` Returns the paginated list of answers for a specified question. |\n| [upsert](/my-business/reference/qanda/rest/v1/locations.questions.answers/upsert) | `POST /v1/{parent=locations/*/questions/*}/answers:upsert` Creates an answer or updates the existing answer written by the user for the specified question. |"]]