Google Business Performance API มีเมธอด API
ใหม่ที่อนุญาตให้ดึง `DailyMetrics` หลายรายการในคําขอ API รายการเดียว
ตรวจสอบ
กําหนดการเลิกใช้งานและวิธีการย้ายข้อมูลจากเมธอด v4 reportInsights API ไปยัง API ประสิทธิภาพของ Google Business Profile
Method: accounts.locations.verifications.list
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงรายการการยืนยันสถานที่เรียงลำดับตามเวลาที่สร้าง
คำขอ HTTP
GET https://mybusiness.googleapis.com/v4/{parent=accounts/*/locations/*}/verifications
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
parent |
string
ชื่อทรัพยากรของตำแหน่งที่มีคำขอการยืนยัน
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
pageSize |
integer
จำนวนการยืนยันที่จะใส่ต่อ 1 หน้า หากไม่ได้ตั้งค่า ให้แสดงผลทั้งหมด
|
pageToken |
string
หากระบุไว้ จะแสดงหน้าถัดไปของการยืนยัน
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้
ข้อความตอบกลับสำหรับ Verifications.List Verifications
การแสดง JSON |
{
"verifications": [
{
object (Verification )
}
],
"nextPageToken": string
} |
ช่อง |
verifications[] |
object (Verification )
รายการการยืนยัน
|
nextPageToken |
string
หากจำนวนการยืนยันเกินขนาดหน้าเว็บที่ขอ ระบบจะเติมข้อมูลในช่องนี้ด้วยโทเค็นเพื่อดึงข้อมูลหน้าถัดไปของการยืนยันในการโทรครั้งถัดไป หากไม่มีแอตทริบิวต์อื่นเพิ่มเติม ระบบจะไม่แสดงช่องนี้ในการตอบกลับ
|
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต 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 และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-10-14 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2024-10-14 UTC"],[[["Lists location verifications, ordered by creation time, using a GET request."],["Allows for pagination with `pageSize` and `pageToken` query parameters."],["The response includes a list of verifications and a token for retrieving subsequent pages, if applicable."],["Requires specific OAuth scopes for authorization, such as `https://www.googleapis.com/auth/plus.business.manage` or `https://www.googleapis.com/auth/business.manage`."]]],["This describes retrieving location verifications via a `GET` request to `https://mybusiness.googleapis.com/v4/{parent=accounts/*/locations/*}/verifications`. Key actions include: specifying the `parent` path parameter for the location and using optional `pageSize` and `pageToken` query parameters for pagination. The request body must be empty. The response contains a list of `verifications` and an optional `nextPageToken` for further pages. Authorization requires OAuth scopes `plus.business.manage` or `business.manage`.\n"]]