> This page is for version 2025-09-18 (default).
> For other versions, use one of these documentation indexes:
> - 2025-09-18 (default): https://apidocs.polytomic.com/2025-09-18/llms.txt
> - 2024-02-08: https://apidocs.polytomic.com/2024-02-08/llms.txt
> - 2023-04-25: https://apidocs.polytomic.com/2023-04-25/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidocs.polytomic.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidocs.polytomic.com/_mcp/server.

# AdRoll

Supports:
* ✅ Model sync destination
* ✅ Connection Proxy


## Connection

### Configuration
<table>
<thead>
<tr>
<th>Name</th><th>Type</th><th>Description</th><th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>advertisers</code></td>
<td><code>array</code></td>
<td style="vertical-align: top;">Advertisers<br/><br/>AdRoll advertisers whose segments are available as sync destinations.</td>
<td><code>optional</code></td>
</tr>
<tr>
<td><code>auth_method</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Authentication method<br/><br/>How Polytomic authenticates with AdRoll: oauth or token (a personal access token). Accepted values: `oauth`, `token` <a href="#auth-method-token">↓</a></td>
<td><code>required</code></td>
</tr>
<tr>
<td><code>client_id</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Client ID of your own AdRoll application, used in place of Polytomic's.</td>
<td><code>optional</code></td>
</tr>
<tr>
<td><code>client_secret</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Client secret of your own AdRoll application, used with client_id.</td>
<td><code>optional</code></td>
</tr>
</tbody>
</table>

<a id="auth-method-token"></a>

#### `auth_method`

When `auth_method` is `token`:

<table>
<thead>
<tr>
<th>Name</th><th>Type</th><th>Description</th><th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>personal_access_token</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Personal access token<br/><br/>AdRoll personal access token; required when auth_method is token.</td>
<td><code>required</code></td>
</tr>
</tbody>
</table>

```json
{
  "name": "AdRoll connection",
  "type": "adroll",
  "configuration": {
    "advertisers": [
      {
        "label": "",
        "value": ""
      }
    ],
    "auth_method": "token",
    "client_id": "your_client_id",
    "client_secret": "your_client_secret",
    "personal_access_token": "secret"
  }
}
```


#### Example

```json
{
  "name": "AdRoll connection",
  "type": "adroll",
  "configuration": {
    "advertisers": [
        {
            "label": "",
            "value": ""
        }
    ],
    "auth_method": "oauth",
    "client_id": "your_client_id",
    "client_secret": "your_client_secret"
  }
}
```


## Model Sync
### Target
AdRoll connections may be used as the destination in a model sync.
#### All targets

##### Configuration
<table>
<thead>
<tr>
<th>Name</th><th>Type</th><th>Description</th><th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>segment_duration</code></td>
<td><code>integer</code></td>
<td style="vertical-align: top;">Segment duration (days)<br/><br/>Days, from 1 to 540, a person stays in the segment after entering it; applies to the whole segment. When omitted, the segment keeps its duration.</td>
<td><code>optional</code></td>
</tr>
</tbody>
</table>


##### Example
```json
{
  ...
  "target": {
      "configuration": {
        "segment_duration": 0
    }
  }
}
```