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 上的号召性用语按钮的次数。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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. |"]]