hermosodocs

send_snapchat_ads_conversions

Send conversions to Snapchat (Conversions API) destructive

Area: SNAPCHAT ADS BREADTH · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
adAccountIdstringSnapchat ad account id shared with this profile; omit when only one is shared
pixelIdstringwebsite / offline events
snapAppIdstringapp events (Snap App ID)
validateOnlybooleanSnapchat validates and records nothing
testEventCodestringlabel for Events Manager testing
eventsrequiredobject[]conversion events to send, up to 2,000 per call
events[].eventNamerequiredstringPURCHASE, SIGN_UP, PAGE_VIEW, ADD_CART, START_CHECKOUT, VIEW_CONTENT, SUBSCRIBE, START_TRIAL, … or CUSTOM_EVENT_1..5
events[].eventTimenumber | stringISO or epoch; default now; within the last 7 days
events[].eventIdstringdedup key shared with the pixel (order id, transaction id)
events[].actionSource"WEB" | "OFFLINE" | "MOBILE_APP"default WEB
events[].eventSourceUrlstringREQUIRED for WEB: the page it happened on (a URL carrying ScCid also attributes the click)
events[].userobjectmatching data for the person; at least one matchable field is needed
events[].user.emailstringemail address; hashed before it is sent
events[].user.phonestringphone number with country code, e.g. +1 555 0100; hashed before it is sent
events[].user.madidstringmobile advertising id
events[].user.firstNamestringfirst name; hashed before it is sent
events[].user.lastNamestringlast name; hashed before it is sent
events[].user.ipAddressstringIP address of the person; send with userAgent
events[].user.userAgentstringbrowser user agent string; send with ipAddress
events[].user.clickIdstringthe ScCid value
events[].user.cookie1stringthe _scid cookie
events[].user.externalIdstringyour own customer id for the person
events[].user.leadIdstringa Snapchat lead id from list_snapchat_ads_leads
events[].customDataobjectevent value and order details, e.g. for a PURCHASE
events[].customData.currencystringISO currency code, e.g. USD; required for PURCHASE
events[].customData.valuenumber | stringevent value in currency; required for PURCHASE
events[].customData.contentsobject[]product items array, passed through as Snapchat expects
events[].customData.orderIdstringorder id, used to deduplicate purchases
events[].limitedDataUsebooleanthe 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.

All 759 Ad campaign management tools · tools.json