Google Business Performance API یک روش API
جدید دارد که امکان واکشی چندین «DailyMetrics» را در یک درخواست API فراهم میکند.
زمانبندی منسوخ شدن و دستورالعملهای انتقال از روش API reportInsights v4 به API عملکرد نمایه کسبوکار Google را مرور کنید.
My Business Account Management API
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
My Business Account Management API یک رابط برای مدیریت دسترسی به یک مکان در Google ارائه می دهد.
توجه - اگر پس از فعال کردن API سهمیه 0 دارید، لطفاً برای دسترسی به API GBP درخواست کنید .
خدمات: mybusinessaccountmanagement.googleapis.com
برای تماس با این سرویس، توصیه می کنیم از کتابخانه های سرویس گیرنده ارائه شده توسط Google استفاده کنید. اگر برنامه شما نیاز به استفاده از کتابخانه های خود برای فراخوانی این سرویس دارد، هنگام درخواست API از اطلاعات زیر استفاده کنید.
سند کشف
Discovery Document یک ویژگی قابل خواندن توسط ماشین برای توصیف و مصرف API های REST است. از آن برای ساخت کتابخانه های سرویس گیرنده، پلاگین های IDE و سایر ابزارهایی که با Google API در تعامل هستند استفاده می شود. یک سرویس ممکن است چندین سند کشف را ارائه دهد. این سرویس سند کشف زیر را ارائه می دهد:
نقطه پایان خدمات
نقطه پایانی سرویس یک URL پایه است که آدرس شبکه یک سرویس API را مشخص می کند. یک سرویس ممکن است چندین نقطه پایانی سرویس داشته باشد. این سرویس دارای نقطه پایانی سرویس زیر است و همه URI های زیر مربوط به این نقطه پایانی سرویس هستند:
-
https://mybusinessaccountmanagement.googleapis.com
مواد و روش ها |
---|
create | POST /v1/accounts یک حساب کاربری با نام و نوع مشخص شده در زیر والد داده شده ایجاد می کند. |
get | GET /v1/{name=accounts/*} حساب مشخص شده را دریافت می کند. |
list | GET /v1/accounts همه اکانت ها را برای کاربر احراز هویت شده فهرست می کند. |
patch | PATCH /v1/{account.name=accounts/*} حساب تجاری مشخص شده را به روز می کند. |
مواد و روش ها |
---|
create | POST /v1/{parent=accounts/*}/admins کاربر مشخص شده را دعوت می کند تا مدیر حساب مشخص شده شود. |
delete | DELETE /v1/{name=accounts/*/admins/*} ادمین مشخص شده را از حساب مشخص شده حذف می کند. |
list | GET /v1/{parent=accounts/*}/admins ادمین های حساب مشخص شده را لیست می کند. |
patch | PATCH /v1/{accountAdmin.name=accounts/*/admins/*} Admin را برای مدیریت حساب مشخص شده به روز می کند. |
مواد و روش ها |
---|
accept | POST /v1/{name=accounts/*/invitations/*}:accept دعوت مشخص شده را می پذیرد. |
decline | POST /v1/{name=accounts/*/invitations/*}:decline دعوت مشخص شده را رد می کند. |
list | GET /v1/{parent=accounts/*}/invitations دعوتنامههای معلق را برای حساب مشخصشده فهرست میکند. |
مواد و روش ها |
---|
transfer | POST /v1/{name=locations/*}:transfer مکان را از حسابی که کاربر دارد به حساب دیگری که همان کاربر مدیریت می کند منتقل می کند. |
مواد و روش ها |
---|
create | POST /v1/{parent=locations/*}/admins کاربر مشخص شده را دعوت می کند تا مدیر مکان مشخص شده شود. |
delete | DELETE /v1/{name=locations/*/admins/*} ادمین مشخص شده را به عنوان مدیر مکان مشخص شده حذف می کند. |
list | GET /v1/{parent=locations/*}/admins همه ادمین ها را برای مکان مشخص شده لیست می کند. |
patch | PATCH /v1/{locationAdmin.name=locations/*/admins/*} ادمین را برای مکان مشخص شده به روز می کند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز 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 Account Management API allows you to manage access to Google Business Profile locations.\u003c/p\u003e\n"],["\u003cp\u003eYou can create and manage Google Business Profile accounts, including inviting and removing administrators.\u003c/p\u003e\n"],["\u003cp\u003eThe API enables managing location access, including transferring locations between accounts and managing location administrators.\u003c/p\u003e\n"],["\u003cp\u003eUsers with a quota of 0 after enabling the API should request GBP API access for full functionality.\u003c/p\u003e\n"]]],[],null,["# My Business Account Management API\n\nThe My Business Account Management API provides an interface for managing access to a location 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.accounts](#v1.accounts)\n- [REST Resource: v1.accounts.admins](#v1.accounts.admins)\n- [REST Resource: v1.accounts.invitations](#v1.accounts.invitations)\n- [REST Resource: v1.locations](#v1.locations)\n- [REST Resource: v1.locations.admins](#v1.locations.admins)\n\nService: mybusinessaccountmanagement.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://mybusinessaccountmanagement.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://mybusinessaccountmanagement.googleapis.com`\n\nREST Resource: [v1.accounts](/my-business/reference/accountmanagement/rest/v1/accounts)\n---------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------|\n| [create](/my-business/reference/accountmanagement/rest/v1/accounts/create) | `POST /v1/accounts` Creates an account with the specified name and type under the given parent. |\n| [get](/my-business/reference/accountmanagement/rest/v1/accounts/get) | `GET /v1/{name=accounts/*}` Gets the specified account. |\n| [list](/my-business/reference/accountmanagement/rest/v1/accounts/list) | `GET /v1/accounts` Lists all of the accounts for the authenticated user. |\n| [patch](/my-business/reference/accountmanagement/rest/v1/accounts/patch) | `PATCH /v1/{account.name=accounts/*}` Updates the specified business account. |\n\nREST Resource: [v1.accounts.admins](/my-business/reference/accountmanagement/rest/v1/accounts.admins)\n-----------------------------------------------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|\n| [create](/my-business/reference/accountmanagement/rest/v1/accounts.admins/create) | `POST /v1/{parent=accounts/*}/admins` Invites the specified user to become an administrator for the specified account. |\n| [delete](/my-business/reference/accountmanagement/rest/v1/accounts.admins/delete) | `DELETE /v1/{name=accounts/*/admins/*}` Removes the specified admin from the specified account. |\n| [list](/my-business/reference/accountmanagement/rest/v1/accounts.admins/list) | `GET /v1/{parent=accounts/*}/admins` Lists the admins for the specified account. |\n| [patch](/my-business/reference/accountmanagement/rest/v1/accounts.admins/patch) | `PATCH /v1/{accountAdmin.name=accounts/*/admins/*}` Updates the Admin for the specified Account Admin. |\n\nREST Resource: [v1.accounts.invitations](/my-business/reference/accountmanagement/rest/v1/accounts.invitations)\n---------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|\n| [accept](/my-business/reference/accountmanagement/rest/v1/accounts.invitations/accept) | `POST /v1/{name=accounts/*/invitations/*}:accept` Accepts the specified invitation. |\n| [decline](/my-business/reference/accountmanagement/rest/v1/accounts.invitations/decline) | `POST /v1/{name=accounts/*/invitations/*}:decline` Declines the specified invitation. |\n| [list](/my-business/reference/accountmanagement/rest/v1/accounts.invitations/list) | `GET /v1/{parent=accounts/*}/invitations` Lists pending invitations for the specified account. |\n\nREST Resource: [v1.locations](/my-business/reference/accountmanagement/rest/v1/locations)\n-----------------------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| [transfer](/my-business/reference/accountmanagement/rest/v1/locations/transfer) | `POST /v1/{name=locations/*}:transfer` Moves a location from an account that the user owns to another account that the same user administers. |\n\nREST Resource: [v1.locations.admins](/my-business/reference/accountmanagement/rest/v1/locations.admins)\n-------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|\n| [create](/my-business/reference/accountmanagement/rest/v1/locations.admins/create) | `POST /v1/{parent=locations/*}/admins` Invites the specified user to become an administrator for the specified location. |\n| [delete](/my-business/reference/accountmanagement/rest/v1/locations.admins/delete) | `DELETE /v1/{name=locations/*/admins/*}` Removes the specified admin as a manager of the specified location. |\n| [list](/my-business/reference/accountmanagement/rest/v1/locations.admins/list) | `GET /v1/{parent=locations/*}/admins` Lists all of the admins for the specified location. |\n| [patch](/my-business/reference/accountmanagement/rest/v1/locations.admins/patch) | `PATCH /v1/{locationAdmin.name=locations/*/admins/*}` Updates the Admin for the specified location. |"]]