curl --location --request POST 'https://www.amazon.com/ap/oa/sb/budgetRules' \
--header 'Amazon-Advertising-API-ClientId: {{client_id}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Amazon-Advertising-API-Scope: {{profileId}}' \
--header 'Accept: application/json' \
--header 'Content-Type: text/plain' \
--data-raw '{
"budgetRulesDetails": [
{
"name": "Easter 25%",
"ruleType": "SCHEDULE",
"duration": {
"eventTypeRuleDuration": {
"eventId": "{{eventId}}"
}
},
"recurrence": {
"type": "DAILY"
},
"budgetIncreaseBy": {
"type": "PERCENT",
"value": 25
}
}
]
}'
{
"responses": [
{
"associatedCampaignIds": null,
"code": "Ok",
"details": "Budget rule created",
"ruleId": "7788e003-ff0b-4005-bcfb-b68936103a9d"
}
]
}