Google Business Performance API มีเมธอด API
ใหม่ที่อนุญาตให้ดึง `DailyMetrics` หลายรายการในคําขอ API รายการเดียว
ตรวจสอบ
กําหนดการเลิกใช้งานและวิธีการย้ายข้อมูลจากเมธอด v4 reportInsights API ไปยัง API ประสิทธิภาพของ Google Business Profile
Method: locations.placeActionLinks.create
สร้างลิงก์การดำเนินการเกี่ยวกับสถานที่ที่เชื่อมโยงกับตำแหน่งที่ระบุ และส่งลิงก์กลับมา คำขอนี้จะถือว่าซ้ำหาก parent
, placeActionLink.uri
และ placeActionLink.place_action_type
เหมือนกับคำขอก่อนหน้า
คำขอ HTTP
POST https://mybusinessplaceactions.googleapis.com/v1/{parent=locations/*}/placeActionLinks
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
parent |
string
ต้องระบุ ชื่อทรัพยากรของสถานที่ที่จะสร้างลิงก์การกระทำเกี่ยวกับสถานที่นี้ locations/{locationId} .
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ PlaceActionLink
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ PlaceActionLink
ที่สร้างขึ้นใหม่
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/business.manage
ดูข้อมูลเพิ่มเติมได้ที่ภาพรวมของ OAuth 2.0
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2023-12-01 UTC
[null,null,["อัปเดตล่าสุด 2023-12-01 UTC"],[[["Creates a place action link for a specified location, returning the link if successful and considering requests with the same parent, URI, and place action type as duplicates."],["Uses an HTTP POST request to `https://mybusinessplaceactions.googleapis.com/v1/{parent=locations/*}/placeActionLinks` with the location specified as a path parameter."],["Requires a request body containing a PlaceActionLink object and returns a PlaceActionLink object upon successful creation."],["Needs authorization with the `https://www.googleapis.com/auth/business.manage` scope for access."]]],[]]