curl --location -g --request GET 'https://advertising-api.amazon.com/sb/budgetRules/{{budgetRuleId}}' \
--header 'Amazon-Advertising-API-ClientId: {{client_id}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Amazon-Advertising-API-Scope: {{profileId}}' \
--header 'Accept: application/json'
{
"budgetRule": {
"createdDate": 1676949831857,
"lastUpdatedDate": null,
"ruleDetails": {
"budgetIncreaseBy": {
"type": "PERCENT",
"value": 75
},
"duration": {
"dateRangeTypeRuleDuration": {
"endDate": "20230308",
"startDate": "20230220"
},
"eventTypeRuleDuration": null
},
"name": "Spring Budget Rule - Updated",
"performanceMeasureCondition": {
"comparisonOperator": "GREATER_THAN_OR_EQUAL_TO",
"metricName": "ROAS",
"threshold": 2
},
"recurrence": {
"daysOfWeek": null,
"intraDaySchedule": null,
"type": "DAILY"
},
"ruleType": "PERFORMANCE"
},
"ruleId": "19b62c40-0f4a-4995-adfb-a921808e7788",
"ruleState": "ACTIVE",
"ruleStatus": "ACTIVE",
"ruleStatusDetails": null
}
}