curl --location -g --request GET 'https://advertising-api.amazon.com/sp/campaigns/{{campaignId}}/budgetRules/budgetHistory?pageSize=10&startDate=20221018&endDate=20221018' \
--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 ''
{
"history": [
{
"PerformanceMetric": null,
"appliedRule": {
"createdDate": null,
"lastUpdatedDate": null,
"ruleDetails": {
"budgetIncreaseBy": {
"type": "PERCENT",
"value": 98
},
"duration": {
"dateRangeTypeRuleDuration": {
"endDate": "20221021",
"startDate": "20221018"
},
"eventTypeRuleDuration": null
},
"name": "Test 1",
"performanceMeasureCondition": null,
"recurrence": {
"daysOfWeek": null,
"type": "DAILY"
},
"ruleType": "SCHEDULE"
},
"ruleId": "aaae82a7-6114-4825-8d37-574b98fbfd5a",
"ruleState": "ACTIVE",
"ruleStatus": "ACTIVE",
"ruleStatusDetails": null
},
"dailyBudgetValue": 100,
"executionTime": 1666125984341,
"ruleBasedBudgetValue": 198
},
{
"PerformanceMetric": null,
"appliedRule": {
"createdDate": null,
"lastUpdatedDate": null,
"ruleDetails": {
"budgetIncreaseBy": {
"type": "PERCENT",
"value": 98
},
"duration": {
"dateRangeTypeRuleDuration": {
"endDate": "20221021",
"startDate": "20221018"
},
"eventTypeRuleDuration": null
},
"name": "Test 1",
"performanceMeasureCondition": null,
"recurrence": {
"daysOfWeek": null,
"type": "DAILY"
},
"ruleType": "SCHEDULE"
},
"ruleId": "aaae82a7-6114-4825-8d37-574b98fbfd5a",
"ruleState": "ACTIVE",
"ruleStatus": "ACTIVE",
"ruleStatusDetails": null
},
"dailyBudgetValue": 100,
"executionTime": 1666125919212,
"ruleBasedBudgetValue": 198
},
{
"PerformanceMetric": null,
"appliedRule": null,
"dailyBudgetValue": 100,
"executionTime": 1666125879082,
"ruleBasedBudgetValue": null
}
],
"nextToken": null
}