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

Create a conversion rule

POST/rest/conversions
Base URL: https://linkedin-ads.mimicr.dev · provider: https://api.linkedin.com

Creates a conversion rule. Answers 201 with the id in x-restli-id and the rule in the body. BATCH_CREATE takes up to 100 rules. Scope rw_conversions and a role other than VIEWER.

autoAssociationType=ALL_CAMPAIGNS associates up to 200 ACTIVE, PAUSED or DRAFT campaigns of the account; OBJECTIVE_BASED follows LinkedIn's objective mapping (QUALIFIED_LEAD only goes to MAX_QUALIFIED_LEAD campaigns). Only associated campaigns get attribution.

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

Query parameters

autoAssociationTypestring

Associate campaigns on create.

ALL_CAMPAIGNSOBJECTIVE_BASED

Body

application/json
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.

Responses

201Created: the rule, with its id also in x-restli-id.
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.

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.