Google Business Performance API, tek bir API isteğinde birden fazla "GünlükMetrik" getirmeye olanak tanıyan
YENİ bir API yöntemine sahiptir.
Kullanımdan kaldırma planını ve v4 reportInsights API yönteminden Google Business Profile Performance API'ye geçiş talimatlarını inceleyin.
Method: locations.verifications.complete
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
PENDING
doğrulamasını tamamlar.
Yalnızca AUTO
dışındaki doğrulama yöntemleri için gereklidir. AUTO
doğrulama isteği, oluşturulduktan hemen sonra VERIFIED
olarak değerlendirilir.
HTTP isteği
POST https://mybusinessverifications.googleapis.com/v1/{name=locations/*/verifications/*}:complete
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
name |
string
Zorunlu. Tamamlanacak doğrulamanın kaynak adı.
|
İstek içeriği
İstek gövdesi, aşağıdaki yapıya sahip verileri içerir:
JSON gösterimi |
{
"pin": string
} |
Alanlar |
pin |
string
Zorunlu. Doğrulama işlemini tamamlamak için satıcının aldığı PIN kodu.
|
Yanıt gövdesi
Verifications.CompleteverificationAction için yanıt mesajı.
Başarılı olursa yanıt metni aşağıdaki yapıyla birlikte verileri içerir:
JSON gösterimi |
{
"verification": {
object (Verification )
}
} |
Alanlar |
verification |
object (Verification )
Doğrulama işlemi tamamlandı.
|
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/business.manage
Daha fazla bilgi için OAuth 2.0 Overview (OAuth 2.0'a Genel Bakış) sayfasına göz atın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[[["\u003cp\u003eThis document explains how to complete a pending verification for a business using the Google My Business Verifications API.\u003c/p\u003e\n"],["\u003cp\u003eThe process involves sending a POST request to a specific endpoint with the verification's resource name and a PIN code.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires a JSON object containing the PIN received by the merchant.\u003c/p\u003e\n"],["\u003cp\u003eA successful response will contain the completed verification details in the response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/business.manage\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: locations.verifications.complete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.CompleteVerificationResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nCompletes a `PENDING` verification.\n\nIt is only necessary for non `AUTO` verification methods. `AUTO` verification request is instantly `VERIFIED` upon creation.\n\n### HTTP request\n\n`POST https://mybusinessverifications.googleapis.com/v1/{name=locations/*/verifications/*}:complete`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|-------------------------------------------------------------------|\n| `name` | `string` Required. Resource name of the verification to complete. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|---------------------------|\n| ``` { \"pin\": string } ``` |\n\n| Fields ||\n|-------|------------------------------------------------------------------------------------|\n| `pin` | `string` Required. PIN code received by the merchant to complete the verification. |\n\n### Response body\n\nResponse message for Verifications.CompleteVerificationAction.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------|\n| ``` { \"verification\": { object (/my-business/reference/verifications/rest/v1/Verification) } } ``` |\n\n| Fields ||\n|----------------|--------------------------------------------------------------------------------------------------------------------|\n| `verification` | `object (`[Verification](/my-business/reference/verifications/rest/v1/Verification)`)` The completed verification. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/business.manage`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]