send_pinterest_ads_conversions
Send conversions to Pinterest (Conversions API) destructive
Description
Send conversions to Pinterest server-side — purchases, sign-ups, leads, add-to-carts or any of Pinterest’s 22 events — so Pinterest attributes them to the ads that caused them and conversion campaigns can optimise. Pass ordinary emails, phones and names: they are normalised Pinterest’s way and SHA-256 hashed on our server before they reach Pinterest. Every event needs something to match on: an email, a mobile ad id (maid), or BOTH ipAddress and userAgent — refused here otherwise. Pass eventId (your order or event id) if the site also runs the Pinterest tag, or the same conversion is counted twice. test:true makes Pinterest validate the events and record NOTHING — use it first. The reply counts what Pinterest PROCESSED, not what was sent, and names every failed event. Spends nothing, 0 credits.
Parameters
| Parameter | Type | Description |
|---|---|---|
adAccountId | string | Pinterest ad account id — omit to use the single shared account |
test | boolean | validate only — Pinterest records nothing |
eventsrequired | object[] | up to 1,000 events |
events[].eventName | "add_payment_info" | "add_to_cart" | "add_to_wishlist" | "app_install" | "app_open" | "checkout" | "contact" | "custom" | "customize_product" | "find_location" | "initiate_checkout" | "lead" | "page_visit" | "schedule" | "search" | "signup" | "start_trial" | "submit_application" | "subscribe" | "view_category" | "view_content" | "watch_video" | default page_visit |
events[].actionSource | "web" | "app_android" | "app_ios" | "offline" | default web |
events[].eventTime | number | string | ISO timestamp or Unix epoch; default now |
events[].eventId | string | the dedupe key shared with the browser tag — use the order id |
events[].eventSourceUrl | string | page URL where the event happened |
events[].user | object | email, phone, firstName, lastName, gender (f/m/n), dateOfBirth, city, state, zip, countryCode, externalId, maid, ipAddress, userAgent, clickId (the _epik cookie). Plain values are hashed here; a 64-hex digest passes through. |
events[].customData | object | value, currency, orderId, contentIds, contents[{id,itemPrice,quantity}], numItems, contentName, contentCategory, contentBrand, searchString |
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_pinterest_ads_conversions.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"send_pinterest_ads_conversions","arguments":{"events":"<array>"}}}
CLI
hermoso call send_pinterest_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
create_pinterest_ads_conversion_tagCreate a Pinterest conversion taglist_pinterest_ads_audiencesList Pinterest audiences and customer listslist_pinterest_ads_conversion_tagsList Pinterest conversion tagscreate_pinterest_ads_audienceCreate a Pinterest audiencedelete_pinterest_ads_objectArchive (Pinterest’s delete) a campaign / ad group / adupdate_pinterest_ads_audienceEdit or remove a Pinterest audienceset_pinterest_ads_statusActivate, pause or archive a Pinterest campaign / ad group / adcreate_pinterest_ads_customer_listUpload a Pinterest customer listset_pinterest_ads_budgetSet a Pinterest campaign budgetupdate_pinterest_ads_customer_listAdd or remove people on a Pinterest customer list