Coba server MCP untuk Google Analytics. Instal dari
GitHub, dan lihat
pengumuman untuk mengetahui detail selengkapnya.
AccessMetric
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Pengukuran kuantitatif laporan. Misalnya, metrik accessCount
adalah jumlah total catatan akses data.
Representasi JSON |
{
"metricName": string
} |
Kolom |
metricName |
string
Nama API metrik. Lihat Skema Akses Data untuk mengetahui daftar metrik yang didukung di API ini. Metrik dirujuk berdasarkan nama dalam metricFilter & orderBys .
|
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 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`. |"]]