Guides
Introduction
Mimicr's TikTok Ads simulator answers on the same paths as the TikTok API for Business v1.3, so you can integrate and test paid media on TikTok without a real ad account.
The TikTok Ads simulator reproduces the integration core of the TikTok API for Business v1.3: advertiser authorization, the Marketing API (accounts, campaigns, ad groups, ads and the videos, images and identities they use), synchronous and asynchronous reports, the Events API 2.0 and Instant Form leads with signed webhooks. Paths, parameters, enums, the {code, message, request_id, data} envelope and the return codes are TikTok's.
TikTok announced the end of its own sandbox accounts (sandbox-ads.tiktok.com) on December 1, 2026. Mimicr is a non-production place to exercise these flows, including ad review, delivery and leads, which TikTok's sandbox did not simulate.
Host swap
TikTok uses one host for the API and another path for the authorization page. Mimicr answers both on https://tiktok-ads.mimicr.dev, by path. Swap the host and keep the rest.
| TikTok | Mimicr |
|---|---|
https://business-api.tiktok.com/portal/auth | https://tiktok-ads.mimicr.dev/portal/auth |
https://ads.tiktok.com/marketing_api/auth (legacy format) | https://tiktok-ads.mimicr.dev/marketing_api/auth |
https://business-api.tiktok.com/open_api/v1.3/… | https://tiktok-ads.mimicr.dev/open_api/v1.3/… |
https://sandbox-ads.tiktok.com/open_api/v1.3/… | https://tiktok-ads.mimicr.dev/open_api/v1.3/… |
The App ID and Secret are those of your sandbox's app. Mimicr's own pages (the Instant Form, the ad click and the report files) live under /mimicr/… on the same host.
What the simulator covers
- Advertiser authorization: the hosted consent page, exchanging the
auth_codefor a token that never expires, revocation and numeric scopes. - User, Business Center and ad accounts (advertisers) with status, currency and time zone.
- Campaigns with the
TRAFFIC,REACH,LEAD_GENERATION,WEB_CONVERSIONS,VIDEO_VIEWSandENGAGEMENTobjectives; ad groups with placements, targeting, budget, schedule, dayparting, goal, billing, bid and pacing; video and image ads with a custom identity and review. - Video and image uploads, identities, Pixels and Instant Forms.
BASICreports by advertiser, campaign, ad group or ad, by day or hour, generated hour by hour from the budget, and asynchronous CSV reports.- The Events API 2.0 with hashing, deduplication and attribution by
ttclid. - The Subscription API with
LEAD,AD,AD_GROUP,REPORT_DATA_CHANGEandAD_ACCOUNT_SUSPENSIONwebhooks signed withX-Open-Signature, and the lead and test lead routes.
Paths TikTok documents outside this core (Smart+, GMV Max, Search Ads, R&F, catalogs, audiences, targeting tools, Spark Ads, the organic accounts API) answer HTTP 501 with code 40014.
What Mimicr adds
On TikTok you only watch: the reviewer approves or rejects the ad, people tap it and fill in the form, the balance runs out. 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 ads, generate clicks with a ttclid, submit leads, change the account status, empty the balance, fast-forward delivery, advance the clock and inject failures.
Where TikTok does not document a behaviour, Mimicr makes its own decision and the guides flag it with "In Mimicr, …". That is not a promise about TikTok's production behaviour.
Where to start
- Quickstart: from activation to the first approved ad, with a click and the metrics.
- Authentication, Environment and Sandbox testing.
- Create a campaign, Targeting and budget, Ads and review and Edit and pause.
- Reports and the Events API.
- Forms and webhook and Verify the signature.
- Envelope and errors, Pagination and Rate limits.
- Sandbox control: every route and action of the control API.
- API reference: start with Authorization page, Create a campaign and Run a synchronous report.