meta_ads_analysis_cost
Identify root causes of increasing CPA or spend in Meta Ads campaigns. Decomposes cost changes into bid, CPM, CTR, CVR, audience saturation, or creative fatigue drivers, each with magnitude and recommended action.
Instructions
Diagnoses root causes of rising spend or degrading CPA on a Meta Ads campaign. Returns a decomposition that attributes the cost change to drivers — bid increase, CPM inflation, CTR drop, CVR drop, audience saturation, or creative fatigue — with per-driver magnitude and a specific action hint. Read-only. Use this when the operator reports 'why did CPA jump'; it separates auction-side from creative-side causes in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | Meta Ads account ID in the format 'act_XXXXXXXXXX' (e.g. 'act_1234567890'). Optional — falls back to META_ADS_ACCOUNT_ID from the configured credentials. The leading 'act_' prefix is required. | |
| campaign_id | Yes | Campaign to diagnose. | |
| period | No | Analysis window. Accepts Meta predefined ranges ('today', 'yesterday', 'last_7d', 'last_14d', 'last_30d' (default), 'last_90d') or explicit 'YYYY-MM-DD..YYYY-MM-DD'. Longer windows cost more Graph API quota. |