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.
REST Resource: accounts.locations.verifications
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Resource: Verifikasi
Verifikasi merepresentasikan upaya verifikasi pada lokasi.
Kolom |
name |
string
Nama resource verifikasi.
|
method |
enum (VerificationMethod )
Metode verifikasi.
|
state |
enum (VerificationState )
Status verifikasi.
|
createTime |
string (Timestamp format)
Stempel waktu saat verifikasi diminta. Stempel waktu dalam RFC3339 UTC "Zulu" , dengan resolusi nanodetik dan hingga sembilan digit pecahan. Contoh: "2014-10-02T15:01:23Z" dan "2014-10-02T15:01:23.045123456Z" .
|
VerificationMethod
Menentukan proses yang digunakan oleh Google untuk memverifikasi lokasi.
Enum |
VERIFICATION_METHOD_UNSPECIFIED |
Nilai default, akan menghasilkan error. |
ADDRESS |
Mengirim kartu pos dengan PIN verifikasi ke alamat surat tertentu. PIN digunakan untuk menyelesaikan verifikasi dengan Google. |
EMAIL |
Mengirim email dengan PIN verifikasi ke alamat email tertentu. PIN digunakan untuk menyelesaikan verifikasi dengan Google. |
PHONE_CALL |
Lakukan panggilan telepon dengan PIN verifikasi ke nomor telepon tertentu. PIN digunakan untuk menyelesaikan verifikasi dengan Google. |
SMS |
Kirim SMS dengan PIN verifikasi ke nomor telepon tertentu. PIN digunakan untuk menyelesaikan verifikasi dengan Google. |
AUTO |
Memverifikasi lokasi tanpa tindakan tambahan dari pengguna. Opsi ini mungkin hanya tersedia untuk lokasi tertentu. |
VerificationState
Semua kemungkinan status verifikasi.
Enum |
VERIFICATION_STATE_UNSPECIFIED |
Nilai default, akan menghasilkan error. |
PENDING |
Verifikasi tertunda. |
COMPLETED |
Verifikasi selesai. |
FAILED |
Verifikasi gagal. |
Metode |
|
Menyelesaikan verifikasi PENDING . |
|
Cantumkan 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\u003eA verification in Google My Business represents an attempt to verify a location using various methods like address, email, phone, or SMS.\u003c/p\u003e\n"],["\u003cp\u003eVerification resources contain details like the method used, the verification state (pending, completed, or failed), and a timestamp indicating when the verification was initiated.\u003c/p\u003e\n"],["\u003cp\u003eBusinesses can utilize the Google My Business API to manage verifications, including completing pending verifications and retrieving a list of past verifications for a specific location.\u003c/p\u003e\n"],["\u003cp\u003eDifferent verification methods are available, including postcard mailing, email, phone call, SMS, or automatic verification if eligible.\u003c/p\u003e\n"]]],["A verification tracks an attempt to verify a location, represented by a name, method, state, and creation timestamp. Verification methods include `ADDRESS` (postcard), `EMAIL`, `PHONE_CALL`, `SMS`, and `AUTO`. Verification states can be `PENDING`, `COMPLETED`, or `FAILED`. Key actions involve completing a pending verification and listing verifications for a location ordered by their creation date.\n"],null,["# REST Resource: accounts.locations.verifications\n\n- [Resource: Verification](#Verification)\n - [JSON representation](#Verification.SCHEMA_REPRESENTATION)\n- [VerificationMethod](#VerificationMethod)\n- [VerificationState](#VerificationState)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Verification\n----------------------\n\nA verification represents a verification attempt on a location.\n\n| JSON representation ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"name\": string, \"method\": enum (/my-business/reference/rest/v4/accounts.locations.verifications#VerificationMethod), \"state\": enum (/my-business/reference/rest/v4/accounts.locations.verifications#VerificationState), \"createTime\": string } ``` |\n\n| Fields ||\n|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Resource name of the verification. |\n| `method` | `enum (`[VerificationMethod](/my-business/reference/rest/v4/accounts.locations.verifications#VerificationMethod)`)` The method of the verification. |\n| `state` | `enum (`[VerificationState](/my-business/reference/rest/v4/accounts.locations.verifications#VerificationState)`)` The state of the verification. |\n| `createTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)` The timestamp when the verification is requested. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |\n\nVerificationMethod\n------------------\n\nSpecifies the processes used by Google to verify a location.\n\n| Enums ||\n|-----------------------------------|------------------------------------------------------------------------------------------------------------------------------|\n| `VERIFICATION_METHOD_UNSPECIFIED` | Default value, will result in errors. |\n| `ADDRESS` | Send a postcard with a verification PIN to a specific mailing address. The PIN is used to complete verification with Google. |\n| `EMAIL` | Send an email with a verification PIN to a specific email address. The PIN is used to complete verification with Google. |\n| `PHONE_CALL` | Make a phone call with a verification PIN to a specific phone number. The PIN is used to complete verification with Google. |\n| `SMS` | Send an SMS with a verification PIN to a specific phone number. The PIN is used to complete verification with Google. |\n| `AUTO` | Verify the location without additional user action. This option may not be available for all locations. |\n\nVerificationState\n-----------------\n\nAll possible verification states.\n\n| Enums ||\n|----------------------------------|---------------------------------------|\n| `VERIFICATION_STATE_UNSPECIFIED` | Default value, will result in errors. |\n| `PENDING` | The verification is pending. |\n| `COMPLETED` | The verification is completed. |\n| `FAILED` | The verification is failed. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------------|-----------------------------------------------------------|\n| ### [complete](/my-business/reference/rest/v4/accounts.locations.verifications/complete) | Completes a `PENDING` verification. |\n| ### [list](/my-business/reference/rest/v4/accounts.locations.verifications/list) | List verifications of a location, ordered by create time. |"]]