albertsons · Schema

Report Request

Request body for generating a custom performance report.

GroceryRetailRetail MediaAdvertisingCampaignsAnalyticsConsumer GoodsFoodPharmacy

Properties

Name Type Description
campaignIds array List of campaign IDs to include in the report. Empty returns all.
startDate string Start date for the report period (ISO 8601).
endDate string End date for the report period (ISO 8601).
dimensions array Dimensions to group report data by.
metrics array Metrics to include in the report.
format string Output format for the report.
View JSON Schema on GitHub

JSON Schema

retail-media-api-report-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/albertsons/refs/heads/main/json-schema/retail-media-api-report-request-schema.json",
  "title": "Report Request",
  "description": "Request body for generating a custom performance report.",
  "type": "object",
  "properties": {
    "campaignIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of campaign IDs to include in the report. Empty returns all.",
      "example": [
        "500123"
      ]
    },
    "startDate": {
      "type": "string",
      "format": "date",
      "description": "Start date for the report period (ISO 8601).",
      "example": "2026-03-01"
    },
    "endDate": {
      "type": "string",
      "format": "date",
      "description": "End date for the report period (ISO 8601).",
      "example": "2026-03-31"
    },
    "dimensions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Dimensions to group report data by.",
      "example": [
        "date",
        "campaign"
      ]
    },
    "metrics": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Metrics to include in the report.",
      "example": [
        "impressions",
        "clicks",
        "roas"
      ]
    },
    "format": {
      "type": "string",
      "enum": [
        "json",
        "csv"
      ],
      "description": "Output format for the report.",
      "example": "json"
    }
  },
  "required": [
    "startDate",
    "endDate"
  ]
}