meta_ads_pixels_create
Create a new Meta Pixel on the ad account to track conversions, and get the new pixel ID. Check for existing pixels first, as ad accounts have a pixel limit and reusing is preferable.
Instructions
Creates a new Meta Pixel on the ad account. Returns the new pixel id. Mutating — not automatically reversible; pixels cannot be deleted via the Graph API once created, so record before-state with mureo_state_action_log_append if you may need to audit the change. Call meta_ads_pixels_list first to check for an existing pixel — ad accounts have a pixel limit, and reusing an existing pixel is almost always preferable to creating a duplicate. After creation, install the pixel's code on the site and use meta_ads_pixels_stats / events to confirm it is firing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Pixel name shown in Events Manager. Pick something descriptive (e.g. the site or brand) so it is easy to identify later. | |
| 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. |