meta_ads_pixels_stats
Retrieve aggregated pixel event counts over a rolling time window to detect unusual drops in key events like PageView, Purchase, or Lead, signaling potential pixel break issues. Read-only data for monitoring pixel health.
Instructions
Returns aggregated pixel-event counts over a rolling time window. Returns an array of {date, event_name, count} rows. Read-only. Use this to spot unusual drops in PageView / Purchase / Lead volume that indicate a pixel break. For per-event metadata (parameter names, sample payloads) use meta_ads_pixels_events instead.
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. | |
| pixel_id | Yes | Pixel ID to query. | |
| period | No | Aggregation window. Default last_30d. Longer windows cost more Graph API quota but are necessary to spot slow degradations. |