Google Business Performance API memiliki metode API
BARU yang memungkinkan pengambilan beberapa `DailyMetrics` dalam satu permintaan API.
Tinjau
jadwal penghentian dan petunjuk untuk bermigrasi dari metode API reportInsights v4 ke Google Business Profile Performance API.
My Business Verifications API
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
My Business Verifications API menyediakan antarmuka untuk mengambil tindakan terkait verifikasi untuk lokasi.
Layanan: mybusinessverifications.googleapis.com
Untuk memanggil layanan ini, sebaiknya gunakan library klien yang disediakan Google. Jika aplikasi Anda perlu menggunakan library Anda sendiri untuk memanggil layanan ini, gunakan informasi berikut saat membuat permintaan API.
Dokumen discovery
Dokumen Discovery adalah spesifikasi yang dapat dibaca komputer untuk mendeskripsikan dan menggunakan REST API. Dokumen ini digunakan untuk membuat library klien, plugin IDE, dan alat lainnya yang berinteraksi dengan Google API. Satu layanan dapat menyediakan beberapa dokumen discovery. Layanan ini menyediakan dokumen discovery berikut:
Endpoint layanan
Endpoint layanan adalah URL dasar yang menentukan alamat jaringan layanan API. Satu layanan mungkin memiliki beberapa endpoint layanan. Layanan ini memiliki endpoint layanan berikut dan semua URI di bawah berhubungan dengan endpoint layanan ini:
https://mybusinessverifications.googleapis.com
Metode |
fetchVerificationOptions |
POST /v1/{location=locations/*}:fetchVerificationOptions
Melaporkan semua opsi verifikasi yang memenuhi syarat untuk lokasi dalam bahasa tertentu. |
getVoiceOfMerchantState |
GET /v1/{name=locations/*}/VoiceOfMerchantState
Mendapatkan status VoiceOfMerchant. |
verify |
POST /v1/{name=locations/*}:verify
Memulai proses verifikasi untuk lokasi. |
Metode |
complete |
POST /v1/{name=locations/*/verifications/*}:complete
Menyelesaikan verifikasi PENDING . |
list |
GET /v1/{parent=locations/*}/verifications
Mencantumkan verifikasi lokasi, yang diurutkan berdasarkan waktu pembuatan. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 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. |"]]