Google Business Performance API มีเมธอด API
ใหม่ที่อนุญาตให้ดึง `DailyMetrics` หลายรายการในคําขอ API รายการเดียว
ตรวจสอบ
กําหนดการเลิกใช้งานและวิธีการย้ายข้อมูลจากเมธอด v4 reportInsights API ไปยัง API ประสิทธิภาพของ Google Business Profile
Method: accounts.locations.reviews.updateReply
อัปเดตการตอบกลับของรีวิวที่ระบุ ระบบจะสร้างการตอบกลับหากยังไม่มี การดำเนินการนี้จะใช้ได้ต่อเมื่อตำแหน่งที่ระบุได้รับการยืนยันแล้วเท่านั้น
คำขอ HTTP
PUT https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*/reviews/*}/reply
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ชื่อของรีวิวที่จะตอบกลับ
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ ReviewReply
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ ReviewReply
ขอบเขตการให้สิทธิ์
ต้องมีขอบเขต 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"],[[["Updates a specified review's reply, creating one if it doesn't exist, but only for verified locations."],["Uses a PUT HTTP request with the path `https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*/reviews/*}/reply` and requires a ReviewReply object in the request body."],["A successful response returns a ReviewReply object representing the updated or created reply."],["Requires authorization with specific OAuth scopes, either `https://www.googleapis.com/auth/plus.business.manage` or `https://www.googleapis.com/auth/business.manage`."]]],["This content describes updating a reply to a review or creating one if it doesn't exist. The `PUT` request is sent to a specified URL using gRPC Transcoding. The `name` parameter, part of the URL path, identifies the target review. The request body must contain a `ReviewReply` instance, and a successful operation will return a `ReviewReply` instance in the response body. Authorization requires specific OAuth scopes related to managing business accounts.\n"]]