Guides
Introduction
Mimicr's LinkedIn Ads simulator answers on the same paths as LinkedIn's Marketing API, Conversions API and Lead Sync, so you can build and test LinkedIn paid media without a real ad account.
The LinkedIn Ads simulator reproduces the integration core of the LinkedIn Marketing API, version 202610: 3-legged OAuth, ad accounts and member roles, campaign groups, campaigns and creatives (with the posts and images they use), the targeting tools, adAnalytics reporting, the Conversions API and Lead Sync with signed webhooks. Paths, headers, the Rest.li 2.0 syntax, enums, both error schemas and the messages are LinkedIn's.
LinkedIn has no sandbox for the Marketing API: its test account delivers no ads and has no reporting. Mimicr is a non-production place to exercise the whole flow, including creative review, delivery, leads and conversion attribution.
Host swap
LinkedIn uses two hosts: www.linkedin.com for OAuth and image uploads, and api.linkedin.com for the API. Mimicr answers for both on https://linkedin-ads.mimicr.dev, split by path. Swap the two base URLs and keep everything else.
| Mimicr | |
|---|---|
https://www.linkedin.com/oauth/v2/authorization | https://linkedin-ads.mimicr.dev/oauth/v2/authorization |
https://www.linkedin.com/oauth/v2/accessToken | https://linkedin-ads.mimicr.dev/oauth/v2/accessToken |
https://www.linkedin.com/oauth/v2/introspectToken | https://linkedin-ads.mimicr.dev/oauth/v2/introspectToken |
https://api.linkedin.com/v2/me | https://linkedin-ads.mimicr.dev/v2/me |
https://api.linkedin.com/rest/… | https://linkedin-ads.mimicr.dev/rest/… |
https://www.linkedin.com/dms-uploads/… (upload URL) | https://linkedin-ads.mimicr.dev/dms-uploads/… |
The client id and client secret are your sandbox app's. The image upload URL and the downloadUrl already point at Mimicr. The ad click, a page of Mimicr itself, is at /mimicr/click/{token} on the same host.
What the simulator covers
- 3-legged OAuth 2.0: the consent page with personas, 30-minute codes, 60-day access tokens, 365-day refresh tokens and token introspection.
BUSINESSad accounts, member roles (VIEWERtoACCOUNT_BILLING_ADMIN) and the sandbox's organization (company page).- Campaign groups,
SPONSORED_UPDATESandTEXT_ADcampaigns in the image, article, video and text formats, with budgets, bids, targeting and computed serving statuses. - Creatives with review, dark posts and image upload.
- Targeting facets and values, audience counts and bid limits.
adAnalyticswith theanalytics,statisticsandattributedRevenueMetricsfinders, the 122 metrics and the pivots, generated hour by hour from the budget.- Conversions API: rules, campaign associations and events with
li_fat_id, hashed email, lead or name. - Lead Sync: forms, leads and webhook subscriptions with the HMAC challenge and
X-LI-Signature.
Resources LinkedIn documents outside this core (InMail, Conversation Ads, events, video and document APIs, Matched Audiences, the Insight Tag, Brand Lift, ENTERPRISE accounts) answer HTTP 501 NOT_IMPLEMENTED.
What Mimicr adds
On LinkedIn you only watch: the reviewer approves or rejects the creative, members click and fill the form, billing fails. On Mimicr you drive that other side through the control API (https://api.mimicr.dev), the CLI (npx mimicr), the MCP server or the console: approve and reject creatives, generate clicks with li_fat_id, submit leads, put billing on hold, release or sunset versions, advance the clock and inject failures.
Where LinkedIn doesn't document a behaviour, Mimicr makes its own decision and the guides flag it with "In Mimicr, …". That is not a promise about LinkedIn's production behaviour.
Where to start
- Quickstart: from activation to a live campaign, with a lead on the webhook and the report.
- Authentication, Versions, Environment and Testing in the sandbox.
- Rest.li 2.0, Pagination, Errors and Rate limits.
- Accounts and roles.
- Groups and campaigns, Targeting and Creatives and review.
- adAnalytics and Conversions API.
- Lead Sync and webhook and Verify the signature.
- Sandbox control: every route and action of the control API.
- API reference: start with Authorization page, Create campaigns and Report by one pivot.