# TikTok Ads MCP server

On TikTok Ads, an agent on PubNio's hosted MCP server runs 7 of the 12 ad operation kinds. `campaign.activate` and `budget.update` are human-only and come back with a link to the web app; `creative.create`, `campaign.archive` and `boost.create` are not supported on TikTok.

## What PubNio supports from an agent on TikTok

```text
search   ads.validateCampaignPlan, ads.createCampaignPlan
execute  ads.listAccounts, keep provider "tiktok_ads"
execute  ads.validateCampaignPlan "Cold brew video views": valid, no provider call
execute  ads.createCampaignPlan, key plan-tiktok-ads-1: 202 queued
execute  ads.activateCampaign: 403 human_actor_required, then stop
```

From "Run our cold brew clip as a video views campaign, 30 a day", the agent picks the `video_views` objective, which TikTok receives as `VIDEO_VIEWS`, and a 30 USD daily budget, names the campaign "Cold brew video views", and fills the ad group "Coffee fans 18 to 34" with the ad "Pour over in 15 seconds". Its audience is `{"locationIds":["6252001"],"ageGroups":["AGE_18_24","AGE_25_34"]}`. What only TikTok reads travels in `plan.adGroups[0].ads[0].creative.providerSettings` (videoId).

Before it validates, the agent asks the person which connected TikTok account the ad posts as, which video or image IDs it uses, and what daily budget the ad group gets.

The writes an agent can run here are `ads.createCampaignPlan`, `ads.createAdGroup`, `ads.attachAd`, `ads.duplicateCampaign`, `ads.pauseCampaign`, `ads.setAdGroupStatus` and `ads.setAdStatus`.

## Spend controls

- An agent can pause, archive, and turn on the kill switch; a person resumes spend and clears it in the console.

## Connect your agent

```sh
claude mcp add --transport http pubnio https://pubnio.com/mcp
```

## Limits

- What an agent creates stays inert: a create leaves `operation_status: DISABLE` on the campaign, ad group, and ad.

## Related

- [TikTok Ads through PubNio](https://pubnio.com/ads/tiktok-ads)
- [All ad providers](https://pubnio.com/ads)
- API reference: [ads.createCampaignPlan](https://pubnio.com/docs/reference/ads-create-campaign-plan/)
- [TikTok error 40100](https://pubnio.com/docs/errors/tiktok/40100/)

