Skip to content
Get MCP Ads, home

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 Markdown

Read 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_tools and run_tool
Account parameter
adAccountId
Endpoint
https://mcp.getmcpads.com/meta-ads/mcp

Parameters

Parameters
NameTypeRequiredNotes
adAccountIdstringRequiredOwning advertising account ID. Use the exact ID returned by account discovery; do not substitute a campaign or business ID.
pixelIdstringRequiredPixel (dataset) ID connected to the ad account or owned by its Business.
aggregationstringOptionalDefault event. One of: event, device_type, device_os, browser_type, host, url, match_keys, had_pii, pixel_fire, event_detection_method, event_source, custom_data_field, event_total_counts.
startTimestringOptionalBeginning of the reporting period as an ISO 8601 timestamp with an explicit timezone.
endTimestringOptionalEnd of the reporting period as an ISO 8601 timestamp with an explicit timezone, after startTime.
eventSourcestringOptionalBrowser pixel events only, or Conversions API events only. Default both. One of: WEB_ONLY, SERVER_ONLY.
eventstringOptionalEvent name, required with custom_data_field.

Calling it

json · Through run_tool, since it is not announced
{
  "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.

Esc

Type to search