> Documentation index: https://docs.zernio.com/llms.txt. Every page is also Markdown: add .md to its URL.

# Connect

Connect a Criteo partner to a profile by its partner ID, the account your Criteo OneTag sets.

Criteo's server-to-server website events endpoint takes no credential. You give Zernio your Criteo partner ID, and nothing secret is stored.

## Connect with the partner ID

Send it for a profile:

```bash
curl -X POST "https://zernio.com/api/v1/connect/criteo-ads/credentials" \
  -H "Authorization: Bearer $ZERNIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "profileId": "PROFILE_ID",
    "criteoPartnerId": "12345"
  }'
```

```json
{ "accountId": "6507a1b2c3d4e5f6a7b8c9d0", "criteoPartnerId": "12345", "accountName": "Criteo partner 12345" }
```

| Field | Where to find it |
|-------|------------------|
| `criteoPartnerId` | Your Criteo partner ID, digits only: the `account` in your OneTag's `setAccount` call. Your Criteo representative has it too. Required. |
| `name` | A display name for the partner, up to 100 characters. Optional. |

## Turn on server events

Criteo provisions server-to-server events per partner. Ask your Criteo representative to enable them for your partner ID before you rely on the numbers.

## How it behaves

- Nothing is checked with Criteo, so a wrong partner ID saves. Criteo answers every call, so check that events reach Criteo in your Criteo reports after the first sales.
- The partner ID becomes the connection's only destination. List it with `GET /v1/ads/conversions/destinations`.
- A profile holds one Criteo partner.
- Every call on this page is also a tool on the [Zernio MCP server](/mcp/tools).

## If it fails

| Error | Cause | Fix |
|-------|-------|-----|
| `400` on `criteoPartnerId` | The id is missing or has characters other than digits | Copy the `account` from your OneTag. |
| `402` | The account cannot connect more accounts on its plan | Upgrade the plan or remove an account. |
| `403` | The Ads add-on is off | Turn on the Ads add-on, then connect. |
| `409` with `profile_platform_conflict` | The profile already has another Criteo partner | Disconnect it first, or use another profile. |

## Related

- [Connect a Criteo partner](/connect/connect-criteo-ads-credentials)
- [List conversion destinations](/conversions/list-ad-conversion-destinations)
- [Conversions](/platforms/criteo-ads/conversions)