TikTok Ads API for developers

Zernio's TikTok Ads API lets you launch campaigns via REST - without the TikTok Business Center developer onboarding or OAuth SDK complexity.

ℹ️

Skip the Business Center Developer Onboarding

Direct access to TikTok's Marketing API requires a TikTok for Business account, developer portal access, and a Business Center onboarding that can take days. Zernio's partner status lets you connect and start posting immediately.

Key Features

Standalone Campaigns

Create Campaign → Ad Group → Ad hierarchies with objectives, budget pacing, and bidding strategies.

Spark Ads

Boost existing TikTok videos as ads while retaining the creator's identity and engagement signals.

Targeting

Age, gender, location, and interest segments. Lookalike and customer-list audiences.

Ad Analytics

Spend, impressions, video views, CTR, CPC, CPM, conversion value - per campaign and per creative.

Audience Management

Upload customer lists, create lookalikes, build website retargeting - all via /v1/ads/audiences.

How do you launch TikTok Ads via API with Zernio

  1. 1.
    Enable the Ads Add-On
    Activate Ads in billing. Available on Build, Accelerate, or Unlimited Zernio plans.
  2. 2.
    Connect TikTok Business
    OAuth with your TikTok for Business account. No separate developer portal approval.
  3. 3.
    POST to /v1/ads/create
    Launch campaigns, run Spark Ads, query analytics. REST access to the Marketing API.
⏱ Time to first campaign: under 10 minutes

Why use Zernio instead of the TikTok Marketing API directly?

No Business Center onboarding

Skip the developer portal approval. We maintain the Marketing API integration for you.

Spark Ads as first-class

Boost any organic TikTok video with one call - keeps likes, comments, follower signals intact.

Media upload handled

We download your video from the URL you pass and upload to TikTok. You never deal with the Marketing API upload flow directly.

Multi-platform ads

Run TikTok alongside Meta, Google, LinkedIn, Pinterest, and X from one dashboard.

Full programmatic control

REST for campaigns, ad groups, ads, audiences, and analytics. No SDK required.

Real-time spend

Spend, CPM, video view rate, and completion rate per ad - refreshed every few minutes.

Code Examples

Create a TikTok Spark Ad
cURL
curl -X POST "https://zernio.com/api/v1/ads/boost" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "postId": "POST_ID",
    "accountId": "ACCOUNT_ID",
    "adAccountId": "7123456789012345678",
    "platform": "tiktokads",
    "name": "Product launch Spark Ad",
    "goal": "traffic",
    "budget": { "amount": 60, "type": "daily" },
    "schedule": { "startDate": "2026-04-20", "endDate": "2026-04-27" },
    "targeting": {
      "age_groups": ["AGE_18_24", "AGE_25_34"],
      "locations": [{ "id": "6252001", "name": "United States" }],
      "interests": ["technology", "software"]
    }
  }'
Create a Standalone TikTok Campaign
cURL
curl -X POST "https://zernio.com/api/v1/ads/create" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "tiktokads",
    "accountId": "acc_tiktokads_123",
    "adAccountId": "7123456789012345678",
    "name": "Spring launch campaign",
    "goal": "conversions",
    "budget": { "amount": 100, "type": "daily" },
    "schedule": { "startDate": "2026-04-20" },
    "creative": {
      "videoUrl": "https://cdn.example.com/launch.mp4",
      "headline": "Spring drop is live",
      "callToAction": "SHOP_NOW",
      "landingPageUrl": "https://example.com/spring"
    },
    "targeting": {
      "age_groups": ["AGE_18_24", "AGE_25_34"],
      "locations": [{ "id": "6252001", "name": "United States" }]
    }
  }'

See it in action

TikTok Ads dashboard

Standalone campaigns and Spark Ads in one place.

google ads api campaign performance report

Video views, CPM, and conversion metrics in real time.

Frequently Asked Questions

How do I get TikTok Ads API access?
Direct access to the TikTok Marketing API requires a TikTok for Business account, developer portal onboarding, and app approval. With Zernio, you connect your TikTok for Business account via OAuth and start building.
Can I run Spark Ads through the API?
Yes. Boost any organic TikTok video using the post's auth code. The ad keeps the creator's identity, organic engagement signals, and the creator handle.
Can I upload video creatives programmatically?
Yes. Pass a videoUrl in the creative object and Zernio downloads the file and uploads it to TikTok for you. You never touch the TikTok Marketing API's multi-step upload flow directly.
What data does the TikTok Ads reporting API return?
The reporting endpoint (GET /v1/ads/{id}/analytics) returns spend, impressions, video views, CTR, CPC, CPM, and conversion metrics. Data refreshes every few minutes so you can build near-real-time dashboards.
Can I run TikTok Ads alongside Meta, Google, and LinkedIn from one API?
Yes. Zernio exposes a single /v1/ads endpoint where the platform parameter selects the destination (tiktokads, metaads, googleads, linkedinads, pinterestads, xads). One API key, all ad platforms - no separate SDKs per network.
Does the TikTok Ads API work with AI agents and MCP?
Yes. Every Zernio endpoint is exposed through our hosted MCP server, so AI agents running in Claude Desktop, Cursor, or any MCP-compatible client can create TikTok campaigns, launch Spark Ads, and pull reporting data as tool calls - no custom integration code needed.

Related Features

Launch TikTok Ads Without the Onboarding Wait

Requires the Ads add-on. Full REST API for Campaigns, Ad Groups, Spark Ads, and Audiences.

SOC 2 CompliantGDPR Compliant