meta_ads_analysis_compare_ads
Compare ads within an ad set by efficiency, ranking them and flagging statistically significant winners or laggards to guide which creatives to pause.
Instructions
Runs an A/B-style comparison of ads inside a single ad set, ranking them by efficiency and flagging statistically meaningful winners. Returns rows per ad with impressions, spend, conversions, CPA, CTR, and a relative-score vs the ad set average, plus a verdict (winner / laggard / insufficient-data). Read-only. Use this to decide which creatives to pause; pair with meta_ads_ads_pause for action.
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. | |
| ad_set_id | Yes | Ad set whose ads will be compared. Comparison is always within a single ad set (same targeting, same budget) so differences reflect creative. | |
| 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. |