curl --location --request POST 'https://www.amazon.com/ap/oa/sp/budgetRules' \
--header 'Amazon-Advertising-API-ClientId: {{client_id}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Amazon-Advertising-API-Scope: {{profileId}}' \
--header 'Content-Type: text/plain' \
--data-raw '{
"budgetRulesDetails": [
{
"duration": {
"dateRangeTypeRuleDuration": {
"endDate": "20221201",
"startDate": "20221102"
}
},
"recurrence": {
"type": "DAILY"
},
"ruleType": "SCHEDULE",
"budgetIncreaseBy": {
"type": "PERCENT",
"value": 10
},
"name": "My budget rule"
}
]
}'
{
"responses": [
{
"associatedCampaignIds": null,
"code": "Ok",
"details": "Budget rule created",
"ruleId": "bd291382-c939-46a6-9149-52358167e170"
}
]
}