Prepare one or more product ad create previews
prepare_product_ad_create_v1Create an idempotent, auditable write intent to create one or more brand-new product ads (advertising an ASIN in an ad group) in existing ad groups. adgroup_id must come from get_ad_groups; the ASIN (or, when sku is given, that SKU) must not already have a product ad in that ad group. For seller profiles the SKU is resolved at prepare time: an ASIN with several seller SKUs is refused with the candidate list until sku is passed. state is optional: ENABLED (default) or PAUSED, and the ad is created in that state. 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 change an existing product ad's state (enable/pause/archive) instead of creating one, use prepare_product_ad_state_v1; to create a TARGETING clause for an ASIN (not the ad itself) use prepare_product_target_create_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_product_ad_create_v1"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | Seller profiles only: the seller SKU to advertise. Optional when the ASIN has exactly one SKU. Required when it has several (for example an FBM SKU and an FBA SKU such as 12345 and 12345_afn): prepare then fails and lists the candidate SKUs. To advertise several SKUs of one ASIN, pass one item per SKU. | |
| asin | No | ASIN (B-prefixed, e.g. B0CXYZ1234) or 10-digit ISBN to advertise. For seller profiles the SKU is resolved and checked here, at prepare time. | |
| items | No | Batch form: an array of per-ad create objects (adgroup_id, asin, sku?, state?). Use this instead of the flat arguments to create more than one product ad in a single call; never pass both. | |
| state | No | Optional initial product ad state: ENABLED (default) or PAUSED. The ad is created in that state. | |
| adgroup_id | No | Amazon ad group id the new product ad is created in, from get_ad_groups. Use this or items, not both. | |
| 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). | |
| 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. |