# AdRoll

AdRoll is an ecommerce marketing platform that gives growing D2C brands the power to connect with customers wherever they are.

AdRoll integration replicates data using the [NextRoll API](https://apidocs.nextroll.com/guides/get-started.html#guide-get-started).

See the [Schema](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-AdRoll.htm#Schema) section for a list of objects available for replication.

## Preparing for authentication

To access your data, you need to authenticate the connection with your account credentials.

Information noteMake sure that the account you use has read access to the tables you want to fetch.

To generate your client ID and secret:

1. Log into your [AdRoll](https://developers.nextroll.com/accounts/login) account.
2. Click your user email in the upper-right corner, then click Apps.
3. Select New Apps to start registration.
4. Enter a meaningful App name.
5. Enable Starter API Access; it is recommended to select Basic API Key Access due to NextRoll's API rate limits.
6. Set Callback URL to https://connector.qlik.com/auth/oauth/v3.htm.
7. Click Save.
8. Copy and paste your client ID and secret into a secured file.

## Creating the connection

For more information, see [Connecting to SaaS applications](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/Landing/connecting-web-applications.htm).

1. Click Authenticate when you have filled in the required connection settings.

   You may be asked to log in to the source application.

   A window is displayed with an authentication code.

2. Copy the code to the clipboard and return to the connection dialog.

3. Paste the code in Complete authentication with the code provided by the source and click Verify.

   Tip noteYou may need to scroll down to see this field.

   When status is Verified, the authentication is verified.

4. Provide a name for the connection in Connection name.

5. Select Open connection metadata to define metadata for the connection when it has been created.

Connection settings

| Setting | Description |
| --- | --- |
| Data gateway | Select a Data Movement gateway if required by your use case.<br><br>Information note<br><br>This field is not available with the Qlik Talend Cloud Starter subscription, as it does not support Data Movement gateway. If you have another subscription tier and do not want to use Data Movement gateway, select None.<br><br>For information on the benefits of Data Movement gateway and use cases that require it, see [Qlik Data Gateway - Data Movement](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Gateways/replication-gateway.htm). |
| Start Date | Enter the date, in the format `MM/DD/YYYY`, from which the data must be replicated from your source to your target. |
| Lookback Window | Lookback window is the period during which recent data changes are checked and captured at each sync. Default is 7 days. |
| Client ID | Client ID. |
| Client Secret | Client secret. |
| End Date | The end date defines the last day included in data extraction in yyyy-mm-dd format. Default is the current day. |

## Schema

Information note

Schemas and naming conventions can change from version to version. It is recommended to verify your version before continuing.

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

### ad\_groups

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

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | eid |
| **Useful links** | [AdRoll documentation](https://developers.nextroll.com/Content/crud-api/reference.html#get--api-v1-adgroup-get)<br><br>[AdRoll API method](https://developers.nextroll.com/Content/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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-AdRoll.htm#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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-AdRoll.htm#campaigns) | ```<br>ad_groups.eid = campaigns.adgroups.items<br>``` |
| [ad_reports](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-AdRoll.htm#ad-reports) | ```<br>ad_groups.ads.id = ad_reports.ad<br>``` |
| [segments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-AdRoll.htm#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:<br><br><ul><li>id: STRING</li><li>status: STRING</li></ul> |
| **campaign**<br><br><br>STRING |
| **coops**<br><br><br>ARRAY<br><br>This is a nested data structure. |
| **created\_date**<br><br><br>DATE-TIME |
| **demographic\_targets**<br><br><br>ARRAY<br><br>This is a nested data structure. |
| **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. |
| **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. |
| **platform\_targets**<br><br><br>ARRAY<br><br>This is a nested data structure. |
| **segments**<br><br><br>ARRAY<br><br>This is a nested data structure:<br><br><ul><li>id: STRING</li><li>is_negative: BOOLEAN</li></ul> |
| **site\_exclusions**<br><br><br>ARRAY<br><br>This is a nested data structure. |
| **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** | CDC |
| --- | --- |
| **Primary Keys** | eid<br><br>date |
| **Replication Key** | date |
| **Useful links** | [AdRoll API method](https://developers.nextroll.com/Content/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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-AdRoll.htm#ad-groups) | ```<br>ad_reports.ad = ad_groups.ads.id<br>``` |
| [ads](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-AdRoll.htm#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** | Full Table |
| --- | --- |
| **Primary Key** | eid |
| **Useful links** | [AdRoll documentation](https://developers.nextroll.com/Content/crud-api/reference.html#get--api-v1-ad-get)<br><br>[AdRoll API method](https://developers.nextroll.com/Content/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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-AdRoll.htm#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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-AdRoll.htm#campaigns) | ```<br>ads.adgroups.id = campaigns.adgroups.items<br>``` |
| [ad_reports](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-AdRoll.htm#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. |
| **adgroups**<br><br><br>ARRAY<br><br>This is a nested data structure:<br><br><ul><li>id: STRING</li><li>status: STRING</li></ul> |
| **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** | Full Table |
| --- | --- |
| **Primary Key** | eid |
| **Useful links** | [AdRoll documentation](https://developers.nextroll.com/Content/crud-api/reference.html#get--api-v1-advertisable-get)<br><br>[AdRoll API method](https://developers.nextroll.com/Content/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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-AdRoll.htm#campaigns) | ```<br>advertisables.eid = campaigns.advertisable<br>``` |
| [segments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-AdRoll.htm#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. |
| **blacklisted\_sites**<br><br><br>ARRAY<br><br>This is a nested data structure. |
| **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. |
| **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** | Full Table |
| --- | --- |
| **Primary Key** | eid |
| **Useful links** | [AdRoll documentation](https://developers.nextroll.com/Content/crud-api/reference.html#get--api-v1-campaign-get)<br><br>[AdRoll API method](https://developers.nextroll.com/Content/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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-AdRoll.htm#ad-groups) | ```<br>campaigns.adgroups.items = ad_groups.eid<br>``` |
| [ads](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-AdRoll.htm#ads) | ```<br>campaigns.adgroups.items = ads.adgroups.id<br>``` |
| [advertisables](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-AdRoll.htm#advertisables) | ```<br>campaigns.advertisable = advertisables.eid<br>``` |
| [segments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-AdRoll.htm#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. |
| **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. |
| **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** | Full Table |
| --- | --- |
| **Primary Key** | eid |
| **Useful links** | [AdRoll documentation](https://developers.nextroll.com/Content/crud-api/reference.html#get--api-v1-segment-get)<br><br>[AdRoll API method](https://developers.nextroll.com/Content/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/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-AdRoll.htm#advertisables) | ```<br>segments.advertisable_eid = advertisables.eid<br>``` |
| [campaigns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-AdRoll.htm#campaigns) | ```<br>segments.advertisable_eid = campaigns.advertisable<br>``` |
| [ad_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-AdRoll.htm#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 |