Google Business Performance API 的
NEW API 方法可擷取單一 API 要求中的多個「DailyMetrics」。
請詳閱
淘汰時間表和從 v4 reportInsights API 方法遷移至 Google Business Profile Performance API 的操作說明。
My Business Verifications API
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
My Business Verifications API 提供介面,讓你執行與地點相關的驗證動作。
服務:mybusinessverifications.googleapis.com
如要呼叫這項服務,建議您使用 Google 提供的用戶端程式庫。如果應用程式需要使用您自己的程式庫來呼叫這項服務,請在提出 API 要求時使用下列資訊。
探索文件
探索文件是一種機器可解讀的規格,用於說明和使用 REST API。此文件用於建構用戶端程式庫、IDE 外掛程式,以及與 Google API 互動的其他工具。一項服務可能會提供多個探索文件。這項服務提供下列探索文件:
服務端點
服務端點是指定 API 服務網路位址的基準網址。一項服務可能有多個服務端點。這項服務有以下服務端點,且下方的 URI 皆以此服務端點為基準:
https://mybusinessverifications.googleapis.com
方法 |
complete |
POST /v1/{name=locations/*/verifications/*}:complete
完成「PENDING 」驗證。 |
list |
GET /v1/{parent=locations/*}/verifications
列出地點的驗證作業,按照建立時間排序。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\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. |"]]