update_pinterest_ads_ad_group
Edit a Pinterest ad group destructive
Description
EDIT an existing Pinterest ad group in place — its name, bid, budget, pacing, placement and, above all, its TARGETING. Before this, targeting was frozen the moment an ad group was created: a mistyped bid or a missing country meant building the whole tree again, and because PINTEREST HAS NO DELETE every correction left a permanent archived shell behind. This is a PARTIAL edit — a field you do not name is left exactly as Pinterest has it, so send only what changes, and never re-send everything you just read (that would overwrite a concurrent edit). targetingSpec is the exception: it REPLACES the whole targeting object, so include every criterion you still want. IT DOES NOT CHANGE STATUS — set_pinterest_ads_status owns ACTIVE / PAUSED / ARCHIVED, and passing status here is refused by name. Changing the bid, the budget, or which campaign it spends from WHILE IT IS LIVE moves real money on the next auction: show the user the exact new value, get an explicit yes, then pass confirm:true. Pinterest refuses targetingTemplateIds alongside targetingSpec / trackingUrls / autoTargeting / placementGroup, which is refused here naming the conflicting pair. The ad group is READ BACK from Pinterest afterwards and the note describes what Pinterest actually stored — print it verbatim. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
adAccountId | string | Pinterest ad account id, from list_pinterest_ads_campaigns |
adGroupIdrequired | string | the ad group to edit |
status | "ACTIVE" | "PAUSED" | "ARCHIVED" | "DRAFT" | REFUSED HERE ON PURPOSE — use set_pinterest_ads_status, which confirm-gates real spend and Pinterest’s archive-as-delete |
name | string | new ad group name |
bid | number | what you pay per billable event, in the ad account’s currency |
budget | number | only on a campaign that is NOT budget-optimized |
budgetType | "DAILY" | "LIFETIME" | "CBO_ADGROUP" | budget mode: DAILY, LIFETIME or CBO_ADGROUP |
billableEvent | "CLICKTHROUGH" | "IMPRESSION" | "VIDEO_V_50_MRC" | Pinterest ties this to the campaign objective and refuses a mismatch |
placementGroup | "ALL" | "SEARCH" | "BROWSE" | "OTHER" | where the ads run: ALL, SEARCH, BROWSE or OTHER |
pacing | "STANDARD" | "ACCELERATED" | delivery speed: STANDARD or ACCELERATED |
autoTargeting | boolean | true or false: Pinterest automatic targeting |
targetingSpec | object | REPLACES the whole targeting spec — get ids from search_pinterest_ads_targeting, never guess one |
trackingUrls | object | Pinterest tracking URL object for the ad group |
targetingTemplateIds | string[] | Pinterest refuses these alongside targetingSpec / trackingUrls / autoTargeting / placementGroup |
optimizationGoalMetadata | object | Pinterest optimization goal metadata object |
startTime | number | Unix timestamp in SECONDS |
endTime | number | Unix timestamp in SECONDS |
lifetimeFrequencyCap | number | CPM (IMPRESSION-billed) ad groups only, and Pinterest requires endTime with it |
campaignId | string | MOVE the ad group into a different campaign — it then spends from that budget |
confirm | boolean | REQUIRED true to change bid / budget / campaign on a LIVE ad group |
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/update_pinterest_ads_ad_group.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"update_pinterest_ads_ad_group","arguments":{"adGroupId":"<string>"}}}
CLI
hermoso call update_pinterest_ads_ad_group --json '{"adGroupId":"<string>"}'
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 / adcreate_pinterest_ads_adCreate a Pinterest adupdate_pinterest_ads_adEdit a Pinterest adcreate_pinterest_ads_ad_groupAdd a Pinterest ad groupset_pinterest_ads_budgetSet a Pinterest campaign budgetcreate_pinterest_ads_campaignBuild a Pinterest ad campaign (paused)pinterest_ads_reportPinterest ads performance reportdelete_pinterest_ads_objectArchive (Pinterest’s delete) a campaign / ad group / adlist_pinterest_ads_campaignsList Pinterest ad accounts / campaignslist_pinterest_ads_conversion_tagsList Pinterest conversion tags