List campaigns
list_campaignsList one marketplace's enabled and paused campaigns (Sponsored Products, Brands, Display): id, name, ad type, state, auto or manual targeting, daily budget (in the marketplace's currency) and whether Gloriads created or changed it. Read from the copy Gloriads keeps; meta.synced_at says when it was read from Amazon. Paginated: follow next_cursor while has_more is true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"marketplace_id": "<marketplace_id>"
},
"name": "list_campaigns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Items per page, 1 to 1000. Defaults to 100. | |
| cursor | No | The `next_cursor` of the previous page, to read the next one. Treat it as opaque. | |
| states | No | Keep only these states: ENABLED, PAUSED. Archived ones are never listed. | |
| targeting | No | Keep only automatic or manual campaigns. | |
| ad_products | No | Keep only these ad types: SPONSORED_PRODUCTS, SPONSORED_BRANDS, SPONSORED_DISPLAY. | |
| marketplace_id | Yes | The marketplace: an `id` from list_marketplaces. |