LinkedIn · JSON Structure

Linkedin Marketing Campaigns Campaign Structure

Campaign from LinkedIn API

Type: object Properties: 10
BusinessCareersMarketingProfessional NetworkingRecruitingSocial MediaFortune 1000

Campaign is a JSON Structure definition published by LinkedIn, describing 10 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id name account campaignGroup status type objectiveType runSchedule dailyBudget totalBudget

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/linkedin/refs/heads/main/json-structure/linkedin-marketing-campaigns-campaign-structure.json",
  "name": "Campaign",
  "description": "Campaign from LinkedIn API",
  "type": "object",
  "properties": {
    "id": {
      "type": "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"
    }
  }
}