LinkedIn Marketing API · JSON-LD Context

Linkedin Ads Context

JSON-LD context defining the semantic vocabulary for Linkedin Ads from LinkedIn Marketing API.

5 Classes 24 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
linkedin: https://linkedin.com/schema#

Classes

AdAccount MoneyAmount Creative AdCampaign AdCampaignGroup

Properties

Property Type Container
currency string
name string
notifiedOnCampaignOptimization boolean
notifiedOnCreativeApproval boolean
notifiedOnCreativeRejection boolean
notifiedOnEndOfCampaign boolean
reference string
type string
amount string
currencyCode string
campaign string
status string
variables
account string
costType string
dailyBudget reference
unitCost reference
locale
runSchedule
targetingCriteria
audienceExpansionEnabled boolean
creativeSelection string
offsiteDeliveryEnabled boolean
totalBudget reference

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://linkedin.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "linkedin": "https://linkedin.com/schema#",
    "AdAccount": "linkedin:AdAccount",
    "currency": {
      "@id": "linkedin:currency",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "linkedin:name",
      "@type": "xsd:string"
    },
    "notifiedOnCampaignOptimization": {
      "@id": "linkedin:notifiedOnCampaignOptimization",
      "@type": "xsd:boolean"
    },
    "notifiedOnCreativeApproval": {
      "@id": "linkedin:notifiedOnCreativeApproval",
      "@type": "xsd:boolean"
    },
    "notifiedOnCreativeRejection": {
      "@id": "linkedin:notifiedOnCreativeRejection",
      "@type": "xsd:boolean"
    },
    "notifiedOnEndOfCampaign": {
      "@id": "linkedin:notifiedOnEndOfCampaign",
      "@type": "xsd:boolean"
    },
    "reference": {
      "@id": "linkedin:reference",
      "@type": "xsd:string"
    },
    "type": {
      "@id": "linkedin:type",
      "@type": "xsd:string"
    },
    "MoneyAmount": "linkedin:MoneyAmount",
    "amount": {
      "@id": "linkedin:amount",
      "@type": "xsd:string"
    },
    "currencyCode": {
      "@id": "linkedin:currencyCode",
      "@type": "xsd:string"
    },
    "Creative": "linkedin:Creative",
    "campaign": {
      "@id": "linkedin:campaign",
      "@type": "xsd:string"
    },
    "status": {
      "@id": "linkedin:status",
      "@type": "xsd:string"
    },
    "variables": {
      "@id": "linkedin:variables"
    },
    "AdCampaign": "linkedin:AdCampaign",
    "account": {
      "@id": "linkedin:account",
      "@type": "xsd:string"
    },
    "costType": {
      "@id": "linkedin:costType",
      "@type": "xsd:string"
    },
    "dailyBudget": {
      "@id": "linkedin:dailyBudget",
      "@type": "@id"
    },
    "unitCost": {
      "@id": "linkedin:unitCost",
      "@type": "@id"
    },
    "locale": {
      "@id": "linkedin:locale"
    },
    "runSchedule": {
      "@id": "linkedin:runSchedule"
    },
    "targetingCriteria": {
      "@id": "linkedin:targetingCriteria"
    },
    "audienceExpansionEnabled": {
      "@id": "linkedin:audienceExpansionEnabled",
      "@type": "xsd:boolean"
    },
    "creativeSelection": {
      "@id": "linkedin:creativeSelection",
      "@type": "xsd:string"
    },
    "offsiteDeliveryEnabled": {
      "@id": "linkedin:offsiteDeliveryEnabled",
      "@type": "xsd:boolean"
    },
    "AdCampaignGroup": "linkedin:AdCampaignGroup",
    "totalBudget": {
      "@id": "linkedin:totalBudget",
      "@type": "@id"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "LinkedIn Marketing API API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects LinkedIn Marketing API's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-05) from openapi/linkedin-ads-ad-accounts-api-openapi.yml, openapi/linkedin-ads-ad-targeting-entities-api-openapi.yml, openapi/linkedin-ads-adbudgetpricing-api-openapi.yml.",
  "dcterms:created": "2026-11-05",
  "dcterms:source": [
    "openapi/linkedin-ads-ad-accounts-api-openapi.yml",
    "openapi/linkedin-ads-ad-targeting-entities-api-openapi.yml",
    "openapi/linkedin-ads-adbudgetpricing-api-openapi.yml",
    "openapi/linkedin-ads-adtargetingfacets-api-openapi.yml",
    "openapi/linkedin-ads-audience-counts-api-openapi.yml"
  ]
}