> ## 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.

# Create Targets

> Creates Amazon Ads targets in bulk: keywords, product targets, category targets, themes, and audiences, including negatives

Creates Amazon Ads targets in bulk: keywords, product targets, category targets, themes, and audiences, including negatives. Use amazon\_ads\_list\_ad\_groups to find the ad group ID.

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

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `account` | DynamicAccount | Yes | - | Select the Amazon Ads profile (advertiser + marketplace) to create the targets in. |
| `ad_product` | string or SelectableOption | Yes | - | The Amazon ad product of the campaign. Options: SPONSORED\_PRODUCTS, SPONSORED\_BRANDS, SPONSORED\_DISPLAY, or SPONSORED\_TELEVISION. Target type support varies: Sponsored Products and Brands take KEYWORD, PRODUCT, PRODUCT\_CATEGORY, and THEME; Sponsored Display also takes PRODUCT\_AUDIENCE; Sponsored TV takes AUDIENCE. |
| `target_type` | string or SelectableOption | Yes | - | What to target. KEYWORD (search keywords with match types), PRODUCT (specific ASINs/SKUs), PRODUCT\_CATEGORY (category with refinements), THEME (Amazon-managed keyword groups), AUDIENCE (audience ID), or PRODUCT\_AUDIENCE (viewers/purchasers of a product). |
| `ad_group_id` | string or SelectItem | No | - | The Amazon Ads ad group to create the targets in. Required except for Sponsored Products campaign-level negative targets (set campaign\_id instead). |
| `campaign_id` | string or SelectItem | No | - | Only for Sponsored Products campaign-level negative targets: the campaign to attach the negatives to (leave ad\_group\_id empty). |
| `negative` | boolean | No | `False` | Set true to create negative (excluding) targets, for example negative keywords or negative product targets. Default false. |
| `state` | string or SelectableOption | No | `{'value': 'ENABLED', 'label': 'Enabled'}` | Target state on creation. Options: ENABLED, PAUSED, DRAFT, PROPOSED. Default: ENABLED. |
| `bid` | number | No | - | Bid for these targets in the profile's currency (for example 0.75 for \$0.75). Applied to every target created by this run. Not allowed on negative targets. Required for Sponsored Brands targets. |
| `keywords` | array of string (also accepts a comma-separated string) | No | - | For KEYWORD targets: the keywords to add, as a list or comma/newline separated text. One target is created per keyword. |
| `match_type` | string or SelectableOption | No | - | For KEYWORD targets: match type applied to all keywords. Options: BROAD, PHRASE, EXACT. |
| `product_ids` | array of string (also accepts a comma-separated string) | No | - | For PRODUCT targets: the product IDs (ASINs like B07FZ8S74R, or SKUs) to target, as a list or comma-separated text. One target is created per product. |
| `product_id_type` | string or SelectableOption | No | `{'value': 'ASIN', 'label': 'ASIN'}` | For PRODUCT targets: whether product\_ids are ASINs or SKUs. Default: ASIN. |
| `product_match_type` | string or SelectableOption | No | `{'value': 'PRODUCT_EXACT', 'label': 'Product Exact'}` | For PRODUCT targets: PRODUCT\_EXACT (the exact product), PRODUCT\_SIMILAR, PRODUCT\_COMPLEMENTS, or PRODUCT\_REMARKETING. Default: PRODUCT\_EXACT. |
| `product_category_refinement` | object or string | No | - | For PRODUCT\_CATEGORY targets: the raw Amazon Ads API v1 productCategoryRefinement object, sent as-is. Keys: productCategoryId, productBrandId, productGenreId, productAgeRangeId, productPriceGreaterThan, productPriceLessThan, productRatingGreaterThan, productRatingLessThan, productPrimeShippingEligible. Find category and refinement IDs with amazon\_ads\_get\_category\_targets. Example: \{"productCategoryId": "679255011", "productRatingGreaterThan": 4} |
| `theme_match_type` | string or SelectableOption | No | - | For THEME targets: the Amazon-managed keyword group to target. Sponsored Products supports KEYWORDS\_RELATED\_TO\_YOUR\_BRAND, KEYWORDS\_RELATED\_TO\_YOUR\_PRODUCT\_CATEGORY, KEYWORDS\_RELATED\_TO\_PEER\_BRANDS\_PRODUCT\_CATEGORY, KEYWORDS\_RELATED\_TO\_GIFTS, and KEYWORDS\_RELATED\_TO\_PRIME\_DAY; Sponsored Brands supports KEYWORDS\_RELATED\_TO\_YOUR\_BRAND and KEYWORDS\_RELATED\_TO\_YOUR\_LANDING\_PAGES. Note: the auto-targeting clauses (KEYWORDS\_CLOSE\_MATCH, KEYWORDS\_LOOSE\_MATCH, PRODUCT\_SUBSTITUTES, PRODUCT\_COMPLEMENTS) cannot be created manually; Amazon creates them when a campaign is made with auto\_create\_targets enabled. |
| `audience_id` | string | No | - | For AUDIENCE targets: the Amazon audience ID to target. |
| `product_audience` | object or string | No | - | For PRODUCT\_AUDIENCE targets: the raw Amazon Ads API v1 productAudienceTarget object, sent as-is. Keys: asin (\{"defaultValue": "B0..."}), event, lookback, matchType (PRODUCT\_EXACT or PRODUCT\_SIMILAR). All four are required by Amazon. |
| `targets` | array of object or string | No | - | Advanced alternative to the fields above: the raw Amazon Ads API v1 targets array, sent as-is (each entry needs adProduct, negative, state, targetType, targetDetails, and adGroupId or campaignId). Use for mixed batches or target types not covered by the simple fields. Example: \[\{"adGroupId": "123", "adProduct": "SPONSORED\_PRODUCTS", "negative": false, "state": "ENABLED", "targetType": "KEYWORD", "targetDetails": \{"keywordTarget": \{"keyword": "running shoes", "matchType": "EXACT"}}}] |

### SelectItem

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | The value of the selectable item. |
| `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |

### SelectableOption

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

## Output

**Type**: `Dict`

Returns created\_count and the created targets with their IDs.

**Fields**: `created_count`, `targets`


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