TikTok Ads API

TikTok's Marketing API requires Business Center onboarding and a long-lived developer token. Zernio wraps it in REST - POST a videoUrl and we download and upload the video to TikTok for you.

  • Free tier
  • No credit card
  • 99.97% uptime
@lauravisualsSlow mornings, flat whites and a good book.Sponsored
12.4K2181.1K
TikTok AdsLast 7 days$237

Join 200,000+ of the world's most ambitious developers and builders

Warner Music Group
Runable
ClickUp
MoFlo
RE/MAX
Readdy
How it works

Live in three steps, no TikTok Ads developer approval

1

Profile

default

TikTok Ads

Connect TikTok Ads

Sign up for free, get your API key and connect TikTok Ads ad accounts through our OAuth flow.

2

POST /v1/ads/create

const { data } = await zernio.adcampaigns.createStandaloneAd({
  body: {
    accountId: 'acc_8f2a',
    adAccountId: '7123456789012345678',
    name: 'Spring launch',
    goal: 'traffic',
    budgetAmount: 25,
    budgetType: 'daily',
    body: 'Launch day at Acme',
    imageUrl: 'https://cdn.acme.com/launch.mp4',
    linkUrl: 'https://acme.com',
    countries: ['US'],
  },
});

Launch a campaign

Create the campaign, its budget, targeting and creative in one API call.

3

Retargeting

$30/day

Paused

Summer Sale

$40/day

$0.94 CPC

Launch Push

$18/day

$412

Track the results

Spend and results sync back. Pause ads, change budgets and pull reports from the same API.

Endpoints

TikTok Ads endpoints on one REST API

EndpointWhat it does
POST/v1/ads/createCreate a TikTok Campaign → Ad Group → Ad hierarchy
POST/v1/ads/boostCreate a Spark Ad from an existing organic TikTok post
POST/v1/ads/audiencesCreate a Custom Audience (customer list or lookalike)
GET/v1/ads/{id}Get ad status, spend, and creative details
PUT/v1/ads/{id}Update budget, status, or schedule
GET/v1/ads/{id}/analyticsSpend, impressions, video views, completion rate, CTR, CPC, CPM
GET/v1/ads/campaignsList campaigns across connected TikTok ad accounts
Media specs

What you can upload to TikTok Ads

Zernio transcodes and optimizes media for TikTok Ads's requirements automatically.

tiktok-ads/media-specs
TypeFormatMax sizeNotes
VideoMP4, MOV, MPEG500 MB9:16 vertical recommended, 720p+, 5-60 sec
ImageJPEG, PNG30 MB1080x1920 recommended for full-screen
HeadlineText100 charsAd description / call-to-action text
Spark Ad sourceOrganic TikTok postN/AConnected Business account, public post
Capabilities

Everything the API handles for you

TikTok Marketing API enforces per-advertiser and per-app rate limits. Zernio pools across customers and handles 429 responses with exponential backoff.

Spark Ads

Turn organic TikTok posts into Spark Ads.

Custom Audiences

Custom Audiences and Lookalikes.

Audience targeting

Target by age, gender, location, and interests.

Video from URL

Pass a video URL and Zernio handles the upload.

Live metrics

Real-time spend and video-view metrics.

No portal approval

No separate developer portal approval.

Full hierarchy

Campaigns, Ad Groups, and Ads, managed through one API.

Start building with the TikTok Ads API

Free tier available. No credit card required.

  • Free tier
  • No credit card
  • 99.97% uptime