Guides
Reporting

adAnalytics

The analytics, statistics and attributedRevenueMetrics finders, the parameters, metric types, demographic pivots and how Mimicr generates the numbers.

Ad reports come from GET /rest/adAnalytics, with scope r_ads_reporting and a role on the accounts. There are three finders:

FinderPivotsUse
q=analyticsOne pivot, including the MEMBER_* demographicsThe everyday report
q=statisticspivots=List(…), 1 to 3, no demographics; adds OBJECTIVE_TYPECross breakdowns (campaign × creative)
q=attributedRevenueMetricsACCOUNT, CAMPAIGN_GROUP or CAMPAIGNRevenue attributed through a connected CRM

A query

bash
curl -s 'https://linkedin-ads.mimicr.dev/rest/adAnalytics?q=analytics&pivot=CAMPAIGN&timeGranularity=DAILY&dateRange=(start:(year:2026,month:11,day:5),end:(year:2026,month:11,day:7))&accounts=List(urn%3Ali%3AsponsoredAccount%3A521119150)&fields=dateRange,pivotValues,impressions,clicks,costInLocalCurrency,landingPageClicks,oneClickLeads,externalWebsiteConversions,conversionValueInLocalCurrency' \
  --header 'Authorization: Bearer <token>' --header 'LinkedIn-Version: 202610' --header 'X-Restli-Protocol-Version: 2.0.0'
json
{
  "elements": [
    {
      "dateRange": { "start": { "year": 2026, "month": 11, "day": 6 }, "end": { "year": 2026, "month": 11, "day": 6 } },
      "pivotValues": ["urn:li:sponsoredCampaign:347365458"],
      "impressions": 951, "clicks": 7, "costInLocalCurrency": "167.14093", "landingPageClicks": 1,
      "oneClickLeads": 1, "externalWebsiteConversions": 2, "conversionValueInLocalCurrency": "2400.0"
    },
    {
      "dateRange": { "start": { "year": 2026, "month": 11, "day": 7 }, "end": { "year": 2026, "month": 11, "day": 7 } },
      "pivotValues": ["urn:li:sponsoredCampaign:347365458"],
      "impressions": 68, "clicks": 0, "costInLocalCurrency": "13.17113", "landingPageClicks": 0,
      "oneClickLeads": 0, "externalWebsiteConversions": 0, "conversionValueInLocalCurrency": "0.0"
    }
  ],
  "paging": { "start": 0, "count": 10, "links": [] }
}

Days without activity don't show up. With no activity at all, the response is {"elements": []} with HTTP 200.

Parameters

ParameterRule
dateRange(start:(year,month,day),end:(…)) in UTC. start is required; end is inclusive and optional (open = through today)
timeGranularityRequired: ALL (one row for the range), DAILY, MONTHLY or YEARLY
FacetsAt least one: accounts, campaignGroups, campaigns, creatives, shares or companies, each List(encoded URNs)
fieldsUp to 20 metrics, plus dateRange and pivotValues. Without fields only impressions and clicks come back
sortBy(field:IMPRESSIONS,order:DESCENDING); fields COST_IN_LOCAL_CURRENCY, IMPRESSIONS, CLICKS, ONE_CLICK_LEADS, EXTERNAL_WEBSITE_CONVERSIONS…

Facets of accounts the member has no role on are dropped silently. The 1.0 form works too: pivot.value=CAMPAIGN, timeGranularity.value=DAILY.

Types

  • Counts are JSON integers.
  • costInLocalCurrency, costInUsd, conversionValueInLocalCurrency and other BigDecimal values are strings, with up to 5 decimals and at least one ("0.0", "167.14093").
  • Averages (averageVideoWatchTime, audiencePenetration) are JSON numbers.
  • pivotValues carries URNs (urn:li:sponsoredCampaign:…, urn:li:sponsoredCreative:…, urn:lla:llaPartnerConversion:… on the CONVERSION pivot, urn:li:geo:… on region pivots) or enum values (ON_SITE/OFF_SITE on SERVING_LOCATION, objectives on OBJECTIVE_TYPE).

There are 122 metrics; the reference of report by one pivot lists them all. Metrics newer than the requested version answer 400 "Unknown field memberFollows in fields" (memberFollows and memberProfileClicks are from 202610).

Range and privacy rules

  • With ALL, if the start or the end is more than 6 months back, both are widened to month boundaries.
  • MONTHLY and YEARLY are clipped to the requested range.
  • approximateMemberReach is dropped when the range is over 92 days.
  • MEMBER_* pivots: values with fewer than 3 events are dropped, only the top 100 per creative per day show, and data lags 12 hours in Mimicr (demographicsLagHours). Metrics such as approximateMemberReach and conversionValueInLocalCurrency don't come on these pivots.
  • Test accounts have no data.

Errors

Message (400)Cause
"At least one of the following facets must be provided: accounts, campaignGroups, campaigns, creatives, shares, companies"No facet
"Cannot request more than 20 metrics"More than 20 in fields
"Unknown field {name} in fields"Unknown metric or one of a newer version
"Invalid value for param pivot"Pivot not valid for the finder
"Missing required param {name}"No timeGranularity or dateRange.start
"dateRange end must be after start"End before start
"dateRange must be between 30 and 366 days"Range outside the attributedRevenueMetrics rule

LinkedIn also limits data: 45,000,000 metric values (metrics × rows) per application every 5 minutes, then 429. See Rate limits.

Where Mimicr's numbers come from

Delivery is a deterministic function of the sandbox clock. Every UTC hour, each eligible creative (account, group and campaign RUNNABLE, creative without holds, a bid above zero, not a test account) gets a share of the campaign's daily budget, along a curve that weighs Brazilian business hours. Spend gives impressions (by the objective's CPM), clicks (by the CTR) and the objective's derived metrics: landing page clicks, form opens and leads, video views, reactions. The current hour is prorated by the minute.

Real events add on top: clicks from ad.click, leads from lead.submit and matched conversions from the Conversions API (on the CONVERSION pivot). To speed things up, traffic.deliver writes a manual hour with the numbers you choose, and advancing the clock generates the missing hours. [sem-entrega] in the name zeroes the campaign's delivery, and the autoDelivery toggle turns the whole model off.