ads_update_optimization_rule

Sponsored Products: update a rule-based-bidding rule — same shape as ads_create_optimization_rule plus campaignOptimizationId.

destructiveAmazon Adsads.sp

Amazon Ads API · UpdateOptimizationRule · PUT /sp/rules/campaignOptimization Docs: https://advertising.amazon.com/API/docs/en-us/sponsored-products/3-0/openapi/prod#tag/Campaign-Optimization-Rules/operation/UpdateOptimizationRule Gate: approve — interactive: show the change (Amazon's preview first where one exists), wait for an explicit approve; autopilot: only when the seller's own words asked for this change; otherwise ask.

Call it

In an AI client (MCP)

tools/call
{
  "name": "ads_update_optimization_rule",
  "arguments": {
    "store": "myStore-US",
    "countryCode": "<countryCode>",
    "body": {}
  }
}

From code (Tool API)

curl -X POST https://api.sellersheetai.com/api/v1/tools/ads_update_optimization_rule \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"store":"myStore-US","countryCode":"<countryCode>","body":{}}'
Early access — the Tool API is open on request, contact us.

Arguments

NameTypeDescription
storerequiredstringthe store ref `<store>-<CC>` (name-country, e.g. 'myStore-US') — one of get_user_context's store_refs, verbatim.
countryCoderequiredstringthe Ads profile's 2-letter country code (e.g. 'US').
bodyrequiredobjectthe rule shape from ads_create_optimization_rule plus campaignOptimizationId.

Result

Every tool answers {notification, data, human_action}; data carries:

  • Amazon's payload in data.result.

Gotchas

  • Same field-enum quirks as ads_create_optimization_rule (ruleType only BID; ROAS condition mandatory; comparisonOperator effectively GREATER_THAN | EQUAL_TO for ROAS).

On this page

Actions

View as Markdown

Ask an assistant

Ask ChatGPTAsk Claude