Попробуйте сервер MCP для Google Analytics. Установите его с
GitHub и ознакомьтесь с
анонсом для получения более подробной информации.
AccessMetric
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Количественные измерения отчета. Например, метрика accessCount
— это общее количество записей доступа к данным.
JSON-представление |
---|
{
"metricName": string
} |
Поля |
---|
metricName | string API-имя метрики. Список метрик, поддерживаемых в этом API, см. в схеме доступа к данным . Метрики упоминаются по имени в metricFilter и orderBys . |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 UTC."],[[["\u003cp\u003eThis documentation details the JSON representation of quantitative measurements, like "accessCount," within a report.\u003c/p\u003e\n"],["\u003cp\u003eYou can find the API name of each metric within the "metricName" field, allowing you to use it in filters and ordering.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the Data Access Schema for a complete list of supported metrics you can use within this API.\u003c/p\u003e\n"]]],["The content defines a JSON structure for representing quantitative report metrics. The core element is `metricName`, a string denoting the API name of a specific metric. This name corresponds to a supported metric listed in the Data Access Schema. `metricName` is crucial for filtering and ordering data, utilizing `metricFilter` and `orderBys`. The `accessCount` example illustrates a metric that measures the total data access records.\n"],null,["# AccessMetric\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe quantitative measurements of a report. For example, the metric `accessCount` is the total number of data access records.\n\n| JSON representation |\n|----------------------------------|\n| ``` { \"metricName\": string } ``` |\n\n| Fields ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `metricName` | `string` The API name of the metric. See [Data Access Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) for the list of metrics supported in this API. Metrics are referenced by name in `metricFilter` \\& `orderBys`. |"]]