Google Analytics · Schema

GetReportsResponse

The main response class which holds the reports from the Reporting API `batchGet` call.

AnalyticsDataGoogleMetricsReportingWeb AnalyticsMachine LearningAttribution

Properties

Name Type Description
queryCost integer The amount of resource quota tokens deducted to execute the query. Includes all responses.
reports array Responses corresponding to each of the request.
resourceQuotasRemaining object The amount of resource quota remaining for the property.
View JSON Schema on GitHub

JSON Schema

google-analytics-getreportsresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GetReportsResponse",
  "title": "GetReportsResponse",
  "description": "The main response class which holds the reports from the Reporting API `batchGet` call.",
  "properties": {
    "queryCost": {
      "description": "The amount of resource quota tokens deducted to execute the query. Includes all responses.",
      "format": "int32",
      "type": "integer",
      "example": 42
    },
    "reports": {
      "description": "Responses corresponding to each of the request.",
      "items": {
        "$ref": "#/components/schemas/Report"
      },
      "type": "array"
    },
    "resourceQuotasRemaining": {
      "$ref": "#/components/schemas/ResourceQuotasRemaining",
      "description": "The amount of resource quota remaining for the property."
    }
  },
  "type": "object"
}