ads_delete_campaign_optimization_rule
Sponsored Products: delete a rule-based-bidding rule — unlike ads_sp_update_optimization_rules's API (which has no delete), this one really does support delete; the campaign return
destructiveAmazon Adsads.sp
s to its previous bidding. Amazon Ads API · DeleteCampaignOptimizationRule · DELETE /sp/rules/campaignOptimization/{campaignOptimizationId} Docs: https://advertising.amazon.com/API/docs/en-us/sponsored-products/3-0/openapi/prod#tag/Campaign-Optimization-Rules/operation/DeleteCampaignOptimizationRule Gate: commit — interactive: restate exactly what will happen, wait for a typed CONFIRM; autopilot: only within the seller's instruction and stated limits; otherwise ask.
Call it
In an AI client (MCP)
{
"name": "ads_delete_campaign_optimization_rule",
"arguments": {
"store": "myStore-US",
"countryCode": "<countryCode>",
"campaignOptimizationId": "<campaignOptimizationId>"
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/ads_delete_campaign_optimization_rule \
-H "Authorization: Bearer $SELLERSHEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"store":"myStore-US","countryCode":"<countryCode>","campaignOptimizationId":"<campaignOptimizationId>"}'Arguments
| Name | Type | Description |
|---|---|---|
storerequired | string | the store ref `<store>-<CC>` (name-country, e.g. 'myStore-US') — one of get_user_context's store_refs, verbatim. |
countryCoderequired | string | the Ads profile's 2-letter country code (e.g. 'US'). |
campaignOptimizationIdrequired | string | the rule to delete. |
Result
Every tool answers {notification, data, human_action}; data carries:
- Amazon's payload in data.result.