delete_pinterest_ads_object
Archive (Pinterest’s delete) a campaign / ad group / ad destructive
Description
Retire a Pinterest campaign, ad group or ad. PINTEREST API v5 HAS NO DELETE for any of the three — ARCHIVED is its terminal state, and Pinterest’s own campaign docs call an archived campaign "deleted" and say reversing it means filing a ticket with their customer ops team, so there is no un-archive you or the user can call. Say ARCHIVED, not "deleted": the object stays on the account with its reporting history and simply drops out of the default list view. Pass level:"campaign" + campaignId, level:"adGroup" + adGroupId, or level:"ad" + adId. CALL IT WITHOUT confirm FIRST — nothing is archived and you get the object’s real name, status and child count read live from Pinterest; show the user exactly that. A target with children or live delivery additionally needs confirmName (its exact name) and confirmChildren (the count from that read-back). PAUSING is fully reversible — offer it first whenever the user only wants delivery to stop. Pinterest documents no cascade, so archive the children yourself if they should stop too.
Parameters
| Parameter | Type | Description |
|---|---|---|
adAccountId | string | Pinterest ad account id — omit to use the single shared account |
level | "campaign" | "adGroup" | "ad" | what to archive — default campaign |
campaignId | string | campaign id to archive; used with level:"campaign" |
adGroupId | string | ad group id to archive; used with level:"adGroup" |
adId | string | ad id to archive; used with level:"ad" |
confirm | boolean | REQUIRED true — archiving is not self-service reversible |
confirmName | string | the object’s EXACT name, required when it has children or is live |
confirmChildren | number | the exact number of children reported by the unconfirmed call, required when it has any |
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/delete_pinterest_ads_object.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"delete_pinterest_ads_object","arguments":{}}}
CLI
hermoso call delete_pinterest_ads_object --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.
Related tools
set_pinterest_ads_statusActivate, pause or archive a Pinterest campaign / ad group / adlist_pinterest_ads_conversion_tagsList Pinterest conversion tagsset_pinterest_ads_budgetSet a Pinterest campaign budgetcreate_pinterest_ads_conversion_tagCreate a Pinterest conversion tagupdate_pinterest_ads_adEdit a Pinterest adsend_pinterest_ads_conversionsSend conversions to Pinterest (Conversions API)update_pinterest_ads_ad_groupEdit a Pinterest ad grouplist_pinterest_ads_audiencesList Pinterest audiences and customer listscreate_pinterest_ads_adCreate a Pinterest adcreate_pinterest_ads_audienceCreate a Pinterest audience