API Reference
Create a conversion rule
/rest/conversionshttps://linkedin-ads.mimicr.dev · provider: https://api.linkedin.comCreates 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
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
Associate campaigns on create.
ALL_CAMPAIGNSOBJECTIVE_BASEDBody
application/jsonRule id; the URN is urn:lla:llaPartnerConversion:{id}.
urn:li:sponsoredAccount:{id}.
Name.
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_LEADCONVERSIONS_API. Without it the rule is an Insight Tag rule, which never fires in Mimicr.
CONVERSIONS_APIDefault true. Events of a disabled rule are refused.
Days: 1, 7, 30 or 90 (default 30); 180 and 365 only for the long-window types.
173090180365Days, same set (default 7).
173090180365Default LAST_TOUCH_BY_CAMPAIGN.
LAST_TOUCH_BY_CAMPAIGNLAST_TOUCH_BY_CONVERSIONDefault DYNAMIC (the event value).
DYNAMICFIXEDNO_VALUEFixed value, with valueType FIXED.
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).
Associated campaigns.
Show child attributes
urn:li:sponsoredCampaign:{id}.
urn:lla:llaPartnerConversion:{id}.
Epoch milliseconds.
URNs of the associated campaigns.
Only in the q=account finder, since 202605.
OWNEDSHAREDShow child attributes
Epoch milliseconds.
Epoch milliseconds.
Responses
201Created: the rule, with its id also in x-restli-id.
Rule id; the URN is urn:lla:llaPartnerConversion:{id}.
urn:li:sponsoredAccount:{id}.
Name.
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_LEADCONVERSIONS_API. Without it the rule is an Insight Tag rule, which never fires in Mimicr.
CONVERSIONS_APIDefault true. Events of a disabled rule are refused.
Days: 1, 7, 30 or 90 (default 30); 180 and 365 only for the long-window types.
173090180365Days, same set (default 7).
173090180365Default LAST_TOUCH_BY_CAMPAIGN.
LAST_TOUCH_BY_CAMPAIGNLAST_TOUCH_BY_CONVERSIONDefault DYNAMIC (the event value).
DYNAMICFIXEDNO_VALUEFixed value, with valueType FIXED.
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).
Associated campaigns.
Show child attributes
urn:li:sponsoredCampaign:{id}.
urn:lla:llaPartnerConversion:{id}.
Epoch milliseconds.
URNs of the associated campaigns.
Only in the q=account finder, since 202605.
OWNEDSHAREDShow child attributes
Epoch milliseconds.
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.
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.