Skip to content

meta_create_pixel

Create the Meta Pixel (dataset) of the selected ad account, to measure website conversions.

View as Markdown

Create the Meta Pixel (dataset) of the selected ad account, to measure website conversions. Meta allows one pixel created per ad account through this edge: when one exists, it is returned for reuse and nothing is created. Installs no website code and sends no event; the returned pixel ID is public. Local preview by default. No automatic retry. Account ownership is checked before Meta validation or mutation.

Source
Meta Ads
Kind
Write
Discovery
Reachable through search_tools and run_tool
Account parameter
adAccountId
Endpoint
https://mcp.getmcpads.com/meta-ads/mcp

Parameters

Parameters
NameTypeRequiredNotes
adAccountIdstringRequiredSelected owning ad account ID, with or without act_. Every referenced ad object must belong to it.
namestringRequiredExact pixel name, for example the website it measures.
confirmbooleanOptionalApply only when true. Default is a local preview with no API mutation.
validateOnlybooleanOptionalAsk Meta to validate, without creating or changing an object. Mutually exclusive with confirm.

Calling it

json · Through run_tool, since it is not announced
{
  "name": "run_tool",
  "arguments": {
    "name": "meta_create_pixel",
    "args": {
      "adAccountId": "<string>",
      "name": "<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