albertsons · JSON Structure

Retail Media Api Create Campaign Request Structure

Request body for creating a new advertising campaign.

Type: object Properties: 5 Required: 4
GroceryRetailRetail MediaAdvertisingCampaignsAnalyticsConsumer GoodsFoodPharmacy

Create Campaign Request is a JSON Structure definition published by albertsons, describing 5 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

name budget startDate endDate targetAudienceIds

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/albertsons/refs/heads/main/json-structure/retail-media-api-create-campaign-request-structure.json",
  "name": "Create Campaign Request",
  "description": "Request body for creating a new advertising campaign.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Display name for the new campaign.",
      "example": "Summer Grocery Promotion"
    },
    "budget": {
      "type": "double",
      "description": "Total budget allocated to the campaign in USD.",
      "example": 25000.0
    },
    "startDate": {
      "type": "date",
      "description": "Campaign start date (ISO 8601).",
      "example": "2026-06-01"
    },
    "endDate": {
      "type": "date",
      "description": "Campaign end date (ISO 8601).",
      "example": "2026-08-31"
    },
    "targetAudienceIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of audience segment IDs for targeting.",
      "example": [
        "aud-001",
        "aud-002"
      ]
    }
  },
  "required": [
    "name",
    "budget",
    "startDate",
    "endDate"
  ]
}