ads_delete_ad_group

Delete (archive) ad groups across ALL ad products via the unified Amazon Ads API v1 (adProduct is a payload field; one shape for SP/SB/SD/ST/DSP).

destructiveAmazon Adsads.v1

Amazon Ads API · DeleteAdGroup · POST /adsApi/v1/delete/adGroups Docs: https://advertising.amazon.com/API/docs/en-us/api-spec-v1-adgroups#tag/AdGroups/operation/DeleteAdGroup Gate: commit — interactive: restate exactly what will happen, wait for a typed CONFIRM; autopilot: only within the seller's instruction and stated limits; otherwise ask.

Call it

In an AI client (MCP)

tools/call
{
  "name": "ads_delete_ad_group",
  "arguments": {
    "store": "myStore-US",
    "countryCode": "<countryCode>",
    "body": {}
  }
}

From code (Tool API)

curl -X POST https://api.sellersheetai.com/api/v1/tools/ads_delete_ad_group \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"store":"myStore-US","countryCode":"<countryCode>","body":{}}'
Early access — the Tool API is open on request, contact us.

Arguments

NameTypeDescription
storerequiredstringthe store ref `<store>-<CC>` (name-country, e.g. 'myStore-US') — one of get_user_context's store_refs, verbatim.
countryCoderequiredstringthe Ads profile's 2-letter country code (e.g. 'US').
bodyrequiredobject{adGroupIds: [...]} — an ID array, not a filter.

Result

Every tool answers {notification, data, human_action}; data carries:

  • 207 {success, partialSuccess, error}. HTTP success does not mean every item succeeded; read error[] by index.
  • data.result.success[].adGroup — each deleted ad group; error[] items were not.

Gotchas

  • Delete = archive (state -> ARCHIVED); the ad group stays queryable.
  • Only SPONSORED_PRODUCTS, SPONSORED_BRANDS and SPONSORED_DISPLAY ad groups can be deleted; SB takes at most 10 ids per call, SD 100.

On this page

Actions

View as Markdown

Ask an assistant

Ask ChatGPTAsk Claude