# Conversions

Send conversions to Outbrain server to server from your backend, matched by the Outbrain click id and counted by the Event-Based Conversion of the same name.

`POST /v1/events` sends your conversions to Outbrain's server-to-server pixel. The destination is the connection's marketer id.

## Send a conversion event

Name the Outbrain account and its marketer id. Send the `ob_click_id` from the ad click, and the name of an Event-Based Conversion in Amplify:

```bash
curl -X POST "https://zernio.com/api/v1/events" \
  -H "Authorization: Bearer $ZERNIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "profileId": "PROFILE_ID",
    "destinations": [{ "accountId": "ACCOUNT_ID", "destinationId": "00f4b02153ee75f3c9dc4fc128ab0419ab" }],
    "events": [{
      "eventName": "Purchase",
      "eventTime": 1798804800,
      "eventId": "order_12345",
      "value": 4.99,
      "currency": "USD",
      "user": { "clickIds": { "ob_click_id": "OB_CLICK_ID_FROM_THE_CLICK" } }
    }]
  }'
```

To send every conversion to Outbrain without naming it each time, create a [forwarding rule](/conversions/create-forwarding-rule) for the account instead.

## Event names

`eventName` goes to Outbrain as is. Outbrain counts the event only when it equals the name of an Event-Based Conversion in Amplify exactly, case included.

When your conversion is named otherwise, rename the event in the forwarding rule.

## Match keys

Each event needs `user.clickIds.ob_click_id`, the click id Outbrain adds to your landing URLs through `ob_click_id={{ob_click_id}}` in the campaign's Track box. No email, phone or other personal data is sent.

The [Zernio tag](/products/server-side-tracking/script) keeps `ob_click_id` from the landing URL. Send the visitor id and your backend events get it too.

## What else is sent

- The event time as `timestamp`, in UTC, so a late event keeps its day.
- `platformData.order_id`, or else `eventId`, as `orderId`, so a resent event carries the same id.
- `value` as `orderValue` and `currency`, when the event has them.

## Consent

- On profiles created since 22 November 2026, an event from the EEA, UK or Switzerland is sent only with `adUserData` granted and no ad signal denied.
- In the EEA, UK and Switzerland the tag keeps `ob_click_id` only after the visitor accepts ad cookies. See [Consent](/products/server-side-tracking/consent).

## Test mode

Outbrain has no test mode for server-to-server conversions, so an event sent with `testCode` is not sent to Outbrain: it fails with `TEST_MODE_UNSUPPORTED`.

## How it behaves

- One request per event, five at a time, so a refused event never fails the others.
- A `429` or `5xx` from Outbrain is retried; any other error fails the event for good, with Outbrain's answer in the message.
- Outbrain cannot take a refund or a change back, so a retracted event stays counted there.

## If it fails

| Error | Cause | Fix |
|-------|-------|-----|
| `Outbrain matches conversions only by its click id …` | No `clickIds.ob_click_id` | Send the `ob_click_id` from the ad click. |
| `Outbrain needs the name of an Event-Based Conversion in Amplify.` | `eventName` is empty | Send the conversion's name. |
| `Outbrain has no test mode …` | The request carried `testCode` | Send it without `testCode`. |
| `destinationId must be this connection's Outbrain marketer id` | Another id was sent | Use the id from `GET /v1/ads/conversions/destinations`. |
| `401` with `reconnect_required` | The connection has no marketer id | [Connect again](/platforms/outbrain-ads/connect). |

## Related

- [Send events](/conversions/send-events)
- [Create a forwarding rule](/conversions/create-forwarding-rule)
- [Consent](/products/server-side-tracking/consent)
- [Limits and errors](/platforms/outbrain-ads/reference)