update_sp_product_ad_state
Enable or pause one or more Sponsored Products product ads. Use list_sp_product_ads to find ad IDs first.
Supported state values: ENABLED, PAUSED.
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": {
"adIds": "<adIds>",
"state": "<state>",
"venueId": "<venueId>"
},
"name": "update_sp_product_ad_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adIds | Yes | List of product ad IDs to update (required). Use list_sp_product_ads to find ad IDs. | |
| state | Yes | New state: ENABLED or PAUSED (required) | |
| venueId | Yes | Venue ID of the storefront to change (required; never defaulted). In an agency account each venue can be a different client, so if the user has not named the venue, ask them before calling. Use get_ads_connection_status or execute_sql with 'SELECT venue_id, name, marketplace_name FROM venues' to list venue IDs. |