MediaMath · Schema

campaign_full

Programmatic AdvertisingDSPDemand-Side PlatformCampaign ManagementAdTechBiddingAudience SegmentsCreative ManagementReportingAnalytics
View JSON Schema on GitHub

JSON Schema

campaigns-campaign_full.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "campaign_full",
  "allOf": [
    {
      "$ref": "#/components/schemas/campaign_base"
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "version": {
          "type": "integer"
        },
        "advertiser_id": {
          "type": "integer",
          "readOnly": true
        },
        "created_on": {
          "type": "string",
          "format": "date-time",
          "readOnly": true
        },
        "updated_on": {
          "type": "string",
          "format": "date-time",
          "readOnly": true
        },
        "locked_on": {
          "type": "string",
          "format": "date-time",
          "readOnly": true,
          "nullable": true
        },
        "v3_usage": {
          "type": "boolean",
          "readOnly": true
        },
        "duration": {
          "allOf": [
            {
              "$ref": "#/components/schemas/campaign_duration"
            },
            {
              "type": "object",
              "properties": {
                "initial_start_date": {
                  "type": "string",
                  "format": "date-time"
                }
              }
            }
          ]
        },
        "goals": {
          "$ref": "#/components/schemas/campaign_goals"
        },
        "budget": {
          "allOf": [
            {
              "$ref": "#/components/schemas/campaign_budget"
            },
            {
              "type": "object",
              "properties": {
                "flights": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/campaign_budget_flights"
                  }
                }
              }
            }
          ]
        },
        "frequency": {
          "$ref": "#/components/schemas/campaign_frequency"
        },
        "inventory": {
          "allOf": [
            {
              "$ref": "#/components/schemas/campaign_inventory"
            },
            {
              "type": "object",
              "properties": {
                "effective_ads_txt_verified": {
                  "type": "string",
                  "minLength": 1,
                  "enum": [
                    "ANY",
                    "AUTHORIZED_ONLY",
                    "AUTHORIZED_DIRECT_ONLY",
                    "NONE"
                  ]
                }
              }
            }
          ]
        },
        "site_lists": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/campaign_site_list"
          }
        },
        "custom_brain_selections": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/campaign_custom_brain_selection"
          }
        },
        "strategies": {
          "type": "object",
          "properties": {
            "count": {
              "type": "integer"
            },
            "strategies_list": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            },
            "distinct_strategy_goal_types": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "spend",
                  "reach",
                  "cpc",
                  "cpe",
                  "cpa",
                  "roi",
                  "ctr",
                  "vcr",
                  "viewability_rate",
                  "vcpm",
                  "cpcv"
                ]
              }
            }
          }
        },
        "strategy_groups": {
          "type": "object",
          "properties": {
            "count": {
              "type": "integer"
            },
            "strategy_groups_list": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/campaigns-campaign_full"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.