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…
View as MarkdownCreate 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.
- Source
- Meta Ads
- Kind
- Write
- Discovery
- Reachable through
search_toolsandrun_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_, CONTENT_VIEW, INITIATED_, LEAD, PURCHASE, SEARCH, CONTACT, CUSTOMIZE_, DONATE, FIND_LOCATION, SCHEDULE, START_TRIAL, SUBMIT_, 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
{
"name": "run_write_tool",
"arguments": {
"name": "meta_create_custom_conversion",
"args": {
"adAccountId": "<string>",
"pixelId": "<string>",
"name": "<string>",
"customEventType": "ADD_PAYMENT_INFO",
"rule": "<object>"
}
}
}Manage your ads from your AI assistant
Start for free
Free with 1 ad account, no card. Pro is free for 7 days.