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

# Connect

Connect an AdRoll advertisable to a profile with its Advertisable EID, Pixel EID and the Server Access Token from your AdRoll account manager.

AdRoll issues a Server Access Token for your account. Give Zernio the token and the two EIDs from your AdRoll Pixel code. The token is stored encrypted.

## Get the token and the EIDs

1. Ask your AdRoll account manager, Customer Onboarding Manager or AdRoll Customer Support for a Server Access Token for the Conversions and Events API. It is not self-serve, and it is not the Personal Access Token other AdRoll APIs use. AdRoll shares it through a one-time link that expires after seven days, so save it when it arrives.
2. In AdRoll, open **Analytics**, then **Insights**, then **Website**, scroll down and choose **View Pixel**.
3. Copy the **Advertisable EID** (`adroll_adv_id`) and the **Pixel EID** (`adroll_pix_id`) from the pixel code. Each is 22 upper-case letters and digits.

## Connect with the token

Send all three for a profile:

```bash
curl -X POST "https://zernio.com/api/v1/connect/adroll-ads/credentials" \
  -H "Authorization: Bearer $ZERNIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "profileId": "66a1f0c2a4b9d3e8f1a2b3c4",
    "advertisableEid": "JNMPRDBQL5CVBAIXDLO6JA",
    "pixelEid": "KNAIYSWNWFEIZPHIGNC7GZ",
    "accessToken": "ADROLL_SERVER_ACCESS_TOKEN"
  }'
```

```json
{ "accountId": "6507a1b2c3d4e5f6a7b8c9d0", "advertisableEid": "JNMPRDBQL5CVBAIXDLO6JA", "pixelEid": "KNAIYSWNWFEIZPHIGNC7GZ", "accountName": "AdRoll advertisable JNMPRDBQL5CVBAIXDLO6JA" }
```

| Field | Where to find it |
|-------|------------------|
| `advertisableEid` | `adroll_adv_id` in your AdRoll Pixel code (**View Pixel**). Required. |
| `pixelEid` | `adroll_pix_id` in the same code. Required. |
| `accessToken` | The Server Access Token from your AdRoll account manager. Required. |
| `name` | A display name for the connection, up to 100 characters. Optional. |

## How it behaves

- AdRoll has no way to check a token without sending an event, so Zernio saves it without a check. A token AdRoll refuses on every event makes the connection ask to be reconnected.
- The Advertisable EID becomes the connection's only destination. List it with `GET /v1/ads/conversions/destinations`.
- A profile holds one AdRoll advertisable. Connecting again with the same Advertisable EID replaces the token and Pixel EID.
- Every call on this page is also a tool on the [Zernio MCP server](/mcp/tools).

## If it fails

| Error | Cause | Fix |
|-------|-------|-----|
| `400` on `advertisableEid` or `pixelEid` | The EID is missing or not upper-case letters and digits | Copy it from **View Pixel** in AdRoll. |
| `400` on `accessToken` | The token is missing | Ask your AdRoll account manager for a Server Access Token. |
| `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 AdRoll advertisable | Disconnect it first, or use another profile. |

## Related

- [Connect AdRoll conversions](/connect/connect-adroll-ads-credentials)
- [List conversion destinations](/conversions/list-ad-conversion-destinations)
- [Conversions](/platforms/adroll/conversions)