HTTP 422 Ad budget exceeds a spend cap. A campaign activation or budget raise passes a spend cap: the per-campaign daily or lifetime maximum, the daily cap, or the projected monthly cap.
When it happens
40 of 175 API operations declare it.
Response body
{
"type": "https://pubnio.com/docs/problems/ad-budget-exceeded/",
"status": 422,
"title": "Ad budget exceeds a spend cap",
"code": "ad_budget_exceeded",
"reason": "monthly_cap",
"limit": {
"amountMinor": 100000,
"currency": "USD"
},
"requested": {
"amountMinor": 30400,
"currency": "USD"
},
"committed": {
"amountMinor": 91200,
"currency": "USD"
},
"nextAction": "Lower the campaign budget, raise the monthly cap as an owner, or pause another campaign.",
"requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}| Field | Type | Always present |
|---|---|---|
reason |
"daily_cap", "monthly_cap", "campaign_daily_max", "campaign_lifetime_max" |
Yes |
limit |
Money | Yes |
requested |
Money | Yes |
committed |
Money | Yes |
nextAction |
string | Yes |
Recovery for agents
- Do what
nextActionsays.
Retryable
No: the SDKs mark HTTP 422 not retryable.
Limits
- Match on
typeorcode, not ondetail.