Connect TikTok Ads to your Wiro AI agent
Campaigns, ad groups, ads, audiences and reports in TikTok Ads Manager.
Overview
What TikTok Ads does for your agent
Signs in with a TikTok for Business account on the Ads MCP server that TikTok runs itself, and works only for the advertisers you pick. The agent reports on campaigns, ad groups, ads and creatives, creates and edits them, uploads images and videos, builds custom and lookalike audiences, sets automated rules, moderates ad comments and applies Spark Ads codes. New campaigns and ad groups always start switched off, so they spend nothing until you tell the agent to turn them on.
Use cases
What your Wiro agent can do with TikTok Ads
- 01
A morning TikTok Ads report for each advertiser
Each morning, a Scheduled Task reports yesterday's spend, conversions, cost per result and video view rates by campaign for every advertiser you chose, next to the 7-day average. Campaigns that moved sharply are called out first, and the full table lands in Chat.
- 02
A campaign launched from a brief, switched off until you say go
Share the goal, budget, audience and links to your videos. The agent uploads the videos, chooses interests, hashtags and a bid from TikTok's own suggestions, and creates the campaign, ad group and ads. New campaigns and ad groups are always created switched off, so nothing spends until you tell the agent to switch them on.
- 03
Spark Ads from a creator's post
Paste the authorization code the creator made in the TikTok app. The agent previews the post, applies the code to your advertiser account once you approve, and builds the Spark Ad in a new ad group that starts switched off, ready for your review.
- 04
Comment moderation on your running ads
Every few hours, the agent reads new comments on your ads, answers common product questions in your brand voice, hides spam and adds repeated spam phrases to your blocked words. It lists what it did in Chat. Set replies to Ask in Scheduled Tasks if you would rather approve every reply first.
- 05
A diagnosis when an ad group slows down or gets expensive
Ask in Chat why an ad group stopped delivering or why its cost per result rose. The agent reads TikTok's own diagnosis for it, the review status and rejection reasons of each ad and the account's recent change log, then lists the likely causes and the fixes it can make.
- 06
An automated rule that guards your budget between checks
Tell the agent your limit, for example a cost per result above 20 in your account currency. It creates a TikTok automated rule that switches off any ad group past that limit, so TikTok acts on its own between the agent's reports, and later it shows you what the rule did.
How it works
How TikTok Ads works with Wiro
- 01
Connect TikTok Ads
Deploy an agent, open its Connectors tab, choose TikTok Ads and sign in with your TikTok Ads account.
- 02
Choose what each action may do
Set each TikTok Ads action to Allow, Ask or Block, in Chat and in Scheduled Tasks. By default, read-only actions run, and the rest ask first in Chat.
- 03
Ask in Chat or schedule it
Ask your agent for TikTok Ads work in Chat, or put it on a Scheduled Task that runs on its own.
- Where it runsOn business-api.tiktok.com, a server run by TikTok Ads. Your agent sends each request there.
- Where its data goes
business-api.tiktok.com - How it signs inSign in to TikTok Ads in its own window and allow access.
- AccountsAfter connecting, pick the Advertisers the agent may work with. It cannot reach any other.
- ActionsListed after the first connection.
Why did cost per purchase on the Spring Bundle ad group nearly double this week?
Cost per conversion on Spring Bundle, US 18-34 rose from $11.40 on Monday to $21.90 on Thursday, on about the same spend. Two things changed:
- 2 of its 4 ads were rejected for an unclear price claim, so spend now goes only to the 2 older videos
- Those two dropped from 1.6% to 0.7% CTR, and TikTok's diagnosis suggests adding new creatives
Fixing the price line and resubmitting the rejected ads is the quickest way back.
How to connect
Connect TikTok Ads to Wiro
Open the agent's Connectors tab, choose TikTok Ads and sign in with your account. The consent screen shows what the agent can reach.
TikTok Ads opens in a new window. Sign in there and allow access; this page updates by itself.
Sign In With TikTok AdsTroubleshooting
Troubleshooting TikTok Ads
What to check when TikTok Ads stops working for your agent.
- Access revoked in TikTok Ads If the access is removed in TikTok Ads, or the sign-in can no longer renew, the connection reads Reconnect needed. Open the agent's Connectors tab, choose TikTok Ads and Reconnect.
- Limits set by TikTok Ads TikTok Ads limits how much an account can do, such as how many requests it takes in a minute. An action over a limit fails until the limit resets: wait and ask again, or check your TikTok Ads plan.
For developers
Connect TikTok Ads from your own product
Every call is a POST to the Wiro API with your project's API key. On a sign-in, your customers see your own app's name.
- 01
Read the connector
Detail answers without a session: what the connector needs and the tools it gives an agent.
POST /AgentConnector/Detail { "slug": "tiktok-ads" }Response { "result": true, "errors": [], "agentconnectors": [ { "slug": "tiktok-ads", "title": "TikTok Ads", "category": "ads", "authtype": "oauth", "accountpickers": [ { "key": "advertisers", "label": "Advertisers", "multiple": true } ], "tools": [] } ] } - 02
Start the sign-in
Connect answers with the vendor's sign-in page. Open it in the browser of the person who owns the account.
POST /UserAgent/ConnectorConnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "tiktok-ads", "redirecturl": "https://your-app.example.com/connectors/return" }Response { "result": true, "errors": [], "status": "pending", "authorizeUrl": "https://vendor.example.com/oauth/authorize?client_id=...&state=..." } - 03
Come back to your page
After the consent screen the browser returns to your redirect URL with the outcome in its query. Read the status next; the query is only a reason to look.
Your redirect URL https://your-app.example.com/connectors/return?connector_connected=true https://your-app.example.com/connectors/return?connector_error=authorization_denied - 04
Read the status
connected, pending (a sign-in not finished), reauth (sign in again) or error. Values and tokens never come back.
POST /UserAgent/ConnectorList { "useragentguid": "YOUR_AGENT_GUID" }Response { "result": true, "errors": [], "useragentconnectors": [ { "slug": "tiktok-ads", "title": "TikTok Ads", "authtype": "oauth", "status": "connected", "accounts": {}, "savedvariables": [], "lasterror": null } ] } - 05
List the accounts
After connecting, list what the agent may use. It cannot reach anything else.
POST /UserAgent/ConnectorAccounts { "useragentguid": "YOUR_AGENT_GUID", "slug": "tiktok-ads" }Response { "result": true, "errors": [], "pickers": [ { "key": "advertisers", "label": "Advertisers", "multiple": true, "candidates": [ { "id": "1234567890", "name": "Example account" } ], "selected": [] } ] } - 06
Save the accounts
Every id is checked against a fresh list, then the agent uses them, with no restart for most changes.
POST /UserAgent/ConnectorSetAccounts { "useragentguid": "YOUR_AGENT_GUID", "slug": "tiktok-ads", "accounts": { "advertisers": [ "1234567890" ] } }Response { "result": true, "errors": [], "restart": "scheduled" } - 07
Disconnect
Revokes a sign-in where the vendor allows it, deletes what the connection holds and removes the connector from the running agent.
POST /UserAgent/ConnectorDisconnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "tiktok-ads" }Response { "result": true, "errors": [], "removed": true, "revoked": true, "restart": "scheduled" }
Questions
TikTok Ads and Wiro FAQ
What jobs can a TikTok Ads AI agent take on?
It reports on campaigns, ad groups, ads and creatives, and creates and edits campaigns, ad groups and ads, Smart+ included, with their budgets and status. It uploads images and videos, builds rule-based, lookalike and saved audiences, runs split tests, sets up automated rules, reads TikTok's diagnosis and its bid, interest and hashtag suggestions, moderates comments and blocked words, applies Spark Ads codes and edits the Pangle block list. Scheduled Tasks let you automate TikTok Ads reports and checks.
How do I connect TikTok Ads to an AI agent?
Start on the agent's Connectors tab, or request TikTok Ads from the agent in Chat. TikTok opens its own sign-in window: sign in with the TikTok for Business account that can reach your advertisers and allow access. There are no keys to copy. Afterwards, pick the advertisers the agent may use.
Does this use TikTok's own TikTok Ads MCP server?
Yes. The connector reaches TikTok Ads through the MCP server TikTok for Business runs, and every request your agent makes goes there. The connector decides which of its actions the agent sees: an action TikTok adds later stays off until the connector adds it, and write requests are never retried automatically.
Will the agent turn on campaigns or move budget without my approval?
New campaigns, ad groups, Smart+ ads and campaign copies always start switched off. In Chat, turning anything on, changing a budget, adding an ad or deleting something is held for your approval by default, while reports and suggestions run without asking. Runs from Scheduled Tasks make those changes by default; if every change should wait for a person, use Ask or Block for Scheduled Tasks. You set each action twice: once for Chat, once for Scheduled Tasks.
Can I limit the agent to certain advertiser accounts?
Yes. Right after you sign in, choose the advertisers it may use. Any other advertiser your TikTok sign-in can reach stays closed to the agent, for reading and for changes, and Choose Accounts on the connector lets you change the selection later.
Does it work with Smart+ and GMV Max campaigns?
For Smart+, yes: the agent creates and edits Smart+ campaigns, ad groups and ads and reads their creative reports. For GMV Max, it reads campaigns, reports and bid suggestions and can update a GMV Max campaign that already exists; new GMV Max campaigns are set up in TikTok Ads Manager.
What does it cost, and where is my TikTok sign-in kept?
Your agent plan costs the same with this connector added, and TikTok does not charge for its API; your ad spend is billed by TikTok as usual and TikTok's own API limits apply. The sign-in is held encrypted, out of the AI model's reach. Disconnecting the connector deletes it.
Access
Revoke TikTok Ads access
Disconnect it on the agent's Connectors tab at any time; the keys or sign-in it holds are deleted.
Related connectors
More ads connectors for your Wiro agent
Put TikTok Ads to work with Wiro
Deploy an agent and connect TikTok Ads from its Connectors tab. Every agent plan includes it: Starter $5, Pro $30 and Max $100 a month.