Facebook · Schema

Campaign

An advertising campaign.

Fortune 500AdvertisingContent PublishingMessagingSocial MediaSocial Networking

Properties

Name Type Description
id string Campaign ID.
name string Campaign name.
objective string Campaign objective.
status string Campaign status.
daily_budget string Daily budget in cents.
lifetime_budget string Lifetime budget in cents.
created_time string Campaign creation time.
updated_time string Campaign last update time.
View JSON Schema on GitHub

JSON Schema

facebook-campaign-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Campaign",
  "title": "Campaign",
  "type": "object",
  "description": "An advertising campaign.",
  "properties": {
    "id": {
      "type": "string",
      "description": "Campaign ID.",
      "example": "400001234567890"
    },
    "name": {
      "type": "string",
      "description": "Campaign name.",
      "example": "Spring Sale 2026"
    },
    "objective": {
      "type": "string",
      "description": "Campaign objective.",
      "example": "OUTCOME_SALES"
    },
    "status": {
      "type": "string",
      "description": "Campaign status.",
      "enum": [
        "ACTIVE",
        "PAUSED",
        "DELETED",
        "ARCHIVED"
      ],
      "example": "ACTIVE"
    },
    "daily_budget": {
      "type": "string",
      "description": "Daily budget in cents.",
      "example": "5000"
    },
    "lifetime_budget": {
      "type": "string",
      "description": "Lifetime budget in cents."
    },
    "created_time": {
      "type": "string",
      "format": "date-time",
      "description": "Campaign creation time."
    },
    "updated_time": {
      "type": "string",
      "format": "date-time",
      "description": "Campaign last update time."
    }
  }
}