curl --location -g --request GET 'https://advertising-api.amazon.com/sd/campaigns/{{campaignId}}/budgetRules' \
--header 'Amazon-Advertising-API-ClientId: {{client_id}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Amazon-Advertising-API-Scope: {{profileId}}' \
--header 'Accept: application/json'
{
"associatedRules": [
{
"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": {
"reasonCode": null,
"status": "PAUSED"
}
},
{
"createdDate": 1676951171268,
"lastUpdatedDate": 1676951171268,
"ruleDetails": {
"budgetIncreaseBy": {
"type": "PERCENT",
"value": 20
},
"duration": {
"dateRangeTypeRuleDuration": {
"endDate": "20230430",
"startDate": "20230301"
},
"eventTypeRuleDuration": null
},
"name": "ACOS < 20%",
"performanceMeasureCondition": {
"comparisonOperator": "LESS_THAN_OR_EQUAL_TO",
"metricName": "ACOS",
"threshold": 20
},
"recurrence": {
"daysOfWeek": null,
"intraDaySchedule": null,
"type": "DAILY"
},
"ruleType": "PERFORMANCE"
},
"ruleId": "89f07de4-e24c-4aa0-bffd-7ae916b65b50",
"ruleState": "ACTIVE",
"ruleStatus": "PENDING_START",
"ruleStatusDetails": {
"reasonCode": null,
"status": "PENDING_START"
}
}
]
}