Amazon Ads Write
Create a budget rule (SP/SB/SD)
POST https://api.adspirer.ai/api/v1/tools/create_amazon_budget_rule/execute
Authorization: Bearer sk_live_... — your Adspirer API key (required)Content-Type: application/json (required)Idempotency-Key: <uuid> — recommended for write operations to make retries safeAll tool arguments are wrapped in an arguments object.
| Field | Type | Description |
|---|---|---|
profile_id | string optional | Amazon Ads profile ID (advertiser account). Omit to use the user's selected account. Find IDs with list_amazon_profiles. |
ad_product | string optional | 'sp', 'sb', or 'sd'. default: "sp" |
name | string required | Budget rule name (unique within the account). |
increase_percent | number required | How much to raise the budget, as a PERCENT (e.g. 50 = +50%). Amazon budget rules only support percent increases. |
rule_type | string 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_date | string optional | Rule start date, YYYYMMDD (required for a SCHEDULE rule with a date range). |
end_date | string optional | Rule end date, YYYYMMDD (optional). |
recurrence_type | string optional | How often the rule applies — 'DAILY'. default: "DAILY" |
days_of_week | array optional | For a weekly cadence: e.g. ['MONDAY','FRIDAY']. Omit for every day. |
event_id | string optional | Attach the rule to an Amazon retail event instead of a date range (get the eventId from budget-rule event recommendations). |
performance | object optional | For rule_type=PERFORMANCE: {metric: 'ACOS'|'CTR'|'CVR'|'ROAS', operator: 'LESS_THAN'|'GREATER_THAN'|..., threshold: number}. |
{
"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"
}
}
{
"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"
}
{
"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"
}
{
"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"
}
}
Interactive: Swagger UI
Machine-readable: OpenAPI 3.1 spec · llms-full.txt
More tools: Amazon Ads · All tools
Adspirer REST API — get an API key at adspirer.ai/keys · adspirer.ai