Detect Spend & CPA Anomalies (Guardrail)
detect_spend_anomaliesFlags ad spend anomalies: runaway spend, zero-conversion budget drain, low-CTR creative burnout, and CPA spikes. Suggests immediate fixes.
Instructions
Scans recent delivery and conversion metrics for runaway spend, zero-conversion budget drain, low-CTR creative burnout, and abnormal CPA spikes across campaigns. Recommends immediate remediation actions.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "detect_spend_anomalies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | No | Optional specific campaign ID to check (checks all active if omitted) | |
| lookback_days | No | Number of days of data to analyze (default: 7) | |
| max_cpa_multiplier | No | Multiplier above target bid to flag as CPA runaway (default: 2.5) | |
| zero_conversion_spend_threshold_usd | No | Alert threshold for spend in USD with zero attributed conversions (default: $50) |