# AdRoll (v1)

Information note **AdRoll extraction is supported by Stitch**   
This integration is powered by [Singer's](https://www.singer.io/) AdRoll tap and certified by Stitch. [Check out and contribute to the repo on GitHub](https://github.com/singer-io/tap-adroll).  
  
For support, contact [Support](https://community.qlik.com/t5/Support/ct-p/qlikSupport).

## AdRoll integration summary

Stitch’s AdRoll integration replicates data using the [NextRoll CRUD API](https://developers.nextroll.com/docs/crud-api/index.html). Refer to the [Schema](https://help.qlik.com/en-US/stitch/integrations/saas/adroll#schema) section for a list of objects available for replication.

## AdRoll feature snapshot

A high-level look at Stitch's AdRoll (v1) integration, including release status, useful links, and the features supported in Stitch.

| **STITCH** |  |  |  |
| --- | --- | --- | --- |
| **[Release status](https://help.qlik.com/en-US/stitch/integrations/identify-an-integration-version)** | Released on July 24, 2020 | **Supported by**<br><br>the Info icon<br><br>Indicates if the integration is supported by Stitch or the Singer community. | [Stitch](https://community.qlik.com/t5/Support/ct-p/qlikSupport) |
| **Stitch plan**<br><br>the Info icon<br><br>The type of Stitch plan required to use the integration. | Standard | **[API availability](https://help.qlik.com/en-US/stitch/developers/stitch-connect/guides/source-destination-reference)**<br><br>the Info icon<br><br>Indicates if the integration is available as a source in Stitch Connect. | the Success icon<br><br>This version of the integration is available via the API.<br><br><br>Available |
| **Singer GitHub repository** | [singer-io/tap-adroll](https://github.com/singer-io/tap-adroll) |  |  |
| **REPLICATION SETTINGS** |  |  |  |
| **[Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling where an integration's Replication Frequency is anchored to a time you select. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Advanced Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling that allows you to specify granular start times for data extraction using cron expressions. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Table-level reset**<br><br>the Info icon<br><br>Indicates if data can be reset at the table level. If unsupported, data can only be reset at the integration level. | the Remove icon<br><br>Table-level resets are not supported for this integration. Resets are only supported at the integration level.<br><br><br>Unsupported | **[Configurable Replication Methods](https://help.qlik.com/en-US/stitch/replication/replication-methods)**<br><br>the Info icon<br><br>Indicates if Replication Methods can be defined by you for tables in the integration. | the Remove icon<br><br>Configurable Replication Methods are not supported for this integration. Stitch will use pre-defined replication methods for tables you set to replicate.<br><br><br>Unsupported |
| **DATA SELECTION** |  |  |  |
| **Table selection**<br><br>the Info icon<br><br>The ability to select individual tables for replication in the Stitch interface. If table selection is unavailable, all tables and all the columns they contain will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **Column selection**<br><br>the Info icon<br><br>The ability to select individual columns for replication in the Stitch interface. If column selection is unavailable, all columns will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Select all**<br><br>the Info icon<br><br>Indicates if the integration supports selecting all available tables and columns. | the Success icon<br><br>Supported<br><br><br>Supported |  |  |
| **TRANSPARENCY** |  |  |  |
| **[Extraction Logs](https://help.qlik.com/en-US/stitch/replication/extractions/integration-extraction-logs)**<br><br>the Info icon<br><br>Logs detailing the Extraction phase of the replication process for a given integration. Includes error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Loading Reports](https://help.qlik.com/en-US/stitch/replication/integration-loading-reports)**<br><br>the Info icon<br><br>Reports detailing the Loading phase of the replication process for a given integration. Includes the number of rows loaded for each table and error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |

## Connecting AdRoll

### Step 1: Add AdRoll as a Stitch data source

1. [Sign into your Stitch account](https://app.stitchdata.com/).

2. On the Stitch Dashboard page, click the **Add Integration** button.

3. Click the **AdRoll** icon.

4. Enter a name for the integration. This is the name that will display on the Stitch Dashboard for the integration; it’ll also be used to create the schema in your destination.

   For example, the name “Stitch AdRoll” would create a schema called `stitch_adroll` in the destination. **Note**: Schema names cannot be changed after you save the integration.

### Step 2: Define the historical replication start date

The Sync Historical Data setting defines the starting date for your AdRoll integration. This means that data **equal to or newer than this date** will be replicated to your data warehouse.

Change this setting if you want to replicate data beyond AdRoll’s default setting of **1 year**. For a detailed look at historical replication jobs, check out the [Syncing Historical SaaS Data](https://help.qlik.com/en-US/stitch/replication/syncing-historical-saas-data-resetting-replication-keys) guide.

### Step 3: Create a replication schedule

Information note Replication schedules affect the time Extraction begins, not the time to data loaded. Refer to the [Replication Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling) documentation for more information.

In the **Replication Frequency** section, you’ll create the integration’s [replication schedule](https://help.qlik.com/en-US/stitch/replication/replication-scheduling). An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.

AdRoll integrations support the following replication scheduling methods:

* [Replication Frequency](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/replication-frequency)

* [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)

* [Advanced Scheduling using Cron](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling) (Advanced or Premium plans only)

To keep your row usage low, consider setting the integration to replicate less frequently. See the [Understanding and Reducing Your Row Usage guide](https://help.qlik.com/en-US/stitch/getting-started/understanding-stitch-usage) for tips on reducing your usage.

### Step 4: Authorize Stitch to access AdRoll

1. In Stitch, click the **Authorize** button. You’ll be prompted to sign into your AdRoll account.
2. A screen explaining what you’re authorizing will display. **Note**: Stitch will only ever read your AdRoll data, and cannot create or modify records in AdRoll.
3. Click **Sign in with AdRoll** to sign into your AdRoll account.
4. After the authorization process successfully completes, you’ll be directed back to Stitch.
5. Click **All Done**.

### Step 5: Set objects to replicate

Information note **Is an object missing or not replicating?** Verify that the object meets the requirements for [selection](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#selection-requirements) and [replication](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#replication-requirements).

The last step is to select the tables and columns you want to replicate. [Learn about the available tables for this integration.](https://help.qlik.com/en-US/stitch/integrations/saas/adroll#schema)

**Note**: If a replication job is currently in progress, new selections won’t be used until the next job starts.

* Selection options
* Individual tables and columns
* All tables and columns

For AdRoll integrations, you can select:

1. **Individual tables and columns**

2. **All tables and columns**

Click the tabs to view instructions for each selection method.

1. In the integration’s **Tables to Replicate tab**, locate a table you want to replicate.

2. To track a table, click the **checkbox** next to the table’s name. A blue checkmark means the table is set to replicate.

3. To track a column, click the **checkbox** next to the column’s name. A blue checkmark means the column is set to replicate.

4. Repeat this process for all the tables and columns you want to replicate.

5. When finished, click the **Finalize Your Selections** button at the bottom of the screen to save your selections.

Information note **Important**: Using the **Select All** feature will overwrite any previous selections. However, selections aren’t final until **Finalize Your Selections** is clicked. Clicking **Cancel** will restore your previous selections. Refer to the [Select All guide](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#set-all-data-to-replicate) for more info about this feature.

1. Click into the integration from the Stitch Dashboard page.

2. Click the **Tables to Replicate** tab.

3. In the list of tables, click the box next to the **Table Names** column.

4. In the menu that displays, click **Track all Tables and Fields**:

   ![The Track all Tables and Fields menu in the Tables to Replicate tab](https://help.qlik.com/en-US/stitch/images/replication/select-all-tables-menu.png)The Track all Tables and Fields menu in the Tables to Replicate tabThe Track all Tables and Fields menu in the Tables to Replicate tab

5. Click the **Finalize Your Selections** button at the bottom of the page to save your data selections.

### Initial and historical replication jobs

After you finish setting up AdRoll, its **Sync Status** may show as **Pending** on either the Stitch Dashboard or in the Integration Details page.

For a new integration, a **Pending** status indicates that Stitch is in the process of scheduling the initial replication job for the integration. **This may take some time to complete.**

Information note

**Initial replication jobs with Anchor Scheduling**

If using Anchor Scheduling, an initial replication job may not kick off immediately. This depends on the selected Replication Frequency and Anchor Time. Refer to the [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling#job-scheduling-and-anchor-times) documentation for more information.

#### Free historical data loads

The first seven days of replication, beginning when data is first replicated, are free. Rows replicated from the new integration during this time won’t count towards your quota. Stitch offers this as a way of testing new integrations, measuring usage, and ensuring historical data volumes don’t quickly consume your quota.

Information note **Replication will continue after the seven days are over**. If you’re no longer interested in this source, be sure to **pause** or **delete** the integration to prevent unwanted usage.

## AdRoll table reference

Information note

**Schemas and versioning**

Schemas and naming conventions can change from version to version, so we recommend verifying your integration’s version before continuing.

The schema and info displayed below is for **version 1** of this integration.

This is the latest version of the AdRoll integration.

Information note

**Table and column names in your destination**

Depending on your destination, table and column names may not appear as they are outlined below.

For example: Object names are lowercased in Redshift (`CusTomERs` &gt; `customers`), while case is maintained in PostgreSQL destinations (`CusTomERs` &gt; `CusTomERs`). Refer to the [Loading Guide](https://help.qlik.com/en-US/stitch/replication/loading/destination-guides) for your destination for more info.

### ad\_groups

The `ad_groups` table contains info about the adgroups contained within the campaigns of your AdRoll account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | eid |
| **Useful links** | [AdRoll documentation](https://developers.nextroll.com/docs/crud-api/reference.html#get--api-v1-adgroup-get "Opens in new tab: AdRoll documentation")<br><br><br>[ad_groups schema on GitHub](https://github.com/singer-io/tap-adroll/blob/master/tap_adroll/schemas/ad_groups.json "Opens in new tab: ad_groups schema on GitHub")<br><br><br>[AdRoll API method](https://developers.nextroll.com/docs/crud-api/reference.html#get--api-v1-advertisable-get_adgroups "Opens in new tab: AdRoll API method") |

ad\_groups table foreign keys

| Join ad\_groups with | on |
| --- | --- |
| [ads](https://help.qlik.com/en-US/stitch/integrations/saas/adroll#ads) | ```<br>ad_groups.eid = ads.adgroups.id<br>```<br><br>```<br>ad_groups.ads.id = ads.eid<br>```<br><br>```<br>ad_groups.ads.id = ads.original_ad<br>``` |
| [campaigns](https://help.qlik.com/en-US/stitch/integrations/saas/adroll#campaigns) | ```<br>ad_groups.eid = campaigns.adgroups.items<br>``` |
| [ad_reports](https://help.qlik.com/en-US/stitch/integrations/saas/adroll#ad-reports) | ```<br>ad_groups.ads.id = ad_reports.ad<br>``` |
| [segments](https://help.qlik.com/en-US/stitch/integrations/saas/adroll#segments) | ```<br>ad_groups.segments.id = segments.eid<br>``` |

ad\_groups table schema

| **ad\_optimization**<br><br><br>STRING |
| --- |
| **ads**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand ads<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **campaign**<br><br><br>STRING |
| **coops**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **created\_date**<br><br><br>DATE-TIME |
| **demographic\_targets**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **eid**<br><br><br>STRING |
| **flight\_timezone**<br><br><br>STRING |
| **geo\_targets**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **is\_cats4gold**<br><br><br>BOOLEAN |
| **name**<br><br><br>STRING |
| **placement\_targets**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **platform\_targets**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **segments**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand segments<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								is_negative							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> </table> |
| **site\_exclusions**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **space\_optimization**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **type**<br><br><br>STRING |
| **updated\_date**<br><br><br>DATE-TIME |

### ad\_reports

The `ad_reports` table contains ad-level reporting data from your AdRoll account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | eid<br><br>date |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | date |
| **Useful links** | [ad_reports schema on GitHub](https://github.com/singer-io/tap-adroll/blob/master/tap_adroll/schemas/ad_reports.json "Opens in new tab: ad_reports schema on GitHub")<br><br><br>[AdRoll API method](https://developers.nextroll.com/docs/crud-api/reference.html#get--api-v1-report-ad "Opens in new tab: AdRoll API method") |

ad\_reports table foreign keys

| Join ad\_reports with | on |
| --- | --- |
| [ad_groups](https://help.qlik.com/en-US/stitch/integrations/saas/adroll#ad-groups) | ```<br>ad_reports.ad = ad_groups.ads.id<br>``` |
| [ads](https://help.qlik.com/en-US/stitch/integrations/saas/adroll#ads) | ```<br>ad_reports.ad = ads.eid<br>```<br><br>```<br>ad_reports.ad = ads.original_ad<br>``` |

ad\_reports table schema

| **ad**<br><br><br>STRING |
| --- |
| **ad\_size**<br><br><br>STRING |
| **adjusted\_click\_through\_ratio**<br><br><br>NUMBER |
| **adjusted\_cpa**<br><br><br>NUMBER |
| **adjusted\_ctc**<br><br><br>INTEGER |
| **adjusted\_total\_conversion\_rate**<br><br><br>NUMBER |
| **adjusted\_total\_conversions**<br><br><br>INTEGER |
| **adjusted\_view\_through\_ratio**<br><br><br>NUMBER |
| **adjusted\_vtc**<br><br><br>INTEGER |
| **advertiser**<br><br><br>STRING |
| **attributed\_click\_through\_rev**<br><br><br>NUMBER |
| **attributed\_rev**<br><br><br>NUMBER |
| **attributed\_view\_through\_rev**<br><br><br>NUMBER |
| **billing\_cost**<br><br><br>NUMBER |
| **click\_cpa**<br><br><br>NUMBER |
| **click\_through\_conversions**<br><br><br>INTEGER |
| **click\_through\_ratio**<br><br><br>NUMBER |
| **clicks**<br><br><br>INTEGER |
| **cost**<br><br><br>NUMBER |
| **cpa**<br><br><br>NUMBER |
| **cpc**<br><br><br>NUMBER |
| **cpm**<br><br><br>NUMBER |
| **created\_date**<br><br><br>STRING |
| **ctr**<br><br><br>NUMBER |
| **date**<br><br><br>DATE-TIME |
| **eid**<br><br><br>STRING |
| **height**<br><br><br>INTEGER |
| **impressions**<br><br><br>INTEGER |
| **paid\_impressions**<br><br><br>INTEGER |
| **prospects**<br><br><br>INTEGER |
| **roi**<br><br><br>NUMBER |
| **status**<br><br><br>STRING |
| **total\_conversion\_rate**<br><br><br>NUMBER |
| **total\_conversions**<br><br><br>INTEGER |
| **type**<br><br><br>STRING |
| **view\_through\_conversions**<br><br><br>INTEGER |
| **view\_through\_ratio**<br><br><br>NUMBER |
| **width**<br><br><br>INTEGER |

### ads

The `ads` table contains information about the ads and creatives associated with the advertisables in your AdRoll account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | eid |
| **Useful links** | [AdRoll documentation](https://developers.nextroll.com/docs/crud-api/reference.html#get--api-v1-ad-get "Opens in new tab: AdRoll documentation")<br><br><br>[ads schema on GitHub](https://github.com/singer-io/tap-adroll/blob/master/tap_adroll/schemas/ads.json "Opens in new tab: ads schema on GitHub")<br><br><br>[AdRoll API method](https://developers.nextroll.com/docs/crud-api/reference.html#get--api-v1-advertisable-get_ads "Opens in new tab: AdRoll API method") |

ads table foreign keys

| Join ads with | on |
| --- | --- |
| [ad_groups](https://help.qlik.com/en-US/stitch/integrations/saas/adroll#ad-groups) | ```<br>ads.adgroups.id = ad_groups.eid<br>```<br><br>```<br>ads.eid = ad_groups.ads.id<br>```<br><br>```<br>ads.original_ad = ad_groups.ads.id<br>``` |
| [campaigns](https://help.qlik.com/en-US/stitch/integrations/saas/adroll#campaigns) | ```<br>ads.adgroups.id = campaigns.adgroups.items<br>``` |
| [ad_reports](https://help.qlik.com/en-US/stitch/integrations/saas/adroll#ad-reports) | ```<br>ads.eid = ad_reports.ad<br>```<br><br>```<br>ads.original_ad = ad_reports.ad<br>``` |

ads table schema

| **ad\_format**<br><br><br>STRING |
| --- |
| **ad\_format\_id**<br><br><br>INTEGER |
| **ad\_format\_name**<br><br><br>STRING |
| **ad\_parameters**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **adgroups**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand adgroups<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **advertisable**<br><br><br>STRING |
| **app\_id**<br><br><br>STRING |
| **body**<br><br><br>STRING |
| **body\_dynamic**<br><br><br>STRING |
| **brand\_name**<br><br><br>STRING |
| **call\_to\_action**<br><br><br>STRING |
| **created\_date**<br><br><br>DATE-TIME |
| **destination\_url**<br><br><br>STRING |
| **display\_url\_override**<br><br><br>STRING |
| **eid**<br><br><br>STRING |
| **has\_edits**<br><br><br>BOOLEAN |
| **has\_future\_campaigns**<br><br><br>BOOLEAN |
| **has\_pending\_edits**<br><br><br>BOOLEAN |
| **headline**<br><br><br>STRING |
| **headline\_dynamic**<br><br><br>STRING |
| **height**<br><br><br>INTEGER |
| **inventory\_type**<br><br><br>STRING |
| **is\_active**<br><br><br>BOOLEAN |
| **is\_fb\_dynamic**<br><br><br>BOOLEAN |
| **is\_liquid**<br><br><br>STRING |
| **is\_outlined**<br><br><br>BOOLEAN |
| **lead\_gen\_form\_id**<br><br><br>STRING |
| **message**<br><br><br>STRING |
| **message\_dynamic**<br><br><br>STRING |
| **multi\_share\_optimized**<br><br><br>STRING |
| **multiple\_products**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **original\_ad**<br><br><br>STRING |
| **outline\_color**<br><br><br>STRING |
| **replacement\_ad**<br><br><br>STRING |
| **src**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **type**<br><br><br>STRING |
| **updated\_date**<br><br><br>DATE-TIME |
| **valid\_clicktag**<br><br><br>BOOLEAN |
| **width**<br><br><br>INTEGER |

### advertisables

The `advertisables` table contains information about the advertisables in your AdRoll account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | eid |
| **Useful links** | [AdRoll documentation](https://developers.nextroll.com/docs/crud-api/reference.html#get--api-v1-advertisable-get "Opens in new tab: AdRoll documentation")<br><br><br>[advertisables schema on GitHub](https://github.com/singer-io/tap-adroll/blob/master/tap_adroll/schemas/advertisables.json "Opens in new tab: advertisables schema on GitHub")<br><br><br>[AdRoll API method](https://developers.nextroll.com/docs/crud-api/reference.html#get--api-v1-organization-get_advertisables "Opens in new tab: AdRoll API method") |

advertisables table foreign keys

| Join advertisables with | on |
| --- | --- |
| [campaigns](https://help.qlik.com/en-US/stitch/integrations/saas/adroll#campaigns) | ```<br>advertisables.eid = campaigns.advertisable<br>``` |
| [segments](https://help.qlik.com/en-US/stitch/integrations/saas/adroll#segments) | ```<br>advertisables.eid = segments.advertisable_eid<br>``` |

advertisables table schema

| **abm\_onboarding\_status**<br><br><br>STRING |
| --- |
| **account**<br><br><br>STRING |
| **account\_country\_code**<br><br><br>STRING |
| **account\_is\_autobilled**<br><br><br>BOOLEAN |
| **account\_is\_prepaid**<br><br><br>BOOLEAN |
| **account\_is\_suspended**<br><br><br>BOOLEAN |
| **account\_suspension\_reason**<br><br><br>STRING |
| **admin\_page\_permission**<br><br><br>BOOLEAN |
| **am\_email**<br><br><br>STRING |
| **approval\_state**<br><br><br>STRING |
| **attached\_users**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **blacklisted\_sites**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **business\_unit**<br><br><br>STRING |
| **campaign\_monitor\_client\_api\_key**<br><br><br>STRING |
| **campaign\_monitor\_client\_id**<br><br><br>STRING |
| **click\_through\_conversion\_window**<br><br><br>INTEGER |
| **cm\_networks**<br><br><br>STRING |
| **company\_phone**<br><br><br>STRING |
| **constant\_contact\_code**<br><br><br>STRING |
| **constant\_contact\_oauth\_url**<br><br><br>STRING |
| **country\_code**<br><br><br>STRING |
| **created\_date**<br><br><br>DATE-TIME |
| **csm\_admin**<br><br><br>STRING |
| **currency**<br><br><br>STRING |
| **default\_homepage**<br><br><br>STRING |
| **default\_utm**<br><br><br>STRING |
| **eid**<br><br><br>STRING |
| **enable\_customer\_multi\_dur\_segs**<br><br><br>BOOLEAN |
| **fb\_offsite\_pixels\_tos\_accepted**<br><br><br>BOOLEAN |
| **fbx\_account\_id**<br><br><br>INTEGER |
| **fbx\_page\_id**<br><br><br>STRING |
| **fbx\_page\_url**<br><br><br>STRING |
| **has\_approved\_consent\_solution**<br><br><br>BOOLEAN |
| **has\_approved\_safari\_add\_on**<br><br><br>BOOLEAN |
| **has\_created\_campaign**<br><br><br>BOOLEAN |
| **has\_offsite\_pixels**<br><br><br>BOOLEAN |
| **has\_privacy\_policy**<br><br><br>BOOLEAN |
| **has\_sales\_and\_leads\_automation**<br><br><br>BOOLEAN |
| **hide\_optins\_page**<br><br><br>BOOLEAN |
| **homepage\_enabled**<br><br><br>BOOLEAN |
| **iab1\_category\_id**<br><br><br>INTEGER |
| **iab1\_category\_name**<br><br><br>STRING |
| **iab2\_category\_id**<br><br><br>INTEGER |
| **iab2\_category\_name**<br><br><br>STRING |
| **iab\_content\_id**<br><br><br>INTEGER |
| **instagram\_actor\_id**<br><br><br>STRING |
| **ip\_address\_exclusions**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **is\_abm\_customer**<br><br><br>BOOLEAN |
| **is\_active**<br><br><br>BOOLEAN |
| **is\_b2b**<br><br><br>BOOLEAN |
| **is\_campaign\_monitor\_syncing**<br><br><br>BOOLEAN |
| **is\_constant\_contact\_syncing**<br><br><br>BOOLEAN |
| **is\_coop\_approved**<br><br><br>STRING |
| **is\_kpi\_eligible**<br><br><br>BOOLEAN |
| **is\_managed**<br><br><br>BOOLEAN |
| **is\_marketo\_syncing**<br><br><br>BOOLEAN |
| **is\_salesforce\_system\_owned**<br><br><br>BOOLEAN |
| **is\_suspended**<br><br><br>BOOLEAN |
| **is\_trusted**<br><br><br>BOOLEAN |
| **is\_twitter\_syncing**<br><br><br>BOOLEAN |
| **liquidads**<br><br><br>STRING |
| **logo\_url**<br><br><br>STRING |
| **magellan\_legacy**<br><br><br>BOOLEAN |
| **magellan\_query**<br><br><br>BOOLEAN |
| **marketo\_api\_endpoint**<br><br><br>STRING |
| **marketo\_client\_id**<br><br><br>STRING |
| **marketo\_secret\_key**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **nbam\_admin**<br><br><br>STRING |
| **ops**<br><br><br>STRING |
| **optimizer**<br><br><br>STRING |
| **optimizer\_email**<br><br><br>STRING |
| **organization**<br><br><br>STRING |
| **page\_access\_request\_status**<br><br><br>STRING |
| **path\_name**<br><br><br>STRING |
| **product\_name**<br><br><br>STRING |
| **recent\_theme\_color**<br><br><br>STRING |
| **reskin\_enabled**<br><br><br>BOOLEAN |
| **revshare\_click\_percent**<br><br><br>NUMBER |
| **revshare\_view\_percent**<br><br><br>NUMBER |
| **rollcrawl\_enabled**<br><br><br>BOOLEAN |
| **rollworks\_self\_serve\_ads**<br><br><br>BOOLEAN |
| **safari\_add\_on\_theme**<br><br><br>STRING |
| **saleser**<br><br><br>STRING |
| **self\_serve\_prospecting\_enabled**<br><br><br>BOOLEAN |
| **show\_dpa**<br><br><br>BOOLEAN |
| **show\_web\_dynamic\_ads**<br><br><br>BOOLEAN |
| **source**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **twitter\_handle**<br><br><br>STRING |
| **uhura\_enabled**<br><br><br>BOOLEAN |
| **updated\_date**<br><br><br>STRING |
| **url**<br><br><br>STRING |
| **use\_universal\_campaigns**<br><br><br>BOOLEAN |
| **view\_through\_conversion\_window**<br><br><br>INTEGER |
| **zvelo\_category\_id**<br><br><br>INTEGER |
| **zvelo\_category\_name**<br><br><br>STRING |

### campaigns

The `campaigns` table contains information about the advertising campaigns in your AdRoll account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | eid |
| **Useful links** | [AdRoll documentation](https://developers.nextroll.com/docs/crud-api/reference.html#get--api-v1-campaign-get "Opens in new tab: AdRoll documentation")<br><br><br>[campaigns schema on GitHub](https://github.com/singer-io/tap-adroll/blob/master/tap_adroll/schemas/campaigns.json "Opens in new tab: campaigns schema on GitHub")<br><br><br>[AdRoll API method](https://developers.nextroll.com/docs/crud-api/reference.html#get--api-v1-advertisable-get_campaigns "Opens in new tab: AdRoll API method") |

campaigns table foreign keys

| Join campaigns with | on |
| --- | --- |
| [ad_groups](https://help.qlik.com/en-US/stitch/integrations/saas/adroll#ad-groups) | ```<br>campaigns.adgroups.items = ad_groups.eid<br>``` |
| [ads](https://help.qlik.com/en-US/stitch/integrations/saas/adroll#ads) | ```<br>campaigns.adgroups.items = ads.adgroups.id<br>``` |
| [advertisables](https://help.qlik.com/en-US/stitch/integrations/saas/adroll#advertisables) | ```<br>campaigns.advertisable = advertisables.eid<br>``` |
| [segments](https://help.qlik.com/en-US/stitch/integrations/saas/adroll#segments) | ```<br>campaigns.advertisable = segments.advertisable_eid<br>``` |

campaigns table schema

| **abm\_type**<br><br><br>STRING |
| --- |
| **adgroups**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **advertisable**<br><br><br>STRING |
| **bid\_strategy**<br><br><br>STRING |
| **bid\_strategy\_target**<br><br><br>STRING |
| **bid\_type**<br><br><br>STRING |
| **budget**<br><br><br>NUMBER |
| **campaign\_type**<br><br><br>STRING |
| **cpc**<br><br><br>NUMBER |
| **cpm**<br><br><br>NUMBER |
| **created\_date**<br><br><br>DATE-TIME |
| **eid**<br><br><br>STRING |
| **end\_date**<br><br><br>DATE-TIME |
| **facebook\_campaign\_objective**<br><br><br>STRING |
| **frequency\_cap**<br><br><br>STRING |
| **is\_active**<br><br><br>BOOLEAN |
| **is\_apple**<br><br><br>BOOLEAN |
| **is\_cats4gold**<br><br><br>BOOLEAN |
| **is\_coop**<br><br><br>BOOLEAN |
| **is\_facebook**<br><br><br>BOOLEAN |
| **is\_fb\_lookalike**<br><br><br>BOOLEAN |
| **is\_fb\_wca**<br><br><br>BOOLEAN |
| **is\_fbx\_newsfeed**<br><br><br>BOOLEAN |
| **is\_pubgraph**<br><br><br>BOOLEAN |
| **is\_retargeting**<br><br><br>BOOLEAN |
| **is\_rtb**<br><br><br>BOOLEAN |
| **max\_cpm**<br><br><br>NUMBER |
| **name**<br><br><br>STRING |
| **pa\_sales\_stage\_eid**<br><br><br>STRING |
| **pricing\_strategies**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **source**<br><br><br>STRING |
| **spend\_limit\_until**<br><br><br>STRING |
| **start\_date**<br><br><br>DATE-TIME |
| **status**<br><br><br>STRING |
| **ui\_budget\_daily**<br><br><br>BOOLEAN |
| **updated\_date**<br><br><br>DATE-TIME |
| **use\_case**<br><br><br>STRING |

### segments

The `segments` table contains information about segments, or the lists of users that visit your AdRoll site.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | eid |
| **Useful links** | [AdRoll documentation](https://developers.nextroll.com/docs/crud-api/reference.html#get--api-v1-segment-get "Opens in new tab: AdRoll documentation")<br><br><br>[segments schema on GitHub](https://github.com/singer-io/tap-adroll/blob/master/tap_adroll/schemas/segments.json "Opens in new tab: segments schema on GitHub")<br><br><br>[AdRoll API method](https://developers.nextroll.com/docs/crud-api/reference.html#get--api-v1-advertisable-get_segments "Opens in new tab: AdRoll API method") |

segments table foreign keys

| Join segments with | on |
| --- | --- |
| [advertisables](https://help.qlik.com/en-US/stitch/integrations/saas/adroll#advertisables) | ```<br>segments.advertisable_eid = advertisables.eid<br>``` |
| [campaigns](https://help.qlik.com/en-US/stitch/integrations/saas/adroll#campaigns) | ```<br>segments.advertisable_eid = campaigns.advertisable<br>``` |
| [ad_groups](https://help.qlik.com/en-US/stitch/integrations/saas/adroll#ad-groups) | ```<br>segments.eid = ad_groups.segments.id<br>``` |

segments table schema

| **advertisable\_eid**<br><br><br>STRING |
| --- |
| **conversion\_value**<br><br><br>STRING |
| **created\_date**<br><br><br>DATE-TIME |
| **display\_name**<br><br><br>STRING |
| **duration**<br><br><br>INTEGER |
| **duration\_sec**<br><br><br>INTEGER |
| **eid**<br><br><br>STRING |
| **group**<br><br><br>INTEGER |
| **has\_default\_rule**<br><br><br>BOOLEAN |
| **is\_active**<br><br><br>BOOLEAN |
| **match\_method**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **parent\_id**<br><br><br>STRING |
| **pattern**<br><br><br>STRING |
| **product**<br><br><br>STRING |
| **recent\_first\_match**<br><br><br>BOOLEAN |
| **rule**<br><br><br>STRING |
| **rule\_id**<br><br><br>INTEGER |
| **source**<br><br><br>STRING |
| **threshold**<br><br><br>INTEGER |
| **type**<br><br><br>STRING |