Metricool · Schema

CampaignCreationState

CompanySocial MediaMarketingAnalyticsSoftware-as-a-Service

Properties

Name Type Description
name string
targetUrl string
startDate object
endDate object
currency string
budget number
budgetType string
bidStrategy string
targetCPA number
maxCPC number
providers array
segmentation object
ads array
verifier string
txCode string
code string
googleAdsData object
View JSON Schema on GitHub

JSON Schema

metricool-campaign-creation-state-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/metricool/json-schema/metricool-campaign-creation-state-schema.json",
  "title": "CampaignCreationState",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/metricool-ads-previews-api-service-api-openapi.yml#/components/schemas/CampaignCreationState",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "targetUrl": {
      "type": "string"
    },
    "startDate": {
      "$ref": "#/$defs/DateTimeInfo"
    },
    "endDate": {
      "$ref": "#/$defs/DateTimeInfo"
    },
    "currency": {
      "type": "string"
    },
    "budget": {
      "type": "number"
    },
    "budgetType": {
      "type": "string"
    },
    "bidStrategy": {
      "type": "string"
    },
    "targetCPA": {
      "type": "number"
    },
    "maxCPC": {
      "type": "number"
    },
    "providers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AdPlatformInfo"
      }
    },
    "segmentation": {
      "$ref": "#/$defs/Segmentation"
    },
    "ads": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Ad"
      }
    },
    "verifier": {
      "type": "string"
    },
    "txCode": {
      "type": "string"
    },
    "code": {
      "type": "string"
    },
    "googleAdsData": {
      "$ref": "#/$defs/GoogleAdsData"
    }
  },
  "$defs": {
    "Ad": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "businessName": {
          "type": "string"
        },
        "website": {
          "type": "string"
        },
        "titles": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "descriptions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "logoUrl": {
          "type": "string"
        },
        "mediaItems": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MediaItem"
          }
        }
      }
    },
    "AdPlatformInfo": {
      "required": [
        "platformId"
      ],
      "type": "object",
      "properties": {
        "platformId": {
          "type": "string"
        },
        "objective": {
          "type": "string"
        },
        "displaySites": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "interests": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "keywords": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "dsaPayor": {
          "type": "string"
        },
        "dsaBeneficiary": {
          "type": "string"
        },
        "pixel": {
          "type": "string"
        },
        "customEvent": {
          "type": "string"
        }
      }
    },
    "DateTimeInfo": {
      "required": [
        "dateTime"
      ],
      "type": "object",
      "properties": {
        "dateTime": {
          "type": "string",
          "description": "Local Date-time represented with a certain timezone "
        },
        "timezone": {
          "type": "string",
          "description": "Timezone applied to the datetime"
        }
      }
    },
    "GoogleAdsData": {
      "type": "object",
      "properties": {
        "username": {
          "type": "string"
        },
        "providerUserId": {
          "type": "string"
        },
        "picture": {
          "type": "string"
        }
      }
    },
    "Location": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      }
    },
    "MediaItem": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        },
        "mediaType": {
          "type": "string"
        },
        "width": {
          "type": "string"
        },
        "height": {
          "type": "string"
        }
      }
    },
    "Segmentation": {
      "type": "object",
      "properties": {
        "ageRanges": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "gender": {
          "type": "string"
        },
        "language": {
          "type": "string"
        },
        "locations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Location"
          }
        }
      }
    }
  }
}

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/metricool-campaign-creation-state"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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