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.
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) |