ads_automation_rule_create
Create KPI automation rules that monitor metrics like ROAS, CPA, or spend and trigger pause_campaign or notify actions when thresholds are met.
Instructions
Create a KPI rule. Supported actions are pause_campaign and notify.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"metric": "<metric>",
"operator": "<operator>",
"threshold": "<threshold>",
"action": "<action>"
},
"name": "ads_automation_rule_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | Yes | ||
| action | Yes | ||
| metric | Yes | ||
| enabled | No | ||
| operator | Yes | ||
| threshold | Yes | ||
| campaign_id | No | ||
| cooldown_minutes | No |