API Reference
Image upload (www.linkedin.com)PUTUpload the image bytesGETDownload an image
Reporting (adAnalytics)

Report by one pivot

GET/rest/adAnalytics?q=analytics
Base URL: https://linkedin-ads.mimicr.dev · provider: https://api.linkedin.com

Metrics grouped by one pivot, including the MEMBER_* demographic pivots (values with fewer than 3 events are dropped; data lags 12 hours in Mimicr). At least one facet (accounts, campaignGroups, campaigns, creatives, shares, companies) is required. Scope r_ads_reporting plus a role on the accounts; facets the member can't read are dropped silently. There is no pagination: paging is constant. Test accounts have no data.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Headers

LinkedIn-Versionstringrequired

API version, YYYYMM (the latest is 202610). Missing → 400 VERSION_MISSING; sunset, unknown or unreleased → 426 NONEXISTENT_VERSION. 202511 stops on 2026-11-16 by the sandbox clock.

Example: "202610"
X-Restli-Protocol-Versionstringrequired

Always 2.0.0. Calls that use the 2.0 syntax (List(…), (key:value), encoded URN keys) without it answer 400 "Invalid query parameters passed to request".

2.0.0

Query parameters

qstringrequired

Finder.

analytics
pivotstringrequired

Pivot (pivot.value=CAMPAIGN is accepted too).

23 values
COMPANYACCOUNTSHARECAMPAIGNCREATIVECAMPAIGN_GROUPCONVERSIONCONVERSATION_NODECONVERSATION_NODE_OPTION_INDEXSERVING_LOCATIONCARD_INDEXMEMBER_COMPANY_SIZEMEMBER_INDUSTRYMEMBER_SENIORITYMEMBER_JOB_TITLEMEMBER_JOB_FUNCTIONMEMBER_COUNTRY_V2MEMBER_REGION_V2MEMBER_COMPANYMEMBER_DESIGNATED_MARKET_AREAPLACEMENT_NAMEIMPRESSION_DEVICE_TYPEEVENT_STAGE
timeGranularitystringrequired

Time buckets.

ALLDAILYMONTHLYYEARLY
dateRangestringrequired

(start:(year:2026,month:11,day:1),end:(year:2026,month:11,day:30)). start is required; end is inclusive and optional (open = through today). Dates are UTC.

accountsstring

List(…) of encoded account URNs.

campaignGroupsstring

List(…) of encoded campaign group URNs.

campaignsstring

List(…) of encoded campaign URNs.

creativesstring

List(…) of encoded creative URNs.

sharesstring

List(…) of encoded post URNs.

companiesstring

List(…) of encoded organization URNs.

fieldsstring

Comma-separated metrics, up to 20, plus dateRange and pivotValues. Without it only impressions and clicks come back.

sortBystring

(field:IMPRESSIONS,order:DESCENDING).

Responses

200Rows; {"elements": []} when there is no activity.
elementsobject[]
Show child attributes
dateRangeobject

Time bucket of the row.

Show child attributes
startobject

A UTC date.

Show child attributes
yearinteger
monthinteger
dayinteger
endobject

A UTC date.

Show child attributes
yearinteger
monthinteger
dayinteger
pivotValuesstring[]

Values of the pivots of the row: URNs (urn:li:sponsoredCampaign:…) or enum values (ON_SITE, LEAD_GENERATION).

actionClicksinteger
adUnitClicksinteger
appointmentsScheduledinteger

Available since 202605; asking for it with an older LinkedIn-Version answers 400 "Unknown field appointmentsScheduled in fields".

approximateMemberReachinteger

Estimated unique members reached. Omitted when the range is over 92 days. Omitted on MEMBER_* pivots.

averageDwellTimeinteger

Available since 202411; asking for it with an older LinkedIn-Version answers 400 "Unknown field averageDwellTime in fields".

averageEventWatchTimenumber
averageEventWatchTimeOver15Secondsnumber
averageEventWatchTimeOver2Minutesnumber
averageEventWatchTimeOver30Secondsnumber
averageVideoWatchTimenumber
audiencePenetrationnumber

Reach divided by the audience size. Available since 202411; asking for it with an older LinkedIn-Version answers 400 "Unknown field audiencePenetration in fields".

cardClicksinteger

Omitted on MEMBER_* pivots.

cardImpressionsinteger

Omitted on MEMBER_* pivots.

clicksinteger

Chargeable clicks.

commentLikesinteger
commentsinteger

Comments.

companyPageClicksinteger
conversionValueInLocalCurrencystring

Value of the attributed conversions in the account currency, as a BigDecimal string. Omitted on MEMBER_* pivots.

costInLocalCurrencystring

Spend in the ad account currency: a BigDecimal string with up to 5 decimals ("167.14093", "0.0").

costInUsdstring

Spend in USD, as a BigDecimal string. In Mimicr: local spend ÷ the sandbox FX rate.

costPerEventViewnumber
costPerEventViewOver15Secondsnumber
costPerEventViewOver2Minutesnumber
costPerEventViewOver30Secondsnumber
costPerQualifiedLeadstring

BigDecimal, as a string.

documentCompletionsinteger
documentFirstQuartileCompletionsinteger
documentMidpointCompletionsinteger
documentThirdQuartileCompletionsinteger
downloadClicksinteger
eventViewsinteger
eventViewsOver15Secondsinteger
eventViewsOver2Minutesinteger
eventViewsOver30Secondsinteger
eventWatchTimeinteger
externalWebsiteConversionsinteger

Conversions attributed to the ads (post-click and post-view).

externalWebsitePostClickConversionsinteger

Post-click conversions.

externalWebsitePostViewConversionsinteger

Post-view conversions.

followsinteger

Company page follows.

fullScreenPlaysinteger
headlineClicksinteger
headlineImpressionsinteger
impressionsinteger

Impressions of the ads.

jobApplicationsstring

BigDecimal, as a string.

jobApplyClicksstring

BigDecimal, as a string.

landingPageClicksinteger

Clicks to the landing page.

leadGenerationMailContactInfoSharesinteger
leadGenerationMailInterestedClicksinteger
likesinteger
memberFollowsinteger

Available since 202610; asking for it with an older LinkedIn-Version answers 400 "Unknown field memberFollows in fields".

memberProfileClicksinteger

Available since 202610; asking for it with an older LinkedIn-Version answers 400 "Unknown field memberProfileClicks in fields".

oneClickLeadFormOpensinteger

Lead Gen Form opens.

oneClickLeadsinteger

Leads submitted through Lead Gen Forms.

opensinteger
otherEngagementsinteger
postClickJobApplicationsstring

BigDecimal, as a string.

postClickJobApplyClicksstring

BigDecimal, as a string.

postClickRegistrationsstring

BigDecimal, as a string.

postViewJobApplicationsstring

BigDecimal, as a string.

postViewJobApplyClicksstring

BigDecimal, as a string.

postViewRegistrationsstring

BigDecimal, as a string.

qualifiedLeadsinteger
reactionsinteger

Reactions.

registrationsstring

BigDecimal, as a string.

sendsinteger
sharesinteger

Shares.

subscriptionClicksinteger
talentLeadsinteger
textUrlClicksinteger
totalEngagementsinteger

Clicks, reactions, comments, shares and follows.

validWorkEmailLeadsinteger
videoCompletionsinteger

Videos watched to the end.

videoFirstQuartileCompletionsinteger
videoMidpointCompletionsinteger
videoStartsinteger

Video starts.

videoThirdQuartileCompletionsinteger
videoViewsinteger

Video views.

videoWatchTimeinteger
viralCardClicksinteger

Omitted on MEMBER_* pivots.

viralCardImpressionsinteger

Omitted on MEMBER_* pivots.

viralClicksinteger
viralCommentLikesinteger
viralCommentsinteger
viralCompanyPageClicksinteger
viralDocumentCompletionsinteger
viralDocumentFirstQuartileCompletionsinteger
viralDocumentMidpointCompletionsinteger
viralDocumentThirdQuartileCompletionsinteger
viralDownloadClicksinteger
viralExternalWebsiteConversionsinteger
viralExternalWebsitePostClickConversionsinteger
viralExternalWebsitePostViewConversionsinteger
viralFollowsinteger
viralFullScreenPlaysinteger
viralImpressionsinteger
viralJobApplicationsstring

BigDecimal, as a string.

viralJobApplyClicksstring

BigDecimal, as a string.

viralLandingPageClicksinteger
viralLikesinteger
viralOneClickLeadFormOpensinteger
viralOneClickLeadsinteger
viralOtherEngagementsinteger
viralPostClickJobApplicationsstring

BigDecimal, as a string.

viralPostClickJobApplyClicksstring

BigDecimal, as a string.

viralPostClickRegistrationsstring

BigDecimal, as a string.

viralPostViewJobApplicationsstring

BigDecimal, as a string.

viralPostViewJobApplyClicksstring

BigDecimal, as a string.

viralPostViewRegistrationsstring

BigDecimal, as a string.

viralReactionsinteger
viralRegistrationsstring

BigDecimal, as a string.

viralSharesinteger
viralSubscriptionClicksinteger
viralTotalEngagementsinteger
viralVideoCompletionsinteger
viralVideoFirstQuartileCompletionsinteger
viralVideoMidpointCompletionsinteger
viralVideoStartsinteger
viralVideoThirdQuartileCompletionsinteger
viralVideoViewsinteger
revenueAttributionMetricsobject

Only in q=attributedRevenueMetrics. Zero in Mimicr unless the homologation toggle crmConnected is on.

Show child attributes
revenueWonInUsdstring
returnOnAdSpendnumber
closedWonOpportunitiesinteger
opportunityAmountInUsdstring
openOpportunitiesinteger
opportunityWinRatenumber
averageDealSizeInUsdstring
averageDaysToClosenumber
pagingobject

Index pagination.

Show child attributes
startinteger

Index of the first element.

countinteger

Page size.

totalinteger

Total elements, when known.

linksobject[]

Always empty in Mimicr.

400Invalid request: missing LinkedIn-Version (VERSION_MISSING), Rest.li 2.0 syntax without X-Restli-Protocol-Version or with unencoded URNs ("Invalid query parameters passed to request"), or invalid parameters.
statusinteger

HTTP status.

serviceErrorCodeinteger

Service error code (100, 401, 65600…).

codestring

Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).

messagestring

Error message.

401Missing token (Empty oauth2_access_token), invalid token (65600 INVALID_ACCESS_TOKEN), revoked (65601 REVOKED_ACCESS_TOKEN) or expired (65602 EXPIRED_ACCESS_TOKEN).
statusinteger

HTTP status.

serviceErrorCodeinteger

Service error code (100, 401, 65600…).

codestring

Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).

messagestring

Error message.

403The token lacks the scope (ACCESS_DENIED, "Not enough permissions to access: {resource}.{METHOD}.{version}") or the member's role is too low (NO_PERMISSION_ON_ENTITY).
statusinteger

HTTP status.

serviceErrorCodeinteger

Service error code (100, 401, 65600…).

codestring

Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).

messagestring

Error message.

408TIMEOUT, from the sandbox chaos.
statusinteger

HTTP status.

serviceErrorCodeinteger

Service error code (100, 401, 65600…).

codestring

Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).

messagestring

Error message.

426LinkedIn-Version sunset, unknown or not released: NONEXISTENT_VERSION "Requested version {version} is not active".
statusinteger

HTTP status.

serviceErrorCodeinteger

Service error code (100, 401, 65600…).

codestring

Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).

messagestring

Error message.

429Daily quota of the application or the member reached: TOO_MANY_REQUESTS, with Retry-After (seconds to 00:00 UTC).
statusinteger

HTTP status.

serviceErrorCodeinteger

Service error code (100, 401, 65600…).

codestring

Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).

messagestring

Error message.