meta_ads_analysis_audience
Score delivery efficiency across age and gender segments to find best and worst performers, with recommendations to pause high-CPA buckets.
Instructions
Scores delivery efficiency across age × gender segments and flags the best and worst performing buckets. Returns rows per age_range × gender with spend, conversions, CPA, and a relative_score vs the campaign average, plus a recommendations array (e.g. 'Pause 55-64 male — 3x CPA, 1 conversion'). Read-only. Use before adjusting targeting; for raw breakdown numbers use meta_ads_insights_breakdown with breakdown='age,gender'.
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 analyse. | |
| 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. |