hermosodocs

bind_tiktok_ads_rule

Put objects under a TikTok automated rule, or take them out

Area: AUTOMATED RULES · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
advertiserIdstringTikTok ad account id from list_tiktok_ads_accounts; omit when only one account is shared with this profile
ruleIdrequiredstringfrom list_tiktok_ads_rules
dimensionrequired"CAMPAIGN" | "ADGROUP" | "AD"level of the objects in dimensionIds: CAMPAIGN, ADGROUP or AD
dimensionIdsrequiredstring[]the objects to bind or unbind
bindTyperequired"BIND" | "UNBIND"BIND puts the objects under the rule; UNBIND takes them out
confirmbooleanrequired to BIND onto a live rule that can spend
confirmScopestringrequired 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.

All 759 Ad campaign management tools · tools.json