API Reference
Image upload (www.linkedin.com)PUTUpload the image bytesGETDownload an image
Campaign groups

Search campaign groups

GET/rest/adAccounts/{id}/adCampaignGroups?q=search
Base URL: https://linkedin-ads.mimicr.dev · provider: https://api.linkedin.com

Finds the groups of the account. Cursor pagination with pageSize up to 1000.

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

Path parameters

idstringrequired

Ad account id (numeric), the first {id} of the path.

Example: "521119150"

Query parameters

qstringrequired

Finder: search.

search
searchstring

Search 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.

sortOrderstring

Order by id.

ASCENDINGDESCENDING
pageSizeinteger

Page size, default 100, max 1000.

pageTokenstring

metadata.nextPageToken of the previous page.

Responses

200Campaign groups.
elementsobject[]
Show child attributes
idinteger

Campaign group id; the URN is urn:li:sponsoredCampaignGroup:{id}.

accountstring

urn:li:sponsoredAccount:{id}; must be the account of the path. Immutable.

namestring

Name, up to 200 bytes.

runScheduleobject

start is required. end is required when totalBudget is set (CONDITIONAL_MISSING_FIELD).

Show child attributes
startinteger

Start, epoch milliseconds (inclusive).

endinteger

End, epoch milliseconds (exclusive).

statusstring

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_DELETIONREMOVED
totalBudgetobject

Lifetime budget of the group.

Show child attributes
amountstringrequired

Decimal string in major units ("150.00"), not micros or cents.

currencyCodestringrequired

ISO 4217 code. Must be the ad account's currency (CURRENCY_MISMATCH).

dailyBudgetobject

Daily budget; only with budgetOptimization.budgetOptimizationStrategy DYNAMIC.

Show child attributes
amountstringrequired

Decimal string in major units ("150.00"), not micros or cents.

currencyCodestringrequired

ISO 4217 code. Must be the ad account's currency (CURRENCY_MISMATCH).

objectiveTypestring

Optional and immutable; the group's campaigns inherit it.

BRAND_AWARENESSENGAGEMENTJOB_APPLICANTLEAD_GENERATIONWEBSITE_CONVERSIONWEBSITE_VISITVIDEO_VIEW
budgetOptimizationobject

Campaign group budget optimization.

Show child attributes
budgetOptimizationStrategystring
DYNAMIC
bidStrategystring
MAXIMUM_DELIVERYMANUALCOST_CAP
servingStatusesstring[]

Read-only, computed on read.

RUNNABLESTOPPEDBILLING_HOLDACCOUNT_TOTAL_BUDGET_HOLDACCOUNT_END_DATE_HOLDCAMPAIGN_GROUP_TOTAL_BUDGET_HOLDCAMPAIGN_GROUP_START_DATE_HOLDCAMPAIGN_GROUP_END_DATE_HOLD
backfilledboolean

true for the default group created with the account.

testboolean

Inherited from the account.

changeAuditStampsobject

Creation and last change.

Show child attributes
createdobject
Show child attributes
actorstring

Member who made the change (urn:li:person:…).

timeinteger

Epoch milliseconds.

lastModifiedobject
Show child attributes
actorstring

Member who made the change (urn:li:person:…).

timeinteger

Epoch milliseconds.

versionobject

Entity version.

Show child attributes
versionTagstring

Starts at "1" and increments on every update.

metadataobject

Cursor pagination.

Show child attributes
nextPageTokenstring

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.
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.

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.