curl --location -g --request GET 'https://advertising-api.amazon.com/sd/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": 1676951022655,
"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": "3b12acec-cba0-45b8-bb10-59a44dc52896",
"ruleState": "PAUSED",
"ruleStatus": "PAUSED",
"ruleStatusDetails": null
}
}