Get Pixel Stats
adsap_get_pixel_statsGet event volume for a Meta pixel / dataset (live from Meta) — how many of each event type (PageView, Purchase, Lead, CompleteRegistration, …) the pixel has received. Use to confirm a pixel is firing and see which conversion signals it's receiving before building a conversion-optimized ad set. Get the pixel_id from adsap_list_meta_assets (asset_type:"pixels").
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ad_account_id": "<ad_account_id>",
"pixel_id": "<pixel_id>"
},
"name": "adsap_get_pixel_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_time | No | Optional window end as a Unix timestamp (seconds). | |
| pixel_id | Yes | Meta pixel / dataset ID (numeric). Get it from adsap_list_meta_assets (asset_type:"pixels"). | |
| start_time | No | Optional window start as a Unix timestamp (seconds). Omit for Meta's default recent window. | |
| ad_account_id | Yes | Ad account ID (act_xxx) the pixel belongs to. Required — scopes the request and anchors the Meta budget check. |