Fractional Teams · Schema

PaidMediaCampaignHistory

MarketingProduct ConsultingCxO LeadershipLead GenerationCloud StrategyTechnical PlatformsEvent

Properties

Name Type Description
campaign object
metrics array Oldest first; one entry per pull
View JSON Schema on GitHub

JSON Schema

fractionalteams-com-paid-media-campaign-history-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fractionalteams-com/json-schema/fractionalteams-com-paid-media-campaign-history-schema.json",
  "title": "PaidMediaCampaignHistory",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/fractionalteams-com-api-openapi.json#/components/schemas/PaidMediaCampaignHistory",
  "type": "object",
  "required": [
    "campaign",
    "metrics"
  ],
  "properties": {
    "campaign": {
      "type": "object",
      "required": [
        "campaign_id",
        "name",
        "platform"
      ],
      "properties": {
        "campaign_id": {
          "type": "integer"
        },
        "external_campaign_id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "objective": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_seen_at": {
          "type": "string"
        },
        "platform": {
          "type": "string",
          "enum": [
            "reddit",
            "linkedin"
          ]
        },
        "account_label": {
          "type": "string"
        },
        "external_account_id": {
          "type": "string"
        }
      }
    },
    "metrics": {
      "type": "array",
      "description": "Oldest first; one entry per pull",
      "items": {
        "$ref": "#/$defs/PaidMediaMetrics"
      }
    }
  },
  "$defs": {
    "PaidMediaMetrics": {
      "type": "object",
      "description": "One pull: delivery over the 30-day window ending at window_end, recorded at pulled_at.",
      "required": [
        "window_start",
        "window_end",
        "impressions",
        "clicks",
        "spend_minor_units",
        "spend",
        "currency",
        "pulled_at"
      ],
      "properties": {
        "window_start": {
          "type": "string",
          "format": "date"
        },
        "window_end": {
          "type": "string",
          "format": "date"
        },
        "impressions": {
          "type": "integer"
        },
        "clicks": {
          "type": "integer"
        },
        "spend_minor_units": {
          "type": "integer",
          "description": "Spend in the currency's minor units (pence, cents, grosze)"
        },
        "spend": {
          "type": "number",
          "description": "The same spend in major units (spend_minor_units ÷ 100)"
        },
        "currency": {
          "type": "string",
          "description": "ISO 4217 code, e.g. GBP"
        },
        "pulled_at": {
          "type": "string",
          "description": "When the pull ran (UTC)"
        }
      }
    }
  }
}

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/fractionalteams-com-paid-media-campaign-history"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.