Guides
Getting started

Versions

The LinkedIn-Version header, the monthly version calendar, the end of 202511 on 2026-11-16 and the fields that only exist from a given version.

The Marketing API is versioned monthly. Every /rest call needs the LinkedIn-Version: YYYYMM header; LinkedIn never applies the latest version on its own. The latest is 202610 (October 2026), and each version is supported for at least one year.

bash
curl https://linkedin-ads.mimicr.dev/rest/adAccounts/521119150 \
  --header 'Authorization: Bearer <token>' \
  --header 'LinkedIn-Version: 202610' \
  --header 'X-Restli-Protocol-Version: 2.0.0'

The header name is case-insensitive (the docs also spell it Linkedin-Version), and X-LinkedIn-Version is accepted. Patch versions YYYYMM.RR count as YYYYMM. Every response returns the version used in the x-li-version header.

Active versions

VersionSunset
2026102027-10-15
2026092027-09-15
2026082027-08-17
202607 to 202601Between 2027-07-15 and 2027-01-15
2025112026-11-16
202510 and olderSunset

There is no 202512. 202611 hasn't been published by LinkedIn yet and answers 426 until someone runs the version.release control action (Mimicr's decision: its contents are still unknown).

Errors

Without the header:

json
{ "status": 400, "code": "VERSION_MISSING", "message": "A version must be present. Please specify a version by adding the Linkedin-Version header." }

A sunset, unknown or not yet released version:

json
{ "status": 426, "code": "NONEXISTENT_VERSION", "message": "Requested version 202510 is not active" }

The old unversioned Marketing API paths (/v2/adAccountsV2, /v2/adCampaignsV2, /v2/adAnalyticsV2…) were sunset in 2024 and answer 426 with "Requested version unversioned is not active". GET /v2/me still works and needs no header.

On the sandbox clock, 202511 stops working on 2026-11-16. If your integration pins that version, advance the clock to see the 426 before your users do: npx mimicr clock linkedin-ads +10d.

Version-gated fields

Using a field or value before the version that introduced it answers 400 FIELD_NOT_ALLOWED ("{field} is not allowed to be set") or the specific error below.

SinceBehaviour
202504Campaign group dailyBudget (only with budgetOptimizationStrategy DYNAMIC)
202602optimizationTargetType MAX_QUALIFIED_LEAD
202605conversionOwnershipTypes on GET /rest/conversions?q=account; metric appointmentsScheduled
202608Conversion types MARKETING_QUALIFIED_LEAD and SALES_QUALIFIED_LEAD; group fields buyingType and beneficiaryReference
202609Pivot MEMBER_DESIGNATED_MARKET_AREA; userInfo.hashedFirstName and hashedLastName in the Conversions API
202610Creative metadata (only on a single GET with fields); read-only content.standardUpdateAd and content.videoAd; metrics memberFollows and memberProfileClicks

Metrics asked for in fields with an older version answer 400 "Unknown field memberFollows in fields".

Controlling versions in the sandbox

ActionEffect
version.release version=202611Releases a not yet published version in this sandbox
version.sunset version=202601Sunsets a version now: 426 from then on

GET /v1/linkedin-ads lists in versions each version with active and its sunset date. With the lenientRestli toggle on, a call without LinkedIn-Version uses the latest instead of answering 400 (see Testing in the sandbox).