Google Business Performance API มีเมธอด API
ใหม่ที่อนุญาตให้ดึง `DailyMetrics` หลายรายการในคําขอ API รายการเดียว
ตรวจสอบ
กําหนดการเลิกใช้งานและวิธีการย้ายข้อมูลจากเมธอด v4 reportInsights API ไปยัง API ประสิทธิภาพของ Google Business Profile
Metric
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เมตริกข้อมูลเกี่ยวกับทรัพยากร
Enum |
METRIC_UNSPECIFIED |
ไม่ได้ระบุเมตริก |
ALL |
ย่อเพื่อขอเมตริกที่มีอยู่ทั้งหมด เมตริกที่รวมอยู่ใน ALL จะแตกต่างกันไปและขึ้นอยู่กับทรัพยากรที่มีการขอข้อมูลเชิงลึก |
QUERIES_DIRECT |
จํานวนครั้งที่ทรัพยากรแสดงขึ้นขณะค้นหาสถานที่โดยตรง |
QUERIES_INDIRECT |
จํานวนครั้งที่ทรัพยากรแสดงขึ้นซึ่งมาจากการค้นหาตามหมวดหมู่ (เช่น ร้านอาหาร) |
QUERIES_CHAIN |
จํานวนครั้งที่มีการแสดงทรัพยากรตามการค้นหาเชนของทรัพยากรดังกล่าว หรือแบรนด์ที่ขาย เช่น Starbucks, Adidas นี่คือชุดย่อยของ QUERIES_IARC |
VIEWS_MAPS |
จํานวนครั้งที่มีการดูทรัพยากรใน Google Maps |
VIEWS_SEARCH |
จํานวนครั้งที่มีการดูทรัพยากรใน Google Search |
ACTIONS_WEBSITE |
จํานวนครั้งที่มีการคลิกเว็บไซต์ |
ACTIONS_PHONE |
จํานวนครั้งที่มีการคลิกหมายเลขโทรศัพท์ |
ACTIONS_DRIVING_DIRECTIONS |
จํานวนครั้งที่มีการขอเส้นทางการขับขี่ |
PHOTOS_VIEWS_MERCHANT |
จํานวนการดูในรายการสื่อที่ผู้ขายอัปโหลด |
PHOTOS_VIEWS_CUSTOMERS |
จํานวนการดูในรายการสื่อที่ลูกค้าอัปโหลด |
PHOTOS_COUNT_MERCHANT |
จํานวนรายการสื่อทั้งหมดที่เผยแพร่อยู่ในขณะนี้ซึ่งผู้ขายอัปโหลด |
PHOTOS_COUNT_CUSTOMERS |
จํานวนรายการสื่อทั้งหมดที่กําลังทํางานอยู่ในขณะนี้ที่ลูกค้าอัปโหลด |
LOCAL_POST_VIEWS_SEARCH |
จํานวนครั้งที่มีการดูโพสต์ในพื้นที่บน Google Search |
LOCAL_POST_ACTIONS_CALL_TO_ACTION |
จํานวนครั้งที่มีการคลิกปุ่มคํากระตุ้นการตัดสินใจบน Google |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eMetrics provide various data points about a resource, like views, queries, and actions.\u003c/p\u003e\n"],["\u003cp\u003eThese metrics can reflect user engagement across Google Search and Maps.\u003c/p\u003e\n"],["\u003cp\u003eMetrics are categorized by type, including queries, views, actions, and photos.\u003c/p\u003e\n"],["\u003cp\u003eThey offer insights into customer interactions, such as website clicks, phone calls, and direction requests.\u003c/p\u003e\n"],["\u003cp\u003eMerchant and customer uploaded media have separate metrics tracking views and counts.\u003c/p\u003e\n"]]],["The provided content defines metrics related to resource data. Key metrics include `QUERIES_DIRECT`, `QUERIES_INDIRECT`, and `QUERIES_CHAIN`, tracking search visibility. `VIEWS_MAPS` and `VIEWS_SEARCH` measure views on Google Maps and Search, respectively. `ACTIONS_WEBSITE`, `ACTIONS_PHONE`, and `ACTIONS_DRIVING_DIRECTIONS` gauge user engagement. Photo-related metrics, like `PHOTOS_VIEWS_MERCHANT` and `PHOTOS_COUNT_CUSTOMERS`, assess media interactions. Also included are `LOCAL_POST_VIEWS_SEARCH` and `LOCAL_POST_ACTIONS_CALL_TO_ACTION` that assess local posts. The `ALL` metric aggregates available metrics.\n"],null,["# Metric\n\nA metric of data about a resource.\n\n| Enums ||\n|-------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `METRIC_UNSPECIFIED` | No metric specified. |\n| `ALL` | Shorthand to request all available metrics. Which metrics are included in ALL varies, and depends on the resource for which insights are being requested. |\n| `QUERIES_DIRECT` | The number of times the resource was shown when searching for the location directly. |\n| `QUERIES_INDIRECT` | The number of times the resource was shown as a result of a categorical search (for example, restaurant). |\n| `QUERIES_CHAIN` | The number of times a resource was shown as a result of a search for the chain it belongs to, or a brand it sells. For example, Starbucks, Adidas. This is a subset of QUERIES_INDIRECT. |\n| `VIEWS_MAPS` | The number of times the resource was viewed on Google Maps. |\n| `VIEWS_SEARCH` | The number of times the resource was viewed on Google Search. |\n| `ACTIONS_WEBSITE` | The number of times the website was clicked. |\n| `ACTIONS_PHONE` | The number of times the phone number was clicked. |\n| `ACTIONS_DRIVING_DIRECTIONS` | The number of times driving directions were requested. |\n| `PHOTOS_VIEWS_MERCHANT` | The number of views on media items uploaded by the merchant. |\n| `PHOTOS_VIEWS_CUSTOMERS` | The number of views on media items uploaded by customers. |\n| `PHOTOS_COUNT_MERCHANT` | The total number of media items that are currently live that have been uploaded by the merchant. |\n| `PHOTOS_COUNT_CUSTOMERS` | The total number of media items that are currently live that have been uploaded by customers. |\n| `LOCAL_POST_VIEWS_SEARCH` | The number of times the local post was viewed on Google Search. |\n| `LOCAL_POST_ACTIONS_CALL_TO_ACTION` | The number of times the call to action button was clicked on Google. |"]]