agentleFS
adkitadkit/ads-skills/skills/tiktok-ads/SKILL.md

tiktok-ads

Skill40 starsChanged 2 days agoMITView on GitHub

Create, edit, and report on TikTok ads from an AI agent through the AdKit MCP connector: campaigns, ad groups, video ads, Spark Ads, media upload, and results. Every change is saved as a draft that the user approves before it goes live. Use when the user wants to run, change, or check TikTok ads. Not for TikTok ad strategy or creative advice.

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 4 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Claude, ChatGPT, and most AI apps: add a custom connector with the address https://mcp.adkit.so, then sign in.

    line 32
  2. Very specific:

    All calls go through adkit_manage with platform: "tiktok".

    line 54
  3. Very specific:

    Project: call adkit_projects and get the projectId.

    line 56
  4. Very specific:

    Account: call adkit_status. If no TikTok account is connected, call adkit_setup with platform: "tiktok" and give the user the link.

    line 57
  5. Very specific:

    Wait for a yes. Then publish it with drafts publish.

    line 60
  6. Distinctive:

    Use the TikTok ID that the publish result returns as the parent of the next level.

    line 61
  7. Distinctive:

    Use AdKit field names (camelCase).

    line 79
  8. Distinctive:

    Check every path, field, and value in the TikTok API reference.

    line 85
  9. Distinctive:

    Read requests run immediately, with no draft.

    line 86
  10. Very specific:

    After you use it, report the missing feature with adkit_feedback.

    line 87

“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

TikTok Ads with AdKit

This skill tells you how to create, edit, and report on TikTok ads through AdKit. It covers the steps, not the strategy.

Connect AdKit

AdKit is one MCP connector for Meta, Google, TikTok, LinkedIn, Microsoft, Reddit, X, and Pinterest ads.

  • Claude, ChatGPT, and most AI apps: add a custom connector with the address https://mcp.adkit.so, then sign in.
  • Claude Code: claude mcp add --transport http adkit https://mcp.adkit.so

For other AI apps, see how to set up the AdKit MCP server for TikTok Ads. If the AdKit tools are not available, tell the user how to connect. Then stop.

What AdKit can do on TikTok

EntityActions
campaignslist, get, create, update
ad-groupslist, get, create, update
adslist, get, create, update (video ads and Spark Ads)
medialist (Asset Library videos), upload
lead-formslist (existing Instant Forms; create them in TikTok Ads Manager)
resultslist (account, campaign, ad group, or ad level)
accountslist, available, connect, disconnect, update, profiles, pixels
draftsget, publish (review your changes, then send them)

AdKit cannot delete TikTok campaigns, ad groups, or ads. Pause them instead with status: "paused".

Steps

All calls go through adkit_manage with platform: "tiktok". Before a call you have not made in this session, read its fields with adkit_help({ path: "manage tiktok <entity> <action>" }). Do not guess field names. In this skill, campaigns create means entity: "campaigns", action: "create".

  1. Project: call adkit_projects and get the projectId. Every call needs it.
  2. Account: call adkit_status. If no TikTok account is connected, call adkit_setup with platform: "tiktok" and give the user the link. After they sign in, use accounts available, then accounts connect.
  3. Build from the top down. Each create saves a draft. For each level, do these steps before you start the next level:

    • Show the draft to the user (drafts get, or the link https://app.adkit.so/manage/drafts?open=<draftId>).
    • Wait for a yes. Then publish it with drafts publish.
    • Use the TikTok ID that the publish result returns as the parent of the next level. A draft ID never works as a parent ID.

    The levels, in order:

    1. Campaign: campaigns create with a name, an objective, a budget, and status: "paused". A paused campaign spends nothing.
    2. Ad group: ad-groups create with the campaignId, a budget, bidding, and an optimization goal.
    3. Video: media upload from a public URL, or media list to pick a video that is already in the TikTok Asset Library. For a local file: call adkit_manage with entity: "media" and action: "request_upload_url" (no platform). It returns an upload URL. Send the file to that URL with PUT. Then call media upload with source: "temporary_upload".
    4. Ad: ads create with the adGroupId and the creative.
  4. Go live: campaigns update with status: "active". Publish that draft only after the user says yes. Then check with ad-groups list and ads list that the ad groups and ads are active too.
  5. Results: results list with a level and a date range (from and to).

TikTok rules

  • TikTok calls ad accounts "advertisers". AdKit calls them accounts.
  • Ads are video only. Upload the video before you create the ad. AdKit picks the cover image.
  • To promote an existing organic TikTok post as a Spark Ad, pass existingPostId instead of a video.
  • Conversion ad groups need a pixel. Set a default pixel on the account (accounts update with defaultPixelId) or pass conversion.pixelId.
  • App campaigns need an app that is already registered in TikTok, and ad group operating system targeting (iOS or Android) that matches the app store.
  • Use AdKit field names (camelCase). The entities in the table above ignore raw TikTok API field names.

Anything else in the TikTok API

For a TikTok feature that AdKit does not cover, use entity: "platform-api-request" with action: "mutate". The action is always mutate, also for reads. AdKit sends the request to the TikTok Marketing API v1.3 as it is. The user must turn on Advanced Platform Access in AdKit's Agent Permissions.

  • Check every path, field, and value in the TikTok API reference.
  • Read requests run immediately, with no draft. Writes save a draft, like any other change.
  • After you use it, report the missing feature with adkit_feedback.
{
  "projectId": "<projectId>",
  "entity": "platform-api-request",
  "action": "mutate",
  "data": {
    "platform": "tiktok",
    "accountId": "<advertiserId>",
    "endpoint": "campaign/get/",
    "method": "GET",
    "payload": { "advertiser_id": "<advertiserId>" },
    "description": "List TikTok campaigns"
  }
}

Other platforms

The same AdKit connector runs Meta Ads, Google Ads, LinkedIn Ads, Microsoft Ads, Reddit Ads, X Ads, and Pinterest Ads ads. Each platform has its own skill in this repo, for example meta-ads and google-ads.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.