hermosodocs

manage_pinterest_ads_promotion

Manage Pinterest promotions destructive

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

Description

Create, change or delete a Pinterest PROMOTION, the discount an ad group can show. action:"create" needs title and type (the kind of offer, which sets the text shown) and takes code, startTime, endTime (Unix seconds), templateValues (what fills the text), discountStatus, and any other Pinterest field in fields; "update" needs promotionId; "delete" needs promotionId and confirm:true. Read back from Pinterest. 0 credits.

Parameters

ParameterTypeDescription
adAccountIdstringPinterest ad account id — omit to use the single shared account
action"create" | "update" | "delete"default create
promotionIdstringupdate, delete: from pinterest_ads_account_data what:promotions
titlestringcreate: the internal name
type"VARIABLE" | "SITEWIDE" | "CHECKOUT" | "SAVE_X_ON_Y" | "BUY_X_GET_Y" | "SPEND_X_SAVE_Y" | "FREE_SHIPPING" | "FREE_SHIPPING_MINIMUM" | "FREE_SHIPPING_WITH_DISCOUNT" | "SITEWIDE_IN_STORES" | "EXTRA_PERCENT_OFF" | "GIFT_WITH_PURCHASE" | "GIFT_WITH_PURCHASE_MINIMUM" | "FIXED" | "PERCENT_OFF_CLEARANCE" | "X_OFF_Y" | "GIFT_WITH_FIRST_PURCHASE" | "BUY_X_GET_ONE_FREE" | "CASH_BACK" | "POINTS_ON_ALL_PURCHASES" | "BONUS" | "POINTS_WITH_PURCHASE" | "CUSTOM"create: the kind of offer
templateValuesobject[]what fills the offer text, at most 2, in Pinterest template_values shape
codestringthe code a buyer redeems
customIdstringyour own id for it
discountStatusstringPinterest’s discount_status value
startTimenumberUnix seconds
endTimenumberUnix seconds
fieldsobjectany other promotion field, by Pinterest’s own name
confirmbooleandelete: required true

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/manage_pinterest_ads_promotion.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"manage_pinterest_ads_promotion","arguments":{}}}

CLI

hermoso call manage_pinterest_ads_promotion --json '{}'

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