LinkedIn · Schema

Campaign

Campaign from LinkedIn API

BusinessCareersMarketingProfessional NetworkingRecruitingSocial-MediaFortune 1000

Properties

Name Type Description
id integer Unique identifier
name string Campaign name
account string Parent account URN
campaignGroup string Parent campaign group URN
status string Campaign status
type string Campaign type
objectiveType string Campaign objective
runSchedule object
dailyBudget object
totalBudget object
View JSON Schema on GitHub

JSON Schema

linkedin-marketing-campaigns-campaign-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/linkedin/refs/heads/main/json-schema/linkedin-marketing-campaigns-campaign-schema.json",
  "title": "Campaign",
  "description": "Campaign from LinkedIn API",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "Unique identifier",
      "example": 444555666
    },
    "name": {
      "type": "string",
      "description": "Campaign name",
      "example": "Spring Promotion Campaign"
    },
    "account": {
      "type": "string",
      "description": "Parent account URN",
      "example": "urn:li:sponsoredAccount:123456"
    },
    "campaignGroup": {
      "type": "string",
      "description": "Parent campaign group URN",
      "example": "urn:li:sponsoredCampaignGroup:111222333"
    },
    "status": {
      "type": "string",
      "enum": [
        "ACTIVE",
        "ARCHIVED",
        "CANCELLED",
        "DRAFT",
        "PAUSED",
        "PENDING_DELETION",
        "REMOVED"
      ],
      "description": "Campaign status",
      "example": "ACTIVE"
    },
    "type": {
      "type": "string",
      "enum": [
        "SPONSORED_UPDATES",
        "SPONSORED_INMAILS",
        "TEXT_AD"
      ],
      "description": "Campaign type",
      "example": "SPONSORED_UPDATES"
    },
    "objectiveType": {
      "type": "string",
      "enum": [
        "BRAND_AWARENESS",
        "ENGAGEMENT",
        "JOB_APPLICANTS",
        "LEAD_GENERATION",
        "VIDEO_VIEWS",
        "WEBSITE_CONVERSIONS",
        "WEBSITE_VISITS"
      ],
      "description": "Campaign objective",
      "example": "WEBSITE_VISITS"
    },
    "runSchedule": {
      "$ref": "#/components/schemas/RunSchedule"
    },
    "dailyBudget": {
      "$ref": "#/components/schemas/Budget"
    },
    "totalBudget": {
      "$ref": "#/components/schemas/Budget"
    }
  }
}

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/linkedin-marketing-campaigns-campaign"
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 email required.

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