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

Get a conversion rule

GET/rest/conversions/{id}
Base URL: https://linkedin-ads.mimicr.dev · provider: https://api.linkedin.com

Returns one rule. BATCH_GET: GET /rest/conversions?account=…&ids=List(…).

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

Rule id.

Example: "752612"

Query parameters

accountstringrequired

Encoded account URN of the rule (urn%3Ali%3AsponsoredAccount%3A521119150).

Responses

200The rule.
idinteger

Rule id; the URN is urn:lla:llaPartnerConversion:{id}.

accountstring

urn:li:sponsoredAccount:{id}.

namestring

Name.

typestring

Conversion type. MARKETING_QUALIFIED_LEAD and SALES_QUALIFIED_LEAD since 202608.

34 values
ADD_TO_CARTDOWNLOADINSTALLKEY_PAGE_VIEWLEADPURCHASESIGN_UPOTHERSAVESTART_CHECKOUTSCHEDULEVIEW_CONTENTVIEW_VIDEOADD_BILLING_INFOBOOK_APPOINTMENTREQUEST_QUOTESEARCHSUBSCRIBEAD_CLICKAD_VIEWCOMPLETE_SIGNUPSUBMIT_APPLICATIONPHONE_CALLINVITELOGINSHAREDONATEADD_TO_LISTSTART_TRIALOUTBOUND_CLICKCONTACTQUALIFIED_LEADMARKETING_QUALIFIED_LEADSALES_QUALIFIED_LEAD
conversionMethodstring

CONVERSIONS_API. Without it the rule is an Insight Tag rule, which never fires in Mimicr.

CONVERSIONS_API
enabledboolean

Default true. Events of a disabled rule are refused.

postClickAttributionWindowSizeinteger

Days: 1, 7, 30 or 90 (default 30); 180 and 365 only for the long-window types.

173090180365
viewThroughAttributionWindowSizeinteger

Days, same set (default 7).

173090180365
attributionTypestring

Default LAST_TOUCH_BY_CAMPAIGN.

LAST_TOUCH_BY_CAMPAIGNLAST_TOUCH_BY_CONVERSION
valueTypestring

Default DYNAMIC (the event value).

DYNAMICFIXEDNO_VALUE
valueobject

Fixed value, with valueType FIXED.

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

associatedCampaignsobject[]

Associated campaigns.

Show child attributes
campaignstring

urn:li:sponsoredCampaign:{id}.

conversionstring

urn:lla:llaPartnerConversion:{id}.

associatedAtinteger

Epoch milliseconds.

campaignsstring[]

URNs of the associated campaigns.

ownershipTypestring

Only in the q=account finder, since 202605.

OWNEDSHARED
keyobject
Show child attributes
idinteger
accountstring
createdinteger

Epoch milliseconds.

lastModifiedinteger

Epoch milliseconds.

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.

404Not found, or an ad account the member has no role on (LinkedIn answers 404 instead of 403 there).
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.