get_meta_hourly_performance
Analyze Meta Ads performance by hour and weekday per campaign to guide dayparting and ad scheduling. Identify when ads perform best or worst in the audience time zone.
Instructions
Returns Meta Ads performance broken down by hour-of-day (0–23) and day-of-week (MONDAY–SUNDAY) per campaign. Use for dayparting / ad-set scheduling analysis — identify when ads perform best and worst in the advertiser's audience time zone. Metrics per bucket: impressions, clicks, spend, conversions (from client.meta_ads.conversion_action), conversion_value, ctr, cpc, cpa, roas. Day-of-week is derived client-side from the Meta insights date; hours are buckets from Meta's hourly_stats_aggregated_by_audience_time_zone breakdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | No | Client identifier. Use list_clients to see available IDs. | |
| campaign_ids | No | Filter to specific campaign IDs. Returns all campaigns if omitted. | |
| ad_account_ids | No | Override the client's default Meta ad account IDs. | |
| date_range_end | No | YYYY-MM-DD. Defaults to today. | |
| date_range_start | No | YYYY-MM-DD. Defaults to 30 days ago. |