send_snapchat_ads_conversions
Send conversions to Snapchat (Conversions API) destructive
Description
Report conversions to Snapchat server-side (Conversions API v3) so it can attribute them to ads and optimise delivery toward them — purchases, sign-ups, leads, page views and the rest. pixelId for website and offline events (list_snapchat_ads_pixels), or snapAppId for app events. Pass plain emails and phone numbers: Hermoso normalises and SHA-256 hashes them before they leave. Snapchat's rules, refused for free: each event needs something to match on (email, phone, madid, ipAddress + userAgent, clickId from the ScCid URL parameter, or leadId); WEB events need eventSourceUrl; PURCHASE needs customData.currency and value; nothing older than 7 days; at most 2,000 events per call. validateOnly:true has Snapchat CHECK the events and records nothing — use it first. eventId deduplicates against the browser pixel. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
adAccountId | string | Snapchat ad account id shared with this profile; omit when only one is shared |
pixelId | string | website / offline events |
snapAppId | string | app events (Snap App ID) |
validateOnly | boolean | Snapchat validates and records nothing |
testEventCode | string | label for Events Manager testing |
eventsrequired | object[] | conversion events to send, up to 2,000 per call |
events[].eventNamerequired | string | PURCHASE, SIGN_UP, PAGE_VIEW, ADD_CART, START_CHECKOUT, VIEW_CONTENT, SUBSCRIBE, START_TRIAL, … or CUSTOM_EVENT_1..5 |
events[].eventTime | number | string | ISO or epoch; default now; within the last 7 days |
events[].eventId | string | dedup key shared with the pixel (order id, transaction id) |
events[].actionSource | "WEB" | "OFFLINE" | "MOBILE_APP" | default WEB |
events[].eventSourceUrl | string | REQUIRED for WEB: the page it happened on (a URL carrying ScCid also attributes the click) |
events[].user | object | matching data for the person; at least one matchable field is needed |
events[].user.email | string | email address; hashed before it is sent |
events[].user.phone | string | phone number with country code, e.g. +1 555 0100; hashed before it is sent |
events[].user.madid | string | mobile advertising id |
events[].user.firstName | string | first name; hashed before it is sent |
events[].user.lastName | string | last name; hashed before it is sent |
events[].user.ipAddress | string | IP address of the person; send with userAgent |
events[].user.userAgent | string | browser user agent string; send with ipAddress |
events[].user.clickId | string | the ScCid value |
events[].user.cookie1 | string | the _scid cookie |
events[].user.externalId | string | your own customer id for the person |
events[].user.leadId | string | a Snapchat lead id from list_snapchat_ads_leads |
events[].customData | object | event value and order details, e.g. for a PURCHASE |
events[].customData.currency | string | ISO currency code, e.g. USD; required for PURCHASE |
events[].customData.value | number | string | event value in currency; required for PURCHASE |
events[].customData.contents | object[] | product items array, passed through as Snapchat expects |
events[].customData.orderId | string | order id, used to deduplicate purchases |
events[].limitedDataUse | boolean | the person opted out (LMU) |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/send_snapchat_ads_conversions.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"send_snapchat_ads_conversions","arguments":{"events":"<array>"}}}
CLI
hermoso call send_snapchat_ads_conversions --json '{"events":"<array>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
list_snapchat_ads_pixelsList Snap Pixels on a Snapchat ad accountdelete_snapchat_ads_audienceDelete a Snapchat audienceupdate_snapchat_ads_audience_usersAdd or remove people in a Snapchat customer listcreate_snapchat_ads_audienceCreate a Snapchat audiencelist_snapchat_ads_audiencesList Snapchat audiencespreview_snapchat_ads_creativePreview a Snapchat adupdate_snapchat_ads_objectEdit a Snapchat campaign, ad squad, ad or creativelist_snapchat_ads_leadsSnapchat leads receivedmanage_snapchat_ads_lead_webhookTurn on real-time Snapchat lead deliverycreate_snapchat_ads_lead_formCreate a Snapchat lead form