ads_query_target
Query (read) targets across ALL ad products via the unified Amazon Ads API v1 — keywords, product and category targets, audiences, themes and locations, and every negative (negativ
readAmazon Adsads.v1
e=true, ad-group or campaign level); there is no separate keywords entity in v1. Use it for a targeted read of current settings (by id, name or state); for a whole-account dump use ads_target_export, and for spend or sales use query_report_data. Amazon Ads API · QueryTarget · POST /adsApi/v1/query/targets Docs: https://advertising.amazon.com/API/docs/en-us/api-spec-v1-targets#tag/Targets/operation/QueryTarget
Call it
In an AI client (MCP)
{
"name": "ads_query_target",
"arguments": {
"store": "myStore-US",
"countryCode": "<countryCode>",
"body": {}
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/ads_query_target \
-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
| Name | Type | Description |
|---|---|---|
storerequired | string | the store ref `<store>-<CC>` (name-country, e.g. 'myStore-US') — one of get_user_context's store_refs, verbatim. |
countryCoderequired | string | the Ads profile's 2-letter country code (e.g. 'US'). |
bodyrequired | object | the filter object — adProductFilter is required; e.g. {adProductFilter: {include: ['SPONSORED_PRODUCTS']}, adGroupIdFilter: {include: ['<adGroupId>']}, negativeFilter: {include: [true]}} lists that ad group's negative targets; targetTypeFilter {include: ['KEYWORD']} and keywordFilter {include: [...], queryTermMatchType: EXACT_MATCH | BROAD_MATCH} narrow further. |
Result
Every tool answers {notification, data, human_action}; data carries:
- Amazon's payload in data.result.
data.result— the matching targets — the server follows nextToken for up to 5 pages; maxResults caps the total.data.nextToken— set when more remain — call again with the SAME filters plus this nextToken (a token-only body 400s).