Google Business Performance API มีเมธอด API
ใหม่ที่อนุญาตให้ดึง `DailyMetrics` หลายรายการในคําขอ API รายการเดียว
ตรวจสอบ
กําหนดการเลิกใช้งานและวิธีการย้ายข้อมูลจากเมธอด v4 reportInsights API ไปยัง API ประสิทธิภาพของ Google Business Profile
My Business Verifications API
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
My Business Verification API มีอินเทอร์เฟซสำหรับดําเนินการที่เกี่ยวข้องกับการยืนยันสําหรับสถานที่
บริการ: mybusinessverifications.googleapis.com
หากต้องการเรียกใช้บริการนี้ เราขอแนะนำให้คุณใช้ไลบรารีของไคลเอ็นต์ที่ Google มีให้ หากแอปพลิเคชันจำเป็นต้องใช้ไลบรารีของคุณเองเพื่อเรียกใช้บริการนี้ ให้ใช้ข้อมูลต่อไปนี้เมื่อคุณส่งคำขอ API
เอกสารการค้นพบ
เอกสารการค้นพบเป็นข้อกำหนดที่เครื่องอ่านได้สำหรับการอธิบายและใช้งาน REST API ใช้สำหรับสร้างไลบรารีของไคลเอ็นต์, ปลั๊กอิน IDE และเครื่องมืออื่นๆ ที่โต้ตอบกับ Google APIs บริการเดียวอาจมีเอกสารการค้นพบได้หลายรายการ บริการนี้มีเอกสารการค้นพบต่อไปนี้
ปลายทางบริการ
ปลายทางของบริการคือ 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
แสดงรายการการยืนยันสถานที่โดยเรียงตามเวลาที่สร้าง |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers 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. |"]]