Prepare one or more negative keyword/ASIN create previews
prepare_negative_create_v1Create an idempotent, auditable write intent to add one or more brand-new negative keyword or negative product (ASIN) exclusions, each scoped either to a whole campaign or (when adgroup_id is also given) to one ad group within it. campaign_id must come from get_campaigns and, if given, adgroup_id from get_ad_groups. Nothing changes on Amazon or in Sellantica until the returned request is confirmed via approve_write_v1 and then execute_write_v1. The preview states will_dispatch: true means execute_write_v1 sends it to Amazon, false (execution_mode PREVIEW_ONLY) means it is recorded and never sent. To remove an existing negative instead of adding one, use prepare_negative_delete_v1; to change a POSITIVE target's bid or state, use prepare_target_bid_v1 instead.
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": {
"profile_id": "<profile_id>",
"profile_pk": "<profile_pk>",
"idempotency_key": "<idempotency_key>"
},
"name": "prepare_negative_create_v1"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Batch form: an array of per-negative create objects (campaign_id, expression, adgroup_id?, match_type?). Use this instead of the flat arguments to create more than one negative in a single call; never pass both. | |
| adgroup_id | No | Amazon ad group id (from get_ad_groups) to scope the negative to that ad group instead of the whole campaign. Omit for a campaign-level negative. | |
| expression | No | The negative keyword text (at most 80 characters) or a B-prefixed ASIN to exclude. An ASIN value is routed to a negative product target automatically. | |
| match_type | No | Match type for a keyword expression: NEGATIVE_EXACT or NEGATIVE_PHRASE (EXACT/PHRASE also accepted). Ignored for an ASIN expression, which is always excluded exactly. Defaults to NEGATIVE_EXACT. | |
| profile_id | Yes | Amazon Ads profile id, from list_profiles. | |
| profile_pk | Yes | Sellantica's internal profile primary key, from list_profiles (needed when profile_id is not unique). | |
| campaign_id | No | Amazon campaign id the negative is created in, from get_campaigns. Use this or items, not both. | |
| idempotency_key | Yes | Caller-chosen key (6-128 safe characters) that makes a retry of this exact call return the same write request instead of creating a duplicate. |