ads_delete_query_based_audience_by_audience_execution_id

Delete an AMC audience (FAILED or SUCCEEDED) and its segment in the sponsored-ads account.

destructiveAmazon Adsads.amc-audiences

Ask the seller first: it cannot be undone. Amazon Ads API · deleteQueryBasedAudienceByAudienceExecutionId · DELETE /amc/audiences/query/{audienceExecutionId} Docs: https://advertising.amazon.com/API/docs/en-us/amc-rba#tag/Rule-based-audience/operation/deleteQueryBasedAudienceByAudienceExecutionId 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_query_based_audience_by_audience_execution_id",
  "arguments": {
    "store": "myStore-US",
    "country_code": "<country_code>",
    "audience_execution_id": "<audience_execution_id>"
  }
}

From code (Tool API)

curl -X POST https://api.sellersheetai.com/api/v1/tools/ads_delete_query_based_audience_by_audience_execution_id \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"store":"myStore-US","country_code":"<country_code>","audience_execution_id":"<audience_execution_id>"}'
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.
country_coderequiredstringthe Ads profile's 2-letter country code (e.g. 'US').
audience_execution_idrequiredstringthe audience's data.audience_execution_id.

Result

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

  • data.deleted — true when Amazon removed it.

Gotchas

  • Gate: commit — irreversible.
  • Take it out of every campaign first: Amazon refuses an audience it sees in use, but only on a best-effort check.

On this page

Actions

View as Markdown

Ask an assistant

Ask ChatGPTAsk Claude