Teste o servidor MCP do Google Analytics. Instale no
GitHub e confira o
anúncio para mais detalhes.
AccessMetric
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
As medidas quantitativas de um relatório. Por exemplo, a métrica accessCount
é o número total de registros de acesso aos dados.
Representação JSON |
{
"metricName": string
} |
Campos |
metricName |
string
O nome da API da métrica. Consulte Esquema de acesso a dados para ver a lista de métricas compatíveis com essa API. As métricas são referenciadas pelo nome em metricFilter e orderBys .
|
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-26 UTC.
[null,null,["Última atualização 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`. |"]]