---
title: "Ad resource revision conflict (ad-revision-conflict)"
description: "PubNio ad-revision-conflict problem, HTTP 409: The expectedRevision sent with a spend policy, campaign, ad group, ad, or budget change differs from the stored revision."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Ad resource revision conflict (ad-revision-conflict)

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

```json
{
  "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 `nextAction` says.

## Retryable

No: the SDKs mark HTTP 409 not `retryable`.

## Limits

- Match on `type` or `code`, not on `detail`.

## Related

- [Ads problems](https://pubnio.com/docs/problems/#ads)
- [API reference](https://pubnio.com/docs/api/)

Source: https://pubnio.com/docs/problems/ad-revision-conflict/index.mdx
