API Reference
Search campaign groups
/rest/adAccounts/{id}/adCampaignGroups?q=searchhttps://linkedin-ads.mimicr.dev · provider: https://api.linkedin.comFinds the groups of the account. Cursor pagination with pageSize up to 1000.
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.0Path parameters
Ad account id (numeric), the first {id} of the path.
"521119150"Query parameters
Finder: search.
searchSearch criteria, Rest.li record: id (URNs), status, name as (values:List(…)) and test; e.g. (status:(values:List(ACTIVE))). 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
200Campaign groups.
Show child attributes
Campaign group id; the URN is urn:li:sponsoredCampaignGroup:{id}.
urn:li:sponsoredAccount:{id}; must be the account of the path. Immutable.
Name, up to 200 bytes.
start is required. end is required when totalBudget is set (CONDITIONAL_MISSING_FIELD).
Show child attributes
Start, epoch milliseconds (inclusive).
End, epoch milliseconds (exclusive).
Create with ACTIVE or DRAFT. Then ACTIVE ↔ PAUSED, ACTIVE/PAUSED → ARCHIVED, ARCHIVED → PAUSED, DRAFT → ACTIVE and any → PENDING_DELETION; other changes → STATUS_CHANGE_NOT_ALLOWED.
ACTIVEARCHIVEDCANCELEDDRAFTPAUSEDPENDING_DELETIONREMOVEDLifetime budget of the group.
Show child attributes
Decimal string in major units ("150.00"), not micros or cents.
ISO 4217 code. Must be the ad account's currency (CURRENCY_MISMATCH).
Daily budget; only with budgetOptimization.budgetOptimizationStrategy DYNAMIC.
Show child attributes
Decimal string in major units ("150.00"), not micros or cents.
ISO 4217 code. Must be the ad account's currency (CURRENCY_MISMATCH).
Optional and immutable; the group's campaigns inherit it.
BRAND_AWARENESSENGAGEMENTJOB_APPLICANTLEAD_GENERATIONWEBSITE_CONVERSIONWEBSITE_VISITVIDEO_VIEWCampaign group budget optimization.
Show child attributes
DYNAMICMAXIMUM_DELIVERYMANUALCOST_CAPRead-only, computed on read.
RUNNABLESTOPPEDBILLING_HOLDACCOUNT_TOTAL_BUDGET_HOLDACCOUNT_END_DATE_HOLDCAMPAIGN_GROUP_TOTAL_BUDGET_HOLDCAMPAIGN_GROUP_START_DATE_HOLDCAMPAIGN_GROUP_END_DATE_HOLDtrue for the default group created with the account.
Inherited from the account.
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.