{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-campaign-manager/json-schema/google-campaign-manager-report-data-response-schema.json",
  "title": "ReportDataResponse",
  "description": "Represents a response to report data request.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-campaign-manager-report-data-api-openapi.yml#/components/schemas/ReportDataResponse",
  "type": "object",
  "properties": {
    "columnHeaders": {
      "items": {
        "$ref": "#/$defs/ColumnHeader"
      },
      "type": "array",
      "description": "Output only. Ordered descriptors of the requested column fields.",
      "readOnly": true
    },
    "rows": {
      "items": {
        "$ref": "#/$defs/ReportDataRow"
      },
      "description": "Output only. The resulting set of matching data rows.",
      "readOnly": true,
      "type": "array"
    },
    "totalRow": {
      "$ref": "#/$defs/ReportDataRow",
      "description": "Output only. Singular aggregate total row for the entire query matching the criteria. Column headers apply in the exact same order as data rows. In the total_row: - All dimension columns contain an empty string (\"\"), as aggregation does not apply. - Non-summable metric columns (e.g. Reach metrics) contain an empty string (\"\"), as grand total aggregation cannot be mathematically/logically computed for them."
    },
    "nextPageToken": {
      "description": "Output only. Token to retrieve the next page of rows, or empty if end of results.",
      "readOnly": true,
      "type": "string"
    }
  },
  "$defs": {
    "ColumnHeader": {
      "description": "A column header in the report.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Output only. The column name.",
          "type": "string",
          "readOnly": true
        },
        "type": {
          "enum": [
            "COLUMN_TYPE_UNSPECIFIED",
            "DIMENSION",
            "METRIC"
          ],
          "description": "Output only. The column type.",
          "readOnly": true,
          "type": "string"
        }
      }
    },
    "ReportDataRow": {
      "properties": {
        "values": {
          "items": {
            "type": "string"
          },
          "readOnly": true,
          "type": "array",
          "description": "Output only. A single sequential list of all cell values matching column_headers indices exactly. - Metric cells that are suppressed due to Minimum Reporting Standard (MRS) privacy protection constraints return \"-\"."
        }
      },
      "type": "object",
      "description": "A row of report data."
    }
  }
}