RunReportResponse

  • The RunReportResponse object is the report table corresponding to a request.

  • It includes headers for dimensions and metrics, rows of data, and optional totals, maximums, and minimums for metrics.

  • The response also provides the total row count, metadata about the report, and information about the property's quota.

  • The "kind" field identifies the resource as "analyticsData#runReport".

The response report table corresponding to a request.

JSON representation
{"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}
Fields
dimensionHeaders[]

object (DimensionHeader)

Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

metricHeaders[]

object (MetricHeader)

Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

rows[]

object (Row)

Rows of dimension value combinations and metric values in the report.

totals[]

object (Row)

If requested, the totaled values of metrics.

maximums[]

object (Row)

If requested, the maximum values of metrics.

minimums[]

object (Row)

If requested, the minimum values of metrics.

rowCount

integer

The total number of rows in the query result.rowCount is independent of the number of rows returned in the response, thelimit request parameter, and theoffset request parameter. For example if a query returns 175 rows and includeslimit of 50 in the API request, the response will containrowCount of 175 but only 50 rows.

To learn more about this pagination parameter, seePagination.

metadata

object (ResponseMetaData)

Metadata for the report.

propertyQuota

object (PropertyQuota)

This Google Analytics property's quota state including this request.

kind

string

Identifies what kind of resource this message is. Thiskind is always the fixed string "analyticsData#runReport". Useful to distinguish between response types in JSON.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-11-19 UTC.