API Reference
Search ad accounts
/rest/adAccounts?q=searchhttps://linkedin-ads.mimicr.dev · provider: https://api.linkedin.comFinds the ad accounts the member has a role on (all of them without search). Cursor pagination: pass metadata.nextPageToken as pageToken; it is absent on the last page. Scope r_ads or rw_ads.
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: search.
searchSearch criteria, Rest.li record: id, name, reference, type and status as (values:List(…)), test as true|false; e.g. (status:(values:List(ACTIVE)),test:false). The 1.0 dotted form (search.status.values[0]=ACTIVE) is accepted too.
Order by id.
ASCENDINGDESCENDINGPage size, default 100, max 1000.
metadata.nextPageToken of the previous page.
Responses
200Accounts.
Show child attributes
Ad account id; the URN is urn:li:sponsoredAccount:{id}.
Name. Required and not blank (BLANK_ACCOUNT_NAME).
Only BUSINESS can be created; ENTERPRISE → 400 INVALID_VALUE_FOR_FIELD.
BUSINESSENTERPRISEISO currency, default USD. Unsupported → CURRENCY_NOT_SUPPORTED.
Organization or person the account advertises for (urn:li:organization:…). Immutable once the account has campaigns.
Account status.
ACTIVECANCELEDDRAFTPENDING_DELETIONREMOVEDRead-only, computed on read: RUNNABLE or the holds.
RUNNABLESTOPPEDBILLING_HOLDACCOUNT_TOTAL_BUDGET_HOLDACCOUNT_END_DATE_HOLDRESTRICTED_HOLDINTERNAL_HOLDTest account. Create-only; at most one per developer app (TEST_ACCOUNT_LIMIT_REACHED). Its creatives are rejected and it has no analytics.
Additional Info Field: returned only when projected (fields=…,referenceInfo).
Show child attributes
Show child attributes
Organization id.
Localized text.
Show child attributes
Text per locale ({"pt_BR": "…"}).
Show child attributes
Country code (BR).
Language code (pt).
Vanity name (mimicr-demo).
Name.
Creation and last change.
Show child attributes
Show child attributes
Member who made the change (urn:li:person:…).
Epoch milliseconds.
Show child attributes
Member who made the change (urn:li:person:…).
Epoch milliseconds.
Entity version.
Show child attributes
Starts at "1" and increments on every update.
Cursor pagination.
Show child attributes
Token of the next page; absent on the last page.
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.
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.