Prueba el servidor de MCP para Google Analytics. Instala desde
GitHub y consulta el
anuncio para obtener más detalles.
AccessMetric
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Son las mediciones cuantitativas de un informe. Por ejemplo, la métrica accessCount
es la cantidad total de registros de acceso a los datos.
Representación JSON |
{
"metricName": string
} |
Campos |
metricName |
string
Es el nombre de la API de la métrica. Consulta Esquema de acceso a los datos para ver la lista de métricas admitidas en esta API. Se hace referencia a las métricas por nombre en metricFilter y orderBys
|
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-26 (UTC)
[null,null,["Última actualización: 2025-07-26 (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`. |"]]