API Reference
Attributed revenue
/rest/adAnalytics?q=attributedRevenueMetricshttps://linkedin-ads.mimicr.dev · provider: https://api.linkedin.comRevenue attributed through a connected CRM, in revenueAttributionMetrics. Pivots ACCOUNT, CAMPAIGN_GROUP or CAMPAIGN; account is required and dateRange must span 30 to 366 days within the last year. In Mimicr the values are zero unless the homologation toggle crmConnected is on.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Headers
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.
"202610"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.0Query parameters
Finder.
attributedRevenueMetricsList(CAMPAIGN).
Encoded account URN.
(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.
Time buckets.
ALLDAILYMONTHLYYEARLYList(…) of encoded campaign group URNs.
List(…) of encoded campaign URNs.
Responses
200Rows; {"elements": []} when there is no activity.
Show child attributes
Time bucket of the row.
Show child attributes
A UTC date.
Show child attributes
A UTC date.
Show child attributes
Values of the pivots of the row: URNs (urn:li:sponsoredCampaign:…) or enum values (ON_SITE, LEAD_GENERATION).
Available since 202605; asking for it with an older LinkedIn-Version answers 400 "Unknown field appointmentsScheduled in fields".
Estimated unique members reached. Omitted when the range is over 92 days. Omitted on MEMBER_* pivots.
Available since 202411; asking for it with an older LinkedIn-Version answers 400 "Unknown field averageDwellTime in fields".
Reach divided by the audience size. Available since 202411; asking for it with an older LinkedIn-Version answers 400 "Unknown field audiencePenetration in fields".
Omitted on MEMBER_* pivots.
Omitted on MEMBER_* pivots.
Chargeable clicks.
Comments.
Value of the attributed conversions in the account currency, as a BigDecimal string. Omitted on MEMBER_* pivots.
Spend in the ad account currency: a BigDecimal string with up to 5 decimals ("167.14093", "0.0").
Spend in USD, as a BigDecimal string. In Mimicr: local spend ÷ the sandbox FX rate.
BigDecimal, as a string.
Conversions attributed to the ads (post-click and post-view).
Post-click conversions.
Post-view conversions.
Company page follows.
Impressions of the ads.
BigDecimal, as a string.
BigDecimal, as a string.
Clicks to the landing page.
Available since 202610; asking for it with an older LinkedIn-Version answers 400 "Unknown field memberFollows in fields".
Available since 202610; asking for it with an older LinkedIn-Version answers 400 "Unknown field memberProfileClicks in fields".
Lead Gen Form opens.
Leads submitted through Lead Gen Forms.
BigDecimal, as a string.
BigDecimal, as a string.
BigDecimal, as a string.
BigDecimal, as a string.
BigDecimal, as a string.
BigDecimal, as a string.
Reactions.
BigDecimal, as a string.
Shares.
Clicks, reactions, comments, shares and follows.
Videos watched to the end.
Video starts.
Video views.
Omitted on MEMBER_* pivots.
Omitted on MEMBER_* pivots.
BigDecimal, as a string.
BigDecimal, as a string.
BigDecimal, as a string.
BigDecimal, as a string.
BigDecimal, as a string.
BigDecimal, as a string.
BigDecimal, as a string.
BigDecimal, as a string.
BigDecimal, as a string.
Only in q=attributedRevenueMetrics. Zero in Mimicr unless the homologation toggle crmConnected is on.
Show child attributes
Index pagination.
Show child attributes
Index of the first element.
Page size.
Total elements, when known.
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.
HTTP status.
Service error code (100, 401, 65600…).
Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).
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).
HTTP status.
Service error code (100, 401, 65600…).
Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).
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).
HTTP status.
Service error code (100, 401, 65600…).
Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).
Error message.
408TIMEOUT, from the sandbox chaos.
HTTP status.
Service error code (100, 401, 65600…).
Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).
Error message.
426LinkedIn-Version sunset, unknown or not released: NONEXISTENT_VERSION "Requested version {version} is not active".
HTTP status.
Service error code (100, 401, 65600…).
Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).
Error message.
429Daily quota of the application or the member reached: TOO_MANY_REQUESTS, with Retry-After (seconds to 00:00 UTC).
HTTP status.
Service error code (100, 401, 65600…).
Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).
Error message.