HTTP 409 Ad resource revision conflict. The expectedRevision sent with a spend policy, campaign, ad group, ad, or budget change differs from the stored revision.
When it happens
40 of 175 API operations declare it.
Response body
{
"type": "https://pubnio.com/docs/problems/ad-revision-conflict/",
"status": 409,
"title": "Ad resource revision conflict",
"code": "ad_revision_conflict",
"resource": "campaign",
"expectedRevision": 3,
"actualRevision": 4,
"nextAction": "Read the current resource, then retry with its current revision.",
"requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}| Field | Type | Always present |
|---|---|---|
resource |
"spend_policy", "campaign", "ad_group", "ad", "boost" |
Yes |
expectedRevision |
integer | Yes |
actualRevision |
integer | Yes |
nextAction |
string | Yes |
Recovery for agents
- Do what
nextActionsays.
Retryable
No: the SDKs mark HTTP 409 not retryable.
Limits
- Match on
typeorcode, not ondetail.