hermosodocs

set_tiktok_ads_status

Activate, pause or delete TikTok campaigns / ad groups / ads destructive

Area: OFFLINE EVENTS + CRM EVENT SETS · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

THE ONE SWITCH THAT ARMS REAL MONEY ON TIKTOK. Pass level ("campaign", "adgroup" or "ad"), the ids, and a status: ENABLE starts real spend on the next auction, DISABLE stops it, DELETE removes the objects (TikTok models removal as a STATUS — it publishes no delete verb — which is why delete_tiktok_ads_object is a thin wrapper over this same route). EVERY status change here needs confirm:true, and CALLING IT WITHOUT confirm CHANGES NOTHING and hands back the sentence describing exactly what would happen — show the user that, get an unambiguous yes, then confirm. EVERY TIER HAS TO BE ENABLED FOR AN IMPRESSION TO SERVE: Hermoso creates all three paused, so enabling the campaign alone does nothing while its ad group and ad are still disabled, and each level is a separate call. Ids can be passed in bulk, but TikTok’s QPS is 1 and calls are serialized, so a long list is simply slow. THE ANSWER IS THE READ-BACK: the result carries what TikTok STORED per id, plus a note when the read-back did not return every id — repeat that rather than the status you asked for.

Parameters

ParameterTypeDescription
advertiserIdstringTikTok ad account id from list_tiktok_ads_accounts; omit when only one account is shared with this profile
levelrequired"campaign" | "adgroup" | "ad"which tier the ids belong to
idsrequiredstring[]the campaign / ad group / ad ids to change
statusrequired"ENABLE" | "DISABLE" | "DELETE"ENABLE = start real spend; DISABLE = stop; DELETE = remove (TikTok has no delete verb, removal is a status)
confirmbooleanREQUIRED true — call without it first to see exactly what would change

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/set_tiktok_ads_status.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"set_tiktok_ads_status","arguments":{"level":"<one of the listed values>","ids":"<array>","status":"<one of the listed values>"}}}

CLI

hermoso call set_tiktok_ads_status --json '{"level":"<one of the listed values>","ids":"<array>","status":"<one of the listed values>"}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 759 Ad campaign management tools · tools.json