meta_ads_analysis_performance
Compare current and prior period Meta Ads performance metrics, including delta percentages and ranked callouts, to quickly identify anomalies and focus an audit.
Instructions
Produces an operator-ready performance review for a Meta Ads campaign (or the whole account) with period-over-period comparison. Returns current-period metrics, prior-period metrics (same length immediately before current), delta %, and a ranked list of callouts (e.g. 'CPA up 32% week-over-week', 'impressions down 45%'). Read-only. Use this at the start of an audit — it narrows attention before pulling raw insights via meta_ads_insights_report.
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 | No | Restrict to a single campaign. Omit to analyse the whole account. | |
| period | No | Analysis window. Accepts Meta predefined ranges ('today', 'yesterday', 'last_7d', 'last_14d', 'last_30d' (default), 'last_90d', 'this_month', 'last_month') or explicit 'YYYY-MM-DD..YYYY-MM-DD' (both endpoints inclusive). Longer windows cost more Graph API quota. |