create_amazon_budget_rule

Amazon Ads Write

Create a budget rule (SP/SB/SD)

Endpoint

POST https://api.adspirer.ai/api/v1/tools/create_amazon_budget_rule/execute

Headers

Description

Create a budget rule (SP/SB/SD). SCHEDULE rules raise the budget by increase_percent over a date range (start_date/end_date YYYYMMDD) or on a retail event (event_id); PERFORMANCE rules raise it when a metric crosses a threshold (pass performance). Attach the new rule to campaigns with associate_amazon_budget_rule.

Request body

All tool arguments are wrapped in an arguments object.

FieldTypeDescription
profile_idstring optionalAmazon Ads profile ID (advertiser account). Omit to use the user's selected account. Find IDs with list_amazon_profiles.
ad_productstring optional'sp', 'sb', or 'sd'. default: "sp"
namestring requiredBudget rule name (unique within the account).
increase_percentnumber requiredHow much to raise the budget, as a PERCENT (e.g. 50 = +50%). Amazon budget rules only support percent increases.
rule_typestring optional'SCHEDULE' (raise budget on set dates/days) or 'PERFORMANCE' (raise budget when a metric hits a threshold). PERFORMANCE requires the performance field. default: "SCHEDULE"
start_datestring optionalRule start date, YYYYMMDD (required for a SCHEDULE rule with a date range).
end_datestring optionalRule end date, YYYYMMDD (optional).
recurrence_typestring optionalHow often the rule applies — 'DAILY'. default: "DAILY"
days_of_weekarray optionalFor a weekly cadence: e.g. ['MONDAY','FRIDAY']. Omit for every day.
event_idstring optionalAttach the rule to an Amazon retail event instead of a date range (get the eventId from budget-rule event recommendations).
performanceobject optionalFor rule_type=PERFORMANCE: {metric: 'ACOS'|'CTR'|'CVR'|'ROAS', operator: 'LESS_THAN'|'GREATER_THAN'|..., threshold: number}.

Example request

{
  "arguments": {
    "name": "string",
    "increase_percent": 1.0,
    "profile_id": "string",
    "ad_product": "sp",
    "rule_type": "SCHEDULE",
    "start_date": "string",
    "end_date": "string",
    "recurrence_type": "DAILY"
  }
}

Example responses

200 — Success

{
  "success": true,
  "data": {
    "text": "(tool-specific textual output for create_amazon_budget_rule)",
    "quota": {
      "used": 42,
      "limit": 150,
      "tier": "plus",
      "period_end": "2026-05-01"
    }
  },
  "tool": "create_amazon_budget_rule"
}

400 — Tool-level error (bad arguments / multi-account selection)

{
  "success": false,
  "error": "You have 25 meta_ads accounts connected. Please specify which account to use by passing the ad_account_id parameter:\n  - Acme Holdings (ad_account_id=\"act_123456789\")\n  - Acme EU (ad_account_id=\"act_987654321\")",
  "is_error": true,
  "tool": "create_amazon_budget_rule"
}

402 — Quota exhausted

{
  "success": false,
  "error": "\ud83d\udea8 Monthly limit reached (150/150 tool calls on Plus tier).\nUpgrade to Pro at https://adspirer.ai to keep building.",
  "is_error": true,
  "tool": "create_amazon_budget_rule",
  "quota": {
    "used": 150,
    "limit": 150,
    "tier": "plus",
    "period_end": "2026-05-01",
    "upgrade_url": "https://adspirer.ai"
  }
}

Try it live


Adspirer REST API — get an API key at adspirer.ai/keys · adspirer.ai