> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Targets

> Lists targets for an Amazon Ads profile: keywords, product targets, category targets, themes, and audiences, including negatives, with filtering options

Lists targets for an Amazon Ads profile: keywords, product targets, category targets, themes, and audiences, including negatives, with filtering options.

| | |
| - | - |
| **App** | Amazon Ads |
| **Operation ID** | `amazon_ads_list_targets` |
| **Type** | Action |
| **Connection** | `amazon_ads` (required) |
| **Credits per run** | 1 |
| **Agent / MCP tool** | Yes |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile whose targets should be listed. |
| `ad_products` | array of string or SelectableOption | No | - | Filter targets by ad product. Options: SPONSORED\_PRODUCTS, SPONSORED\_BRANDS, SPONSORED\_DISPLAY, SPONSORED\_TELEVISION. Defaults to all four when omitted. |
| `target_types` | array of string or SelectableOption | No | - | Filter by target type: KEYWORD, PRODUCT, PRODUCT\_CATEGORY, PRODUCT\_AUDIENCE, THEME, AUDIENCE. Returns all types when omitted. |
| `negative` | string or SelectableOption | No | `{'value': 'all', 'label': 'All'}` | Filter by negative flag: all (default), positive (targeting), or negative (exclusions). |
| `entity_states` | array of string or SelectableOption | No | - | Filter targets by state. Options: ENABLED, PAUSED, ARCHIVED, DRAFT, PROPOSED. Defaults to ENABLED and PAUSED when omitted. |
| `campaign_ids` | array of string (also accepts a comma-separated string) | No | - | Optional campaign IDs to list targets for, as a list or comma-separated text. Up to 100. |
| `ad_group_ids` | array of string (also accepts a comma-separated string) | No | - | Optional ad group IDs to list targets for, as a list or comma-separated text. Up to 100. |
| `target_ids` | array of string (also accepts a comma-separated string) | No | - | Optional target IDs to fetch, as a list or comma-separated text. Up to 100. |
| `keywords` | array of string (also accepts a comma-separated string) | No | - | Optional keyword texts to filter keyword targets by, as a list or comma-separated text. Up to 100. |
| `filters` | array of FilterItem | No | - | Additional filters to apply after retrieving targets. The available fields to filter by are: - targetId: Filter by target ID - adGroupId: Filter by ad group ID - campaignId: Filter by campaign ID - targetType: Filter by target type - state: Filter by target state Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. |
| `limit` | integer | No | `100` | Maximum number of targets to return. Default: 100. |

### FilterItem

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `field` | string or SelectableOption | Yes | - | The field to filter on, must be one of the current selected metrics or dimensions. |
| `operator` | string | Yes | - | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' |
| `value` | string | Yes | - | The value to filter by, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. |

### SelectableOption

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | |
| `label` | string | Yes | - | |

## Output

**Type**: `List[Dict]`

Returns the raw list of Amazon Ads targets as provided by the Ads API v1 query/targets endpoint.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.