My Business Verifications API
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
API проверок My Business предоставляет интерфейс для выполнения действий, связанных с проверками местоположений.
Сервис: mybusinessverifications.googleapis.com.
Для вызова этой службы мы рекомендуем использовать клиентские библиотеки Google. Если вашему приложению необходимо использовать собственные библиотеки для вызова этой службы, используйте следующую информацию при отправке запросов API.
Документ открытия
Документ обнаружения — это машиночитаемая спецификация для описания и использования REST API. Он используется для создания клиентских библиотек, плагинов IDE и других инструментов, взаимодействующих с API Google. Одна служба может предоставлять несколько документов обнаружения. Эта служба предоставляет следующий документ обнаружения:
Конечная точка службы
Конечная точка службы — это базовый URL-адрес, указывающий сетевой адрес службы API. Одна служба может иметь несколько конечных точек службы. Эта служба имеет следующую конечную точку службы, и все приведенные ниже URI относятся к этой конечной точке службы:
-
https://mybusinessverifications.googleapis.com
Методы |
---|
fetchVerificationOptions | POST /v1/{location=locations/*}:fetchVerificationOptions Сообщает обо всех подходящих вариантах проверки для местоположения на определенном языке. |
getVoiceOfMerchantState | GET /v1/{name=locations/*}/VoiceOfMerchantState Получает состояние VoiceOfMerchant. |
verify | POST /v1/{name=locations/*}:verify Запускает процесс проверки местоположения. |
Методы |
---|
complete | POST /v1/{name=locations/*/verifications/*}:complete Завершает PENDING проверку. |
list | GET /v1/{parent=locations/*}/verifications Список проверок местоположения, упорядоченный по времени создания. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-25 UTC.
[null,null,["Последнее обновление: 2025-07-25 UTC."],[[["\u003cp\u003eThe My Business Verifications API allows you to manage location verification processes programmatically.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods to fetch verification options, initiate verification, check VoiceOfMerchant state, and complete pending verifications.\u003c/p\u003e\n"],["\u003cp\u003eYou can access the API through REST resources like \u003ccode\u003ev1.locations\u003c/code\u003e and \u003ccode\u003ev1.locations.verifications\u003c/code\u003e using provided client libraries or your own.\u003c/p\u003e\n"],["\u003cp\u003eThe API is located at the service endpoint \u003ccode\u003ehttps://mybusinessverifications.googleapis.com\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA discovery document is available for integration with tools and libraries.\u003c/p\u003e\n"]]],[],null,["# My Business Verifications API\n\nThe My Business Verifications API provides an interface for taking verifications related actions for locations.\n\n- [REST Resource: v1.locations](#v1.locations)\n- [REST Resource: v1.locations.verifications](#v1.locations.verifications)\n\nService: mybusinessverifications.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://mybusinessverifications.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://mybusinessverifications.googleapis.com`\n\nREST Resource: [v1.locations](/my-business/reference/verifications/rest/v1/locations)\n-------------------------------------------------------------------------------------\n\n| Methods ||\n|-------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|\n| [fetchVerificationOptions](/my-business/reference/verifications/rest/v1/locations/fetchVerificationOptions) | `POST /v1/{location=locations/*}:fetchVerificationOptions` Reports all eligible verification options for a location in a specific language. |\n| [getVoiceOfMerchantState](/my-business/reference/verifications/rest/v1/locations/getVoiceOfMerchantState) | `GET /v1/{name=locations/*}/VoiceOfMerchantState` Gets the VoiceOfMerchant state. |\n| [verify](/my-business/reference/verifications/rest/v1/locations/verify) | `POST /v1/{name=locations/*}:verify` Starts the verification process for a location. |\n\nREST Resource: [v1.locations.verifications](/my-business/reference/verifications/rest/v1/locations.verifications)\n-----------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|-------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|\n| [complete](/my-business/reference/verifications/rest/v1/locations.verifications/complete) | `POST /v1/{name=locations/*/verifications/*}:complete` Completes a `PENDING` verification. |\n| [list](/my-business/reference/verifications/rest/v1/locations.verifications/list) | `GET /v1/{parent=locations/*}/verifications` List verifications of a location, ordered by create time. |"]]