# meta_create_custom_conversion

> Create a custom conversion on a pixel of the selected ad account: an event that only counts when it meets a rule (URL or event parameters), usable as…

[Documentation](https://www.getmcpads.com/docs) / [Sources](https://www.getmcpads.com/docs/sources) / [Meta Ads](https://www.getmcpads.com/docs/sources/meta-ads)

Create a custom conversion on a pixel of the selected ad account: an event that only counts when it meets a rule (URL or event parameters), usable as an optimization event and in reports. Preview by default; no automatic retry; ownership checked before any write.

> **Warning** This tool changes the account. It is absent from the tool list on the Free plan, and it previews by default: without `confirm: true` it describes the change and applies nothing.

|  |  |
| --- | --- |
| Source | [Meta Ads](https://www.getmcpads.com/docs/sources/meta-ads) |
| Kind | Write |
| Discovery | Reachable through `search_tools` and `run_write_tool` |
| Account parameter | `adAccountId` |
| Endpoint | https://mcp.getmcpads.com/meta-ads/mcp |

## Parameters

| Name | Type | Required | Notes |
| --- | --- | --- | --- |
| `adAccountId` | string | Required | Ad account ID (with or without act_) that owns every referenced object. |
| `pixelId` | string | Required | Pixel (dataset) ID connected to the ad account or owned by its Business. |
| `name` | string | Required | Exact business name to give this object. Do not derive it from an uploaded filename. |
| `customEventType` | string | Required | customEventType. One of: `ADD_PAYMENT_INFO`, `ADD_TO_CART`, `ADD_TO_WISHLIST`, `COMPLETE_REGISTRATION`, `CONTENT_VIEW`, `INITIATED_CHECKOUT`, `LEAD`, `PURCHASE`, `SEARCH`, `CONTACT`, `CUSTOMIZE_PRODUCT`, `DONATE`, `FIND_LOCATION`, `SCHEDULE`, `START_TRIAL`, `SUBMIT_APPLICATION`, `SUBSCRIBE`, `OTHER`. |
| `rule` | object | Required | Native rule, for example {"and":[{"event":{"eq":"Purchase"}},{"URL":{"i_contains":"/checkout/thanks"}}]}. |
| `defaultConversionValue` | number | Optional | defaultConversionValue. |
| `description` | string | Optional | Description of the audience purpose. |
| `confirm` | boolean | Optional | true applies. Default: a local preview, nothing changed. |
| `validateOnly` | boolean | Optional | Meta validates only; nothing changes. Not with confirm. |

## Calling it

Through run_write_tool, since it is not announced

```json
{
  "name": "run_write_tool",
  "arguments": {
    "name": "meta_create_custom_conversion",
    "args": {
      "adAccountId": "<string>",
      "pixelId": "<string>",
      "name": "<string>",
      "customEventType": "ADD_PAYMENT_INFO",
      "rule": "<object>"
    }
  }
}
```

- [Meta Ads metrics](https://www.getmcpads.com/docs/sources/meta-ads/metrics): What you can ask for.
- [Meta Ads dimensions](https://www.getmcpads.com/docs/sources/meta-ads/dimensions): How you can break it down.

---

This page as HTML: https://www.getmcpads.com/docs/sources/meta-ads/tools/meta_create_custom_conversion
Every page under /docs is available as Markdown: append `.md`, or send `Accept: text/markdown`.
