Google Business Performance API 的
NEW API 方法可擷取單一 API 要求中的多個「DailyMetrics」。
請詳閱
淘汰時間表和從 v4 reportInsights API 方法遷移至 Google Business Profile Performance API 的操作說明。
Metric
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
列舉 |
METRIC_UNSPECIFIED |
未指定指標。 |
ALL |
要求所有可用指標的簡短值。「所有」指標包含哪些指標,取決於要求取得深入分析的資源。 |
QUERIES_DIRECT |
直接搜尋地點時資源顯示的次數。 |
QUERIES_INDIRECT |
根據類別搜尋 (例如餐廳) 顯示資源的次數。 |
QUERIES_CHAIN |
使用者搜尋旗下旗下的連鎖店或品牌時,顯示該資源的次數。例如:星巴克,阿迪達。此為 QUERIES_INDIRECT 的子集。 |
VIEWS_MAPS |
這項資源在 Google 地圖上獲得的次數。 |
VIEWS_SEARCH |
資源在 Google 搜尋上的瀏覽次數。 |
ACTIONS_WEBSITE |
網站獲得的點擊次數。 |
ACTIONS_PHONE |
電話號碼獲得的點擊次數。 |
ACTIONS_DRIVING_DIRECTIONS |
要求行車路線的次數。 |
PHOTOS_VIEWS_MERCHANT |
商家上傳的媒體項目瀏覽次數。 |
PHOTOS_VIEWS_CUSTOMERS |
客戶上傳的媒體項目觀看次數。 |
PHOTOS_COUNT_MERCHANT |
商家目前上傳中的媒體項目總數。 |
PHOTOS_COUNT_CUSTOMERS |
目前客戶所上傳的媒體項目總數。 |
LOCAL_POST_VIEWS_SEARCH |
當地貼文在 Google 搜尋上的瀏覽次數。 |
LOCAL_POST_ACTIONS_CALL_TO_ACTION |
行動號召按鈕在 Google 服務中獲得的點擊次數。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\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. |"]]