ads_get_all_query_based_audiences_by_instance_id

List the AMC audiences of the store's instance — rule-based and lookalike, made by these tools or in the AMC console — with their status and size.

readAmazon Adsads.amc-audiences

Amazon Ads API · getAllQueryBasedAudiencesByInstanceId · GET /amc/audiences/query Docs: https://advertising.amazon.com/API/docs/en-us/amc-rba#tag/Rule-based-audience/operation/getAllQueryBasedAudiencesByInstanceId

Call it

In an AI client (MCP)

tools/call
{
  "name": "ads_get_all_query_based_audiences_by_instance_id",
  "arguments": {
    "store": "myStore-US",
    "country_code": "<country_code>"
  }
}

From code (Tool API)

curl -X POST https://api.sellersheetai.com/api/v1/tools/ads_get_all_query_based_audiences_by_instance_id \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"store":"myStore-US","country_code":"<country_code>"}'
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').
max_resultsinteger · 1–100audiences per page, 1–100 (Amazon's default 100).
next_tokenstringthe cursor from the previous call's data.nextToken; omit for the first page.

Result

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

  • data.audiences[] — {audience_execution_id, audience_name, audience_type (RULE_BASED | LOOKALIKE), status (PENDING | RUNNING | SUCCEEDED | FAILED | DEACTIVATED), status_reason, audience_count, deletable, create_time, last_refreshed_time, query}.
  • data.nextToken — set when more audiences remain.

On this page

Actions

View as Markdown

Ask an assistant

Ask ChatGPTAsk Claude