Google Business Performance API มีเมธอด API
ใหม่ที่อนุญาตให้ดึง `DailyMetrics` หลายรายการในคําขอ API รายการเดียว
ตรวจสอบ
กําหนดการเลิกใช้งานและวิธีการย้ายข้อมูลจากเมธอด v4 reportInsights API ไปยัง API ประสิทธิภาพของ Google Business Profile
ทำงานกับไลบรารีของไคลเอ็นต์
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ไลบรารีของไคลเอ็นต์ Google My Business API มีการผสานรวมภาษาที่ดีขึ้นและ
การตรวจสอบสิทธิ์ผู้ใช้ที่ง่ายขึ้น
ก่อนที่จะใช้ Google My Business API คุณต้องลงทะเบียนแอปพลิเคชันและ
รับข้อมูลเข้าสู่ระบบ OAuth 2.0 ดูรายละเอียดเกี่ยวกับวิธีเริ่มต้นใช้งาน Google My Business API ได้ที่การตั้งค่าพื้นฐาน
หมายเหตุ: วิธีการเหล่านี้ถือว่าคุณใช้สภาพแวดล้อมที่คล้ายกับ Unix
การดาวน์โหลดไลบรารีของไคลเอ็นต์
ไปที่หน้าไลบรารีเพื่อดูไลบรารีของไคลเอ็นต์ Google My Business API ล่าสุด
ไลบรารีของไคลเอ็นต์ Google My Business API ใช้ไลบรารีของไคลเอ็นต์ Google API สำหรับการจัดการข้อผิดพลาด การจัดการคำขอและการตอบกลับ, OAuth และฟังก์ชันการทำงานทั่วไปอื่นๆ
เอกสารการค้นหาพร้อมให้ใช้งานเพื่อช่วยในการสร้างไลบรารีของไคลเอ็นต์ของคุณเองโดยอัตโนมัติ หากไม่มีการรองรับภาษาโปรแกรมที่คุณเลือกให้ดาวน์โหลด
ตัวอย่างการใช้งานไลบรารีของไคลเอ็นต์
ไปที่ GitHub เพื่อดูและ
ดาวน์โหลดตัวอย่างการทำงานกับไลบรารีของไคลเอ็นต์แบบเต็ม
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-29 UTC
[null,null,["อัปเดตล่าสุด 2025-08-29 UTC"],[[["\u003cp\u003eThe Google My Business API client libraries offer better language integration and easier user authentication.\u003c/p\u003e\n"],["\u003cp\u003eYou must register your application and get OAuth 2.0 credentials before using the Google My Business API, with setup details available in the Basic Setup guide.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries can be downloaded from the Libraries page, and a discovery document is provided to assist in generating custom libraries for unsupported languages.\u003c/p\u003e\n"],["\u003cp\u003eFor usage examples and complete samples, refer to the Google My Business samples on GitHub.\u003c/p\u003e\n"]]],["To use the Google My Business API, register your application and obtain OAuth 2.0 credentials. Client libraries, which offer improved language integration and user authentication, can be downloaded from the Libraries page. These libraries utilize Google API Client Libraries for core functionalities. If a specific language isn't supported, a Discovery document aids in generating custom libraries. Full usage examples are available on GitHub. The setup assumes a Unix-like environment.\n"],null,["# Work with client libraries\n\n\u003cbr /\u003e\n\nThe Google My Business API client libraries provide improved language integration and\nsimplified user authentication.\n\nBefore working with the Google My Business API you need to register your application and\nobtain OAuth 2.0 credentials. See [Basic Setup](/my-business/content/basic-setup) for details on\nhow to start working with the Google My Business API.\n\n**Note**: These instructions assume a Unix-like environment.\n\nClient library downloads\n------------------------\n\nVisit the [Libraries](/my-business/samples) page to get the latest\nGoogle My Business API client libraries.\n\nThe Google My Business API client library makes use of the [Google API Client\nLibraries](/api-client-library) for error handling, managing requests and\nresponses, OAuth, and other common functionality.\n\nA [Discovery document](/my-business/samples#discovery_document) is available to\naid in auto-generating your own client libraries if support for your programming\nlanguage of choice is not available for download.\n\nExample client library usage\n----------------------------\n\nVisit [GitHub](https://github.com/google/google-my-business-samples) to view and\ndownload full samples of working with client libraries."]]