Prueba el servidor de MCP para Google Analytics. Instala desde
GitHub y consulta el
anuncio para obtener más detalles.
RunReportResponse
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
La tabla del informe de respuesta correspondiente a una solicitud.
Representación JSON |
{
"dimensionHeaders": [
{
object (DimensionHeader )
}
],
"metricHeaders": [
{
object (MetricHeader )
}
],
"rows": [
{
object (Row )
}
],
"totals": [
{
object (Row )
}
],
"maximums": [
{
object (Row )
}
],
"minimums": [
{
object (Row )
}
],
"rowCount": integer,
"metadata": {
object (ResponseMetaData )
},
"propertyQuota": {
object (PropertyQuota )
},
"kind": string
} |
Campos |
rows[] |
object (Row )
Son las filas de combinaciones de valores de dimensiones y valores de métricas en el informe.
|
totals[] |
object (Row )
Si se solicita, los valores totales de las métricas
|
maximums[] |
object (Row )
Si se solicita, los valores máximos de las métricas
|
minimums[] |
object (Row )
Si se solicita, los valores mínimos de las métricas
|
rowCount |
integer
Es la cantidad total de filas en el resultado de la consulta. rowCount es independiente de la cantidad de filas que se muestran en la respuesta, el parámetro de solicitud limit y el parámetro de solicitud offset . Por ejemplo, si una consulta muestra 175 filas y, además, incluye limit de 50 en la solicitud a la API, la respuesta contendrá rowCount de 175, pero solo 50 filas. Para obtener más información sobre este parámetro de paginación, consulta Paginación.
|
metadata |
object (ResponseMetaData )
Metadatos del informe.
|
propertyQuota |
object (PropertyQuota )
El estado de la cuota de esta propiedad de Google Analytics, incluida esta solicitud
|
kind |
string
Identifica qué tipo de recurso es este mensaje. Este kind siempre es la cadena fija "analyticsData#runReport". Es útil para distinguir entre los tipos de respuesta en JSON.
|
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\u003eThe JSON response for a report request includes dimension and metric headers, rows of data, and optional totals, maximums, and minimums.\u003c/p\u003e\n"],["\u003cp\u003eThe response also provides metadata, property quota information, and the total row count, which may exceed the number of rows returned due to pagination.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003edimensionHeaders\u003c/code\u003e and \u003ccode\u003emetricHeaders\u003c/code\u003e describe the columns, while \u003ccode\u003erows\u003c/code\u003e contain the actual data values for each dimension-metric combination.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003erowCount\u003c/code\u003e represents the total rows in the query result, independent of pagination limits, and \u003ccode\u003emetadata\u003c/code\u003e offers additional context about the report.\u003c/p\u003e\n"]]],["The report response contains a JSON representation with various fields. It includes `dimensionHeaders` and `metricHeaders` which describe the columns and their order in the report's rows. The `rows` field contains the actual data. Additionally, `totals`, `maximums`, and `minimums` can present aggregated metric values. `rowCount` provides the total rows, independent of pagination. `metadata` offers report details, `propertyQuota` shows quota state, and `kind` specifies the resource type as \"analyticsData#runReport\".\n"],null,["# RunReportResponse\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe response report table corresponding to a request.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"dimensionHeaders\": [ { object (/analytics/devguides/reporting/data/v1/rest/v1beta/DimensionHeader) } ], \"metricHeaders\": [ { object (/analytics/devguides/reporting/data/v1/rest/v1beta/MetricHeader) } ], \"rows\": [ { object (/analytics/devguides/reporting/data/v1/rest/v1beta/Row) } ], \"totals\": [ { object (/analytics/devguides/reporting/data/v1/rest/v1beta/Row) } ], \"maximums\": [ { object (/analytics/devguides/reporting/data/v1/rest/v1beta/Row) } ], \"minimums\": [ { object (/analytics/devguides/reporting/data/v1/rest/v1beta/Row) } ], \"rowCount\": integer, \"metadata\": { object (/analytics/devguides/reporting/data/v1/rest/v1beta/ResponseMetaData) }, \"propertyQuota\": { object (/analytics/devguides/reporting/data/v1/rest/v1beta/PropertyQuota) }, \"kind\": string } ``` |\n\n| Fields ||\n|------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `dimension``Headers[]` | `object (`[DimensionHeader](/analytics/devguides/reporting/data/v1/rest/v1beta/DimensionHeader)`)` Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows. |\n| `metric``Headers[]` | `object (`[MetricHeader](/analytics/devguides/reporting/data/v1/rest/v1beta/MetricHeader)`)` Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows. |\n| `rows[]` | `object (`[Row](/analytics/devguides/reporting/data/v1/rest/v1beta/Row)`)` Rows of dimension value combinations and metric values in the report. |\n| `totals[]` | `object (`[Row](/analytics/devguides/reporting/data/v1/rest/v1beta/Row)`)` If requested, the totaled values of metrics. |\n| `maximums[]` | `object (`[Row](/analytics/devguides/reporting/data/v1/rest/v1beta/Row)`)` If requested, the maximum values of metrics. |\n| `minimums[]` | `object (`[Row](/analytics/devguides/reporting/data/v1/rest/v1beta/Row)`)` If requested, the minimum values of metrics. |\n| `row``Count` | `integer` The total number of rows in the query result. `rowCount` is independent of the number of rows returned in the response, the `limit` request parameter, and the `offset` request parameter. For example if a query returns 175 rows and includes `limit` of 50 in the API request, the response will contain `rowCount` of 175 but only 50 rows. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). |\n| `metadata` | `object (`[ResponseMetaData](/analytics/devguides/reporting/data/v1/rest/v1beta/ResponseMetaData)`)` Metadata for the report. |\n| `property``Quota` | `object (`[PropertyQuota](/analytics/devguides/reporting/data/v1/rest/v1beta/PropertyQuota)`)` This Google Analytics property's quota state including this request. |\n| `kind` | `string` Identifies what kind of resource this message is. This `kind` is always the fixed string \"analyticsData#runReport\". Useful to distinguish between response types in JSON. |"]]