Wypróbuj serwer MCP w Google Analytics. Zainstaluj go z
GitHub. Więcej informacji znajdziesz w
ogłoszeniu.
AccessMetric
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Pomiary ilościowe w raporcie. Na przykład wskaźnik accessCount
to łączna liczba rekordów dostępu do danych.
Zapis JSON |
{
"metricName": string
} |
Pola |
metricName |
string
Nazwa interfejsu API danych. Listę wskaźników obsługiwanych przez ten interfejs API znajdziesz w artykule Schemat dostępu do danych. Do danych odwołują się nazwy w metricFilter & orderBys
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eThis documentation describes the JSON representation of quantitative measurements, called metrics, within a report.\u003c/p\u003e\n"],["\u003cp\u003eMetrics, such as \u003ccode\u003eaccessCount\u003c/code\u003e, quantify aspects of data, like the total number of data access records.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003emetricName\u003c/code\u003e field within the JSON structure uses a string to identify the specific metric being used, referencing the Data Access Schema for supported options.\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`. |"]]