Google Business Performance API มีเมธอด API
ใหม่ที่อนุญาตให้ดึง `DailyMetrics` หลายรายการในคําขอ API รายการเดียว
ตรวจสอบ
กําหนดการเลิกใช้งานและวิธีการย้ายข้อมูลจากเมธอด v4 reportInsights API ไปยัง API ประสิทธิภาพของ Google Business Profile
Method: accounts.locations.reviews.get
แสดงผลรีวิวที่ระบุ การดำเนินการนี้จะใช้ได้ต่อเมื่อตำแหน่งที่ระบุได้รับการยืนยันแล้วเท่านั้น แสดงผล NOT_FOUND
หากไม่มีรีวิวหรือรีวิวถูกลบไปแล้ว
คำขอ HTTP
GET https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*/reviews/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ชื่อของรีวิวที่จะดึงข้อมูล
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ Review
ขอบเขตการให้สิทธิ์
ต้องมีขอบเขต OAuth อย่างใดอย่างหนึ่งต่อไปนี้
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
ดูข้อมูลเพิ่มเติมได้ที่ภาพรวมของ OAuth 2.0
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2023-12-02 UTC
[null,null,["อัปเดตล่าสุด 2023-12-02 UTC"],[[["Retrieves a specific review for a verified location using a `GET` request."],["Requires providing the review's name as a path parameter in the URL."],["Returns the review details in the response body if found, otherwise returns a `NOT_FOUND` error."],["Needs authorization with specific OAuth scopes for access."]]],["This describes retrieving a specific review via a `GET` request to a defined URL. The URL utilizes gRPC Transcoding syntax and requires a `name` path parameter, which is a string identifying the review. The request body must be empty. A successful request returns a `Review` instance in the response body. Access requires one of two specified OAuth authorization scopes. The operation is only possible if the location has been verified, if not it will return a not found response.\n"]]