Optimizely · Schema

CampaignInput

Input for creating or updating a campaign

A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing

Properties

Name Type Description
project_id integer The project this campaign belongs to
name string Human-readable name of the campaign
status string Current status of the campaign
View JSON Schema on GitHub

JSON Schema

optimizely-campaigninput-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CampaignInput",
  "title": "CampaignInput",
  "type": "object",
  "description": "Input for creating or updating a campaign",
  "properties": {
    "project_id": {
      "type": "integer",
      "format": "int64",
      "description": "The project this campaign belongs to"
    },
    "name": {
      "type": "string",
      "description": "Human-readable name of the campaign"
    },
    "status": {
      "type": "string",
      "description": "Current status of the campaign",
      "enum": [
        "active",
        "paused",
        "not_started",
        "archived"
      ]
    }
  }
}