bind_tiktok_ads_rule
Put objects under a TikTok automated rule, or take them out
Description
Bind campaigns, ad groups or ads to an EXISTING automated rule, or unbind them from one. BINDING TO A RULE THAT IS RUNNING AND ABLE TO SPEND puts those objects under standing permission to have their budget or bid raised, which is the same act as arming the rule for them — so it takes the same confirm:true plus confirmScope echo, computed from the rule as TikTok stores it. UNBINDING only ever narrows a rule’s reach and needs neither. TikTok answers a bind with an empty body, so the result is read back off the rule rather than taken from the 200. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
advertiserId | string | TikTok ad account id from list_tiktok_ads_accounts; omit when only one account is shared with this profile |
ruleIdrequired | string | from list_tiktok_ads_rules |
dimensionrequired | "CAMPAIGN" | "ADGROUP" | "AD" | level of the objects in dimensionIds: CAMPAIGN, ADGROUP or AD |
dimensionIdsrequired | string[] | the objects to bind or unbind |
bindTyperequired | "BIND" | "UNBIND" | BIND puts the objects under the rule; UNBIND takes them out |
confirm | boolean | required to BIND onto a live rule that can spend |
confirmScope | string | required in the same case — the scopeToken from list_tiktok_ads_rules |
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/bind_tiktok_ads_rule.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"bind_tiktok_ads_rule","arguments":{"ruleId":"<string>","dimension":"<one of the listed values>","dimensionIds":"<array>","bindType":"<one of the listed values>"}}}
CLI
hermoso call bind_tiktok_ads_rule --json '{"ruleId":"<string>","dimension":"<one of the listed values>","dimensionIds":"<array>","bindType":"<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.
Related tools
set_tiktok_ads_rule_statusArm, disarm or delete a TikTok automated ruletiktok_ads_rule_resultsWhat TikTok’s automated rules actually didlist_tiktok_ads_rulesList TikTok automated rules, classified by whether they can spendupdate_tiktok_ads_ruleReplace a TikTok automated rule’s definitioncreate_tiktok_ads_ruleCreate a TikTok automated rule (created turned OFF)