meta_ get_ dataset_ stats
Read the event volume a pixel received, aggregated by event, device type, browser, host, URL, match keys, detection method or event source (browser…
View as MarkdownRead the event volume a pixel received, aggregated by event, device type, browser, host, URL, match keys, detection method or event source (browser or server), over a recent window.
- Source
- Meta Ads
- Kind
- Read
- Discovery
- Reachable through
search_toolsandrun_tool - Account parameter
adAccountId- Endpoint
- https:/
/ mcp. getmcpads. com/ meta-ads/ mcp
Parameters
| Name | Type | Required | Notes |
|---|---|---|---|
adAccountId | string | Required | Owning advertising account ID. Use the exact ID returned by account discovery; do not substitute a campaign or business ID. |
pixelId | string | Required | Pixel (dataset) ID connected to the ad account or owned by its Business. |
aggregation | string | Optional | Default event. One of: event, device_type, device_os, browser_type, host, url, match_keys, had_pii, pixel_fire, event_, event_source, custom_, event_. |
startTime | string | Optional | Beginning of the reporting period as an ISO 8601 timestamp with an explicit timezone. |
endTime | string | Optional | End of the reporting period as an ISO 8601 timestamp with an explicit timezone, after startTime. |
eventSource | string | Optional | Browser pixel events only, or Conversions API events only. Default both. One of: WEB_ONLY, SERVER_ONLY. |
event | string | Optional | Event name, required with custom_data_field. |
Calling it
{
"name": "run_tool",
"arguments": {
"name": "meta_get_dataset_stats",
"args": {
"adAccountId": "<string>",
"pixelId": "<string>"
}
}
}Manage your ads from your AI assistant
Start for free
Free with 1 ad account, no card. Pro is free for 7 days.