# Pepperjam (v1)

Information note **Pepperjam is in beta**   
Pepperjam is currently in beta. The info in this guide is subject to change.

Information note **Pepperjam is supported by the Singer community**   
This integration is powered by [Singer's](https://www.singer.io/) Pepperjam tap. For support, [visit the GitHub repo](https://github.com/singer-io/tap-pepperjam) or [join the Singer Slack](https://singer-slackin.herokuapp.com/).

## Pepperjam integration summary

Stitch’s Pepperjam integration replicates data using the [Pepperjam Advertiser API v20120402](https://support.pepperjam.com/s/advertiser-api-documentation). Refer to the [Schema](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#schema) section for a list of objects available for replication.

## Pepperjam feature snapshot

A high-level look at Stitch's Pepperjam (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)** | Beta | **Supported by**<br><br>the Info icon<br><br>Indicates if the integration is supported by Stitch or the Singer community. | [Singer Community](https://www.singer.io/) |
| **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-pepperjam](https://github.com/singer-io/tap-pepperjam) |  |  |
| **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 Pepperjam

### Step 1: Obtain your API key

1. Login to your Pepperjam account.
2. In the **Developer Kit** menu, click **API Keys**.
3. Click **Generate New Key**.
4. Your API key will display.

Keep this page open - you’ll need it to complete the next step.

### Step 2: Add Pepperjam 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 **Pepperjam** 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 Pepperjam” would create a schema called `stitch_pepperjam` in the destination. **Note**: Schema names cannot be changed after you save the integration.

5. In the **API Key** field, paste the API key you obtained in [step 1](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#obtain-api-key).

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

The Sync Historical Data setting defines the starting date for your Pepperjam 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 Pepperjam’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 4: 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.

Pepperjam 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 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/pepperjam#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 Pepperjam 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 Pepperjam, 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.

## Pepperjam replication

### Attribution windows and data extraction

Every time Stitch runs a replication job for Pepperjam, the last 28-30 days’ worth of data will be replicated for the following tables:

Stitch replicates data in this way to account for updates made to existing records within an attribution window, thus ensuring you won’t make decisions based on stale (or false) data. As a result, you may see a higher number of replicated rows than what’s being generated in Pepperjam.

Setting the Replication Frequency to a higher frequency - like 30 minutes - can result in re-replicating recent data and contribute to greater row usage. Replicating fewer tables or selecting a lower frequency can help keep your row count low.

In the sections below are examples of how attribution windows impact how Stitch extracts data during historical and ongoing replication jobs.

* Historical and full re-replications
* Ongoing replications

For historical and full re-replications of Pepperjam data, Stitch will query for and extract data newer than or equal to the date defined in the **Start Date** field in the Integration Settings page.

The **Start Date**, in conjunction with the **Attribution Window**, defines the minimum date Stitch should query for when extracting historical data. This is calculated as:

`Start Date - Attribution Window = Minimum Extraction Date`

**Example**

During the initial set up, the **Start Date** field is set to `July 3, 2017`, or `2017-07-03 00:00:00`.

To account for the Attribution Window, Stitch would calculate the **Minimum Extraction Date** value as: `2017-07-03 00:00:00 - 28-30 days = 2017-06-03 00:00:00`

If you were to write a SQL query using this date for the `transaction_details` table, it might look like this:

```
  SELECT *
    FROM pepperjam.transaction_details
   WHERE sale_date >= '2017-06-03 00:00:00'   /* Min. Extraction Date */
ORDER BY sale_date
```

For ongoing replication jobs, Stitch will query for and extract data using the last saved maximum value in the table’s Replication Key column and the Attribution Window for the table.

**Note:** This applies to every replication job that takes place after the historical replication job.

**Example**

The last maximum saved Replication Key value for the `transaction_details` table is `2017-10-01 00:00:00`.

To account for the Attribution Window of 28-30 days, we’d subtract this from the last maximum saved Replication Key value:

`2017-10-01 00:00:00 - 28-30 days = 2017-09-01 00:00:00`

In this case, Stitch would query for and extract data that is newer than or equal to `2017-09-01 00:00:00` and older than or equal to `2017-10-01 00:00:00`.

If this were a SQL query, it might look like this:

```
  SELECT *
    FROM transaction_details
   WHERE sale_date >= '2017-09-01 00:00:00'
                              /* max Replication Key value - Attribution Window */
     AND sale_date <= '2017-10-01 00:00:00'
                              /* max Replication Key value from previous job */
ORDER BY sale_date
```

## Pepperjam 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 Pepperjam 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.

### creative\_advanced

The `creative_advanced` table contains information about advanced link creatives in your Pepperjam 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 Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | modified |
| **Useful links** | [creative_advanced schema on GitHub](https://github.com/singer-io/tap-pepperjam/blob/master/tap_pepperjam/schemas/creative_advanced.json "Opens in new tab: creative_advanced schema on GitHub")<br><br><br>[Pepperjam API method](https://support.pepperjam.com/s/advertiser-api-documentation#AdvancedLinks "Opens in new tab: Pepperjam API method") |

creative\_advanced table foreign keys

| Join creative\_advanced with | on |
| --- | --- |
| [creative_banner](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-banner) | ```<br>creative_advanced.private_affiliates.affiliate_id = creative_banner.private_affiliates.affiliate_id<br>```<br><br>```<br>creative_advanced.promotions.id = creative_banner.promotions.id<br>``` |
| [creative_coupon](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-coupon) | ```<br>creative_advanced.private_affiliates.affiliate_id = creative_coupon.private_affiliates.affiliate_id<br>```<br><br>```<br>creative_advanced.promotions.id = creative_coupon.promotions.id<br>``` |
| [creative_text](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-text) | ```<br>creative_advanced.private_affiliates.affiliate_id = creative_text.private_affiliates.affiliate_id<br>```<br><br>```<br>creative_advanced.promotions.id = creative_text.promotions.id<br>``` |
| [creative_promotion](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-promotion) | ```<br>creative_advanced.promotions.id = creative_promotion.id<br>``` |

creative\_advanced table schema

| **code**<br><br><br>STRING |
| --- |
| **created**<br><br><br>DATE-TIME |
| **description**<br><br><br>STRING |
| **end\_date**<br><br><br>DATE-TIME |
| **flash\_url**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **modified**<br><br><br>DATE-TIME |
| **name**<br><br><br>STRING |
| **personalized**<br><br><br>INTEGER |
| **private**<br><br><br>INTEGER |
| **private\_affiliates**<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 private\_affiliates<br><br><table> <tr> <td> <p> <strong>								affiliate_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **promotions**<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 promotions<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **start\_date**<br><br><br>DATE-TIME |
| **status**<br><br><br>STRING |
| **sub\_type**<br><br><br>STRING |
| **supression\_url**<br><br><br>STRING |
| **type**<br><br><br>STRING |
| **verified**<br><br><br>STRING |
| **view\_date**<br><br><br>DATE-TIME |

### creative\_banner

The `creative_banner` table contains information about banner creatives in your Pepperjam 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 Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | modified |
| **Useful links** | [creative_banner schema on GitHub](https://github.com/singer-io/tap-pepperjam/blob/master/tap_pepperjam/schemas/creative_banner.json "Opens in new tab: creative_banner schema on GitHub")<br><br><br>[Pepperjam API method](https://support.pepperjam.com/s/advertiser-api-documentation#Banner "Opens in new tab: Pepperjam API method") |

creative\_banner table foreign keys

| Join creative\_banner with | on |
| --- | --- |
| [creative_advanced](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-advanced) | ```<br>creative_banner.private_affiliates.affiliate_id = creative_advanced.private_affiliates.affiliate_id<br>```<br><br>```<br>creative_banner.promotions.id = creative_advanced.promotions.id<br>``` |
| [creative_coupon](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-coupon) | ```<br>creative_banner.private_affiliates.affiliate_id = creative_coupon.private_affiliates.affiliate_id<br>```<br><br>```<br>creative_banner.promotions.id = creative_coupon.promotions.id<br>``` |
| [creative_text](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-text) | ```<br>creative_banner.private_affiliates.affiliate_id = creative_text.private_affiliates.affiliate_id<br>```<br><br>```<br>creative_banner.promotions.id = creative_text.promotions.id<br>``` |
| [creative_promotion](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-promotion) | ```<br>creative_banner.promotions.id = creative_promotion.id<br>``` |

creative\_banner table schema

| **allow\_deep\_link**<br><br><br>INTEGER |
| --- |
| **alt\_text**<br><br><br>STRING |
| **banner\_url**<br><br><br>STRING |
| **created**<br><br><br>DATE-TIME |
| **description**<br><br><br>STRING |
| **destination\_url**<br><br><br>STRING |
| **end\_date**<br><br><br>DATE-TIME |
| **height**<br><br><br>INTEGER |
| **id**<br><br><br>INTEGER |
| **modified**<br><br><br>DATE-TIME |
| **name**<br><br><br>STRING |
| **private**<br><br><br>INTEGER |
| **private\_affiliates**<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 private\_affiliates<br><br><table> <tr> <td> <p> <strong>								affiliate_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **promotions**<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 promotions<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **start\_date**<br><br><br>DATE-TIME |
| **status**<br><br><br>STRING |
| **type**<br><br><br>STRING |
| **view\_date**<br><br><br>DATE-TIME |
| **width**<br><br><br>INTEGER |

### creative\_coupon

The `creative_coupon` table contains information about coupon creatives in your Pepperjam 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 Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | modified |
| **Useful links** | [creative_coupon schema on GitHub](https://github.com/singer-io/tap-pepperjam/blob/master/tap_pepperjam/schemas/creative_coupon.json "Opens in new tab: creative_coupon schema on GitHub")<br><br><br>[Pepperjam API method](https://support.pepperjam.com/s/advertiser-api-documentation#CouponCreative "Opens in new tab: Pepperjam API method") |

creative\_coupon table foreign keys

| Join creative\_coupon with | on |
| --- | --- |
| [creative_advanced](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-advanced) | ```<br>creative_coupon.private_affiliates.affiliate_id = creative_advanced.private_affiliates.affiliate_id<br>```<br><br>```<br>creative_coupon.promotions.id = creative_advanced.promotions.id<br>``` |
| [creative_banner](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-banner) | ```<br>creative_coupon.private_affiliates.affiliate_id = creative_banner.private_affiliates.affiliate_id<br>```<br><br>```<br>creative_coupon.promotions.id = creative_banner.promotions.id<br>``` |
| [creative_text](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-text) | ```<br>creative_coupon.private_affiliates.affiliate_id = creative_text.private_affiliates.affiliate_id<br>```<br><br>```<br>creative_coupon.promotions.id = creative_text.promotions.id<br>``` |
| [creative_promotion](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-promotion) | ```<br>creative_coupon.promotions.id = creative_promotion.id<br>``` |

creative\_coupon table schema

| **coupon\_code**<br><br><br>STRING |
| --- |
| **created**<br><br><br>DATE-TIME |
| **description**<br><br><br>STRING |
| **end\_date**<br><br><br>DATE-TIME |
| **id**<br><br><br>INTEGER |
| **modified**<br><br><br>DATE-TIME |
| **name**<br><br><br>STRING |
| **personalized**<br><br><br>INTEGER |
| **private**<br><br><br>INTEGER |
| **private\_affiliates**<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 private\_affiliates<br><br><table> <tr> <td> <p> <strong>								affiliate_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **promotions**<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 promotions<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **start\_date**<br><br><br>DATE-TIME |
| **status**<br><br><br>STRING |
| **type**<br><br><br>STRING |
| **url**<br><br><br>STRING |
| **view\_date**<br><br><br>DATE-TIME |

### creative\_generic

The `creative_generic` table contains information about generic link creatives in your Pepperjam 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 Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | type |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | modified |
| **Useful links** | [creative_generic schema on GitHub](https://github.com/singer-io/tap-pepperjam/blob/master/tap_pepperjam/schemas/creative_generic.json "Opens in new tab: creative_generic schema on GitHub")<br><br><br>[Pepperjam API method](https://support.pepperjam.com/s/advertiser-api-documentation#Generic "Opens in new tab: Pepperjam API method") |

creative\_generic table foreign keys

| Join creative\_generic with | on |
| --- | --- |
| [creative_performance](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-performance) | ```<br>creative_generic.type = creative_performance.creative_type<br>``` |
| [creative_performance_by_publisher](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-performance-by-publisher) | ```<br>creative_generic.type = creative_performance_by_publisher.creative_type<br>``` |

creative\_generic table schema

| **allow\_deep\_link**<br><br><br>INTEGER |
| --- |
| **modified**<br><br><br>DATE-TIME |
| **type**<br><br><br>STRING |
| **url**<br><br><br>STRING |

### creative\_performance

The `creative_performance` table contains information about your Pepperjam creatives’ performance within a -day time frame from the date of the last table replication.

**Note**: During every replication job, Stitch will replicate the last days’ worth of data for this table. Refer to the [Attribution windows and data extraction](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#attribution-windows-data-extraction) section for more info.

| **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)** | creative\_id<br><br>creative\_type<br><br>date |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | datetime |
| **Useful links** | [creative_performance schema on GitHub](https://github.com/singer-io/tap-pepperjam/blob/master/tap_pepperjam/schemas/creative_performance.json "Opens in new tab: creative_performance schema on GitHub")<br><br><br>[Pepperjam API method](https://support.pepperjam.com/s/advertiser-api-documentation#CreativeDetails "Opens in new tab: Pepperjam API method") |

creative\_performance table foreign keys

| Join creative\_performance with | on |
| --- | --- |
| [creative_performance_by_publisher](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-performance-by-publisher) | ```<br>creative_performance.creative_id = creative_performance_by_publisher.creative_id<br>```<br><br>```<br>creative_performance.group_id = creative_performance_by_publisher.group_id<br>```<br><br>```<br>creative_performance.creative_type = creative_performance_by_publisher.creative_type<br>``` |
| [transaction_details](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#transaction-details) | ```<br>creative_performance.creative_id = transaction_details.creative_id<br>```<br><br>```<br>creative_performance.group_id = transaction_details.group_id<br>``` |
| [group](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#group) | ```<br>creative_performance.group_id = group.id<br>``` |
| [group_member](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#group-member) | ```<br>creative_performance.group_id = group_member.group_id<br>``` |
| [publisher](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#publisher) | ```<br>creative_performance.group_id = publisher.group.id<br>``` |
| [publisher_performance](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#publisher-performance) | ```<br>creative_performance.group_id = publisher_performance.group_id<br>``` |
| [transaction_history](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#transaction-history) | ```<br>creative_performance.group_id = transaction_history.group_id<br>``` |
| [creative_generic](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-generic) | ```<br>creative_performance.creative_type = creative_generic.type<br>``` |

creative\_performance table schema

| **affiliate\_usage**<br><br><br>INTEGER |
| --- |
| **click\_through\_rate**<br><br>NUMBER |
| **clicks**<br><br><br>INTEGER |
| **commission**<br><br>NUMBER |
| **creative\_id**<br><br><br>INTEGER |
| **creative\_name**<br><br><br>STRING |
| **creative\_type**<br><br><br>STRING |
| **date**<br><br><br>DATE |
| **datetime**<br><br><br>DATE-TIME |
| **earnings\_per\_click**<br><br>NUMBER |
| **group\_id**<br><br><br>INTEGER |
| **impressions**<br><br><br>INTEGER |
| **items**<br><br><br>INTEGER |
| **sales**<br><br>NUMBER |
| **transactions**<br><br><br>INTEGER |

### creative\_performance\_by\_publisher

The `creative_performance_by_publisher` table contains information about your Pepperjam creatives’ performance, per publisher, within a -day time frame from the date of the last table replication.

**Note**: During every replication job, Stitch will replicate the last days’ worth of data for this table. Refer to the [Attribution windows and data extraction](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#attribution-windows-data-extraction) section for more info.

| **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)** | creative\_id<br><br>creative\_type<br><br>date<br><br>publisher\_id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | datetime |
| **Useful links** | [creative_performance_by_publisher schema on GitHub](https://github.com/singer-io/tap-pepperjam/blob/master/tap_pepperjam/schemas/creative_performance_by_publisher.json "Opens in new tab: creative_performance_by_publisher schema on GitHub")<br><br><br>[Pepperjam API method](https://support.pepperjam.com/s/advertiser-api-documentation#CreativePerformanceByPublisher "Opens in new tab: Pepperjam API method") |

creative\_performance\_by\_publisher table foreign keys

| Join creative\_performance\_by\_publisher with | on |
| --- | --- |
| [creative_performance](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-performance) | ```<br>creative_performance_by_publisher.creative_id = creative_performance.creative_id<br>```<br><br>```<br>creative_performance_by_publisher.group_id = creative_performance.group_id<br>```<br><br>```<br>creative_performance_by_publisher.creative_type = creative_performance.creative_type<br>``` |
| [transaction_details](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#transaction-details) | ```<br>creative_performance_by_publisher.creative_id = transaction_details.creative_id<br>```<br><br>```<br>creative_performance_by_publisher.group_id = transaction_details.group_id<br>```<br><br>```<br>creative_performance_by_publisher.publisher_id = transaction_details.publisher_id<br>``` |
| [group](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#group) | ```<br>creative_performance_by_publisher.group_id = group.id<br>``` |
| [group_member](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#group-member) | ```<br>creative_performance_by_publisher.group_id = group_member.group_id<br>``` |
| [publisher](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#publisher) | ```<br>creative_performance_by_publisher.group_id = publisher.group.id<br>```<br><br>```<br>creative_performance_by_publisher.publisher_id = publisher.id<br>``` |
| [publisher_performance](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#publisher-performance) | ```<br>creative_performance_by_publisher.group_id = publisher_performance.group_id<br>```<br><br>```<br>creative_performance_by_publisher.publisher_id = publisher_performance.publisher_id<br>``` |
| [transaction_history](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#transaction-history) | ```<br>creative_performance_by_publisher.group_id = transaction_history.group_id<br>```<br><br>```<br>creative_performance_by_publisher.publisher_id = transaction_history.publisher_id<br>``` |
| [creative_generic](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-generic) | ```<br>creative_performance_by_publisher.creative_type = creative_generic.type<br>``` |

creative\_performance\_by\_publisher table schema

| **affiliate\_usage**<br><br><br>INTEGER |
| --- |
| **click\_through\_rate**<br><br>NUMBER |
| **clicks**<br><br><br>INTEGER |
| **commission**<br><br>NUMBER |
| **creative\_id**<br><br><br>INTEGER |
| **creative\_name**<br><br><br>STRING |
| **creative\_type**<br><br><br>STRING |
| **date**<br><br><br>DATE |
| **datetime**<br><br><br>DATE-TIME |
| **earnings\_per\_click**<br><br>NUMBER |
| **group\_id**<br><br><br>INTEGER |
| **impressions**<br><br><br>INTEGER |
| **items**<br><br><br>INTEGER |
| **publisher**<br><br><br>STRING |
| **publisher\_id**<br><br><br>INTEGER |
| **sales**<br><br>NUMBER |
| **transactions**<br><br><br>INTEGER |

### creative\_product

The `creative_product` table contains information about product creatives in your Pepperjam 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)** | id |
| **Useful links** | [creative_product schema on GitHub](https://github.com/singer-io/tap-pepperjam/blob/master/tap_pepperjam/schemas/creative_product.json "Opens in new tab: creative_product schema on GitHub")<br><br><br>[Pepperjam API method](https://support.pepperjam.com/s/advertiser-api-documentation#ProductCreative "Opens in new tab: Pepperjam API method") |

creative\_product table schema

| **age\_range**<br><br><br>STRING |
| --- |
| **artist**<br><br><br>STRING |
| **aspect\_ratio**<br><br><br>STRING |
| **author**<br><br><br>STRING |
| **battery\_life**<br><br><br>STRING |
| **binding**<br><br><br>STRING |
| **buy\_url**<br><br><br>STRING |
| **category\_network**<br><br><br>STRING |
| **category\_program**<br><br><br>STRING |
| **color**<br><br><br>STRING |
| **color\_output**<br><br><br>STRING |
| **condition**<br><br><br>STRING |
| **description\_long**<br><br><br>STRING |
| **description\_short**<br><br><br>STRING |
| **director**<br><br><br>STRING |
| **discontinued**<br><br><br>STRING |
| **display\_type**<br><br><br>STRING |
| **edition**<br><br><br>STRING |
| **expiration\_date**<br><br><br>STRING |
| **features**<br><br><br>STRING |
| **focus\_type**<br><br><br>STRING |
| **functions**<br><br><br>STRING |
| **genre**<br><br><br>STRING |
| **heel\_height**<br><br><br>STRING |
| **height**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **image\_thumb\_url**<br><br><br>STRING |
| **image\_url**<br><br><br>STRING |
| **in\_stock**<br><br><br>STRING |
| **installation**<br><br><br>STRING |
| **isbn**<br><br><br>STRING |
| **keywords**<br><br><br>STRING |
| **length**<br><br><br>STRING |
| **load\_type**<br><br><br>STRING |
| **location**<br><br><br>STRING |
| **made\_in**<br><br><br>STRING |
| **manufacturer**<br><br><br>STRING |
| **material**<br><br><br>STRING |
| **megapixels**<br><br><br>STRING |
| **memory\_capacity**<br><br><br>STRING |
| **memory\_card\_slot**<br><br><br>STRING |
| **memory\_type**<br><br><br>STRING |
| **model\_number**<br><br><br>STRING |
| **mpn**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **occasion**<br><br><br>STRING |
| **operating\_system**<br><br><br>STRING |
| **optical\_drive**<br><br><br>STRING |
| **pages**<br><br><br>INTEGER |
| **payment\_accepted**<br><br><br>STRING |
| **payment\_notes**<br><br><br>STRING |
| **platform**<br><br><br>STRING |
| **price**<br><br>NUMBER |
| **price\_retail**<br><br>NUMBER |
| **price\_sale**<br><br>NUMBER |
| **price\_shipping**<br><br>NUMBER |
| **processor**<br><br><br>STRING |
| **product\_format**<br><br><br>STRING |
| **publisher**<br><br><br>STRING |
| **quantity\_in\_stock**<br><br><br>INTEGER |
| **rating**<br><br><br>STRING |
| **recommended\_usage**<br><br><br>STRING |
| **resolution**<br><br><br>STRING |
| **screen\_size**<br><br><br>STRING |
| **shipping\_method**<br><br><br>STRING |
| **shoe\_size**<br><br><br>STRING |
| **shoe\_width**<br><br><br>STRING |
| **size**<br><br><br>STRING |
| **sku**<br><br><br>STRING |
| **staring**<br><br><br>STRING |
| **style**<br><br><br>STRING |
| **tech\_spec\_url**<br><br><br>STRING |
| **tracks**<br><br><br>INTEGER |
| **upc**<br><br><br>STRING |
| **weight**<br><br><br>STRING |
| **width**<br><br><br>STRING |
| **wireless\_interface**<br><br><br>STRING |
| **year**<br><br><br>STRING |
| **zoom**<br><br><br>STRING |

### creative\_promotion

The `creative_promotion` table contains information about promotion creatives in your Pepperjam name 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)** | id |
| **Useful links** | [creative_promotion schema on GitHub](https://github.com/singer-io/tap-pepperjam/blob/master/tap_pepperjam/schemas/creative_promotion.json "Opens in new tab: creative_promotion schema on GitHub")<br><br><br>[Pepperjam API method](https://support.pepperjam.com/s/advertiser-api-documentation#CreativePromotion "Opens in new tab: Pepperjam API method") |

creative\_promotion table foreign keys

| Join creative\_promotion with | on |
| --- | --- |
| [creative_advanced](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-advanced) | ```<br>creative_promotion.id = creative_advanced.promotions.id<br>``` |
| [creative_banner](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-banner) | ```<br>creative_promotion.id = creative_banner.promotions.id<br>``` |
| [creative_coupon](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-coupon) | ```<br>creative_promotion.id = creative_coupon.promotions.id<br>``` |
| [creative_text](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-text) | ```<br>creative_promotion.id = creative_text.promotions.id<br>``` |

creative\_promotion table schema

| **id**<br><br><br>STRING |
| --- |
| **name**<br><br><br>STRING |

### creative\_text

The creative\_text table contains information about text creatives in your Pepperjam 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 Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | modified |
| **Useful links** | [creative_text schema on GitHub](https://github.com/singer-io/tap-pepperjam/blob/master/tap_pepperjam/schemas/creative_text.json "Opens in new tab: creative_text schema on GitHub")<br><br><br>[Pepperjam API method](https://support.pepperjam.com/s/advertiser-api-documentation#Text "Opens in new tab: Pepperjam API method") |

creative\_text table foreign keys

| Join creative\_text with | on |
| --- | --- |
| [creative_advanced](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-advanced) | ```<br>creative_text.private_affiliates.affiliate_id = creative_advanced.private_affiliates.affiliate_id<br>```<br><br>```<br>creative_text.promotions.id = creative_advanced.promotions.id<br>``` |
| [creative_banner](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-banner) | ```<br>creative_text.private_affiliates.affiliate_id = creative_banner.private_affiliates.affiliate_id<br>```<br><br>```<br>creative_text.promotions.id = creative_banner.promotions.id<br>``` |
| [creative_coupon](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-coupon) | ```<br>creative_text.private_affiliates.affiliate_id = creative_coupon.private_affiliates.affiliate_id<br>```<br><br>```<br>creative_text.promotions.id = creative_coupon.promotions.id<br>``` |
| [creative_promotion](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-promotion) | ```<br>creative_text.promotions.id = creative_promotion.id<br>``` |

creative\_text table schema

| **allow\_deep\_link**<br><br><br>INTEGER |
| --- |
| **created**<br><br><br>DATE-TIME |
| **description**<br><br><br>STRING |
| **end\_date**<br><br><br>DATE-TIME |
| **id**<br><br><br>INTEGER |
| **link\_anchor\_text**<br><br><br>STRING |
| **modified**<br><br><br>DATE-TIME |
| **private**<br><br><br>INTEGER |
| **private\_affiliates**<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 private\_affiliates<br><br><table> <tr> <td> <p> <strong>								affiliate_id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **promotions**<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 promotions<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **start\_date**<br><br><br>DATE-TIME |
| **status**<br><br><br>STRING |
| **type**<br><br><br>STRING |
| **url**<br><br><br>STRING |
| **view\_date**<br><br><br>DATE-TIME |

### group

The `group` table contains information about groups in your Pepperjam 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)** | id |
| **Useful links** | [group schema on GitHub](https://github.com/singer-io/tap-pepperjam/blob/master/tap_pepperjam/schemas/group.json "Opens in new tab: group schema on GitHub")<br><br><br>[Pepperjam API method](https://support.pepperjam.com/s/advertiser-api-documentation#Group "Opens in new tab: Pepperjam API method") |

group table foreign keys

| Join group with | on |
| --- | --- |
| [creative_performance](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-performance) | ```<br>group.id = creative_performance.group_id<br>``` |
| [creative_performance_by_publisher](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-performance-by-publisher) | ```<br>group.id = creative_performance_by_publisher.group_id<br>``` |
| [group_member](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#group-member) | ```<br>group.id = group_member.group_id<br>``` |
| [publisher](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#publisher) | ```<br>group.id = publisher.group.id<br>``` |
| [publisher_performance](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#publisher-performance) | ```<br>group.id = publisher_performance.group_id<br>``` |
| [transaction_details](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#transaction-details) | ```<br>group.id = transaction_details.group_id<br>``` |
| [transaction_history](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#transaction-history) | ```<br>group.id = transaction_history.group_id<br>``` |

group table schema

| **assigned\_publishers**<br><br><br>INTEGER |
| --- |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |

### group\_member

The `group_member` table contains information about members within groups in your Pepperjam 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)** | id |
| **Useful links** | [group_member schema on GitHub](https://github.com/singer-io/tap-pepperjam/blob/master/tap_pepperjam/schemas/group_member.json "Opens in new tab: group_member schema on GitHub")<br><br><br>[Pepperjam API method](https://support.pepperjam.com/s/advertiser-api-documentation#Member "Opens in new tab: Pepperjam API method") |

group\_member table foreign keys

| Join group\_member with | on |
| --- | --- |
| [creative_performance](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-performance) | ```<br>group_member.group_id = creative_performance.group_id<br>``` |
| [creative_performance_by_publisher](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-performance-by-publisher) | ```<br>group_member.group_id = creative_performance_by_publisher.group_id<br>``` |
| [group](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#group) | ```<br>group_member.group_id = group.id<br>``` |
| [publisher](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#publisher) | ```<br>group_member.group_id = publisher.group.id<br>``` |
| [publisher_performance](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#publisher-performance) | ```<br>group_member.group_id = publisher_performance.group_id<br>``` |
| [transaction_details](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#transaction-details) | ```<br>group_member.group_id = transaction_details.group_id<br>``` |
| [transaction_history](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#transaction-history) | ```<br>group_member.group_id = transaction_history.group_id<br>``` |

group\_member table schema

| **default**<br><br><br>STRING |
| --- |
| **group\_id**<br><br><br>INTEGER |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **product\_count**<br><br><br>INTEGER |

### itemized\_list

The `itemized_list` table contains information about your itemized lists in your Pepperjam 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)** | id |
| **Useful links** | [itemized_list schema on GitHub](https://github.com/singer-io/tap-pepperjam/blob/master/tap_pepperjam/schemas/itemized_list.json "Opens in new tab: itemized_list schema on GitHub")<br><br><br>[Pepperjam API method](https://support.pepperjam.com/s/advertiser-api-documentation#ItemizedList "Opens in new tab: Pepperjam API method") |

itemized\_list table foreign keys

| Join itemized\_list with | on |
| --- | --- |
| [itemized_list_product](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#itemized-list-product) | ```<br>itemized_list.id = itemized_list_product.list_id<br>``` |

itemized\_list table schema

| **default**<br><br><br>STRING |
| --- |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **product\_count**<br><br><br>INTEGER |

### itemized\_list\_product

The `itemized_list_product` table contains information about products within your itemized lists in your Pepperjam 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)** | id |
| **Useful links** | [itemized_list_product schema on GitHub](https://github.com/singer-io/tap-pepperjam/blob/master/tap_pepperjam/schemas/itemized_list_product.json "Opens in new tab: itemized_list_product schema on GitHub")<br><br><br>[Pepperjam API method](https://support.pepperjam.com/s/advertiser-api-documentation#Product "Opens in new tab: Pepperjam API method") |

itemized\_list\_product table foreign keys

| Join itemized\_list\_product with | on |
| --- | --- |
| [itemized_list](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#itemized-list) | ```<br>itemized_list_product.list_id = itemized_list.id<br>``` |

itemized\_list\_product table schema

| **id**<br><br><br>STRING |
| --- |
| **list\_id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |

### publisher

The `publisher` table contains information about the publishers, the publishers’ status, and the publishers’ term in your Pepperjam 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)** | id |
| **Useful links** | [publisher schema on GitHub](https://github.com/singer-io/tap-pepperjam/blob/master/tap_pepperjam/schemas/publisher.json "Opens in new tab: publisher schema on GitHub")<br><br><br>[Pepperjam API method](https://support.pepperjam.com/s/advertiser-api-documentation#Publisher "Opens in new tab: Pepperjam API method") |

publisher table foreign keys

| Join publisher with | on |
| --- | --- |
| [creative_performance](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-performance) | ```<br>publisher.group.id = creative_performance.group_id<br>``` |
| [creative_performance_by_publisher](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-performance-by-publisher) | ```<br>publisher.group.id = creative_performance_by_publisher.group_id<br>```<br><br>```<br>publisher.id = creative_performance_by_publisher.publisher_id<br>``` |
| [group](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#group) | ```<br>publisher.group.id = group.id<br>``` |
| [group_member](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#group-member) | ```<br>publisher.group.id = group_member.group_id<br>``` |
| [publisher_performance](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#publisher-performance) | ```<br>publisher.group.id = publisher_performance.group_id<br>```<br><br>```<br>publisher.id = publisher_performance.publisher_id<br>``` |
| [transaction_details](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#transaction-details) | ```<br>publisher.group.id = transaction_details.group_id<br>```<br><br>```<br>publisher.id = transaction_details.publisher_id<br>``` |
| [transaction_history](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#transaction-history) | ```<br>publisher.group.id = transaction_history.group_id<br>```<br><br>```<br>publisher.id = transaction_history.publisher_id<br>``` |
| [term](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#term) | ```<br>publisher.term.id = term.id<br>``` |

publisher table schema

| **category**<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 category<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **company**<br><br><br>STRING |
| **country**<br><br><br>STRING |
| **first\_name**<br><br><br>STRING |
| **group**<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 group<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **id**<br><br><br>INTEGER |
| **join\_date**<br><br><br>DATE-TIME |
| **last\_name**<br><br><br>STRING |
| **primary\_promo\_method**<br><br><br>STRING |
| **promotional\_method**<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 promotional\_method<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **request\_date**<br><br><br>DATE-TIME |
| **state**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **term**<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 term<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **transparency**<br><br><br>INTEGER |
| **website**<br><br><br>STRING |

### publisher\_performance

The `publisher_performance` table contains information about publishers’ performance within a -day time frame from the date of the last table replication.

**Note**: During every replication job, Stitch will replicate the last days’ worth of data for this table. Refer to the [Attribution windows and data extraction](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#attribution-windows-data-extraction) section for more info.

| **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)** | date<br><br>publisher\_id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | datetime |
| **Useful links** | [publisher_performance schema on GitHub](https://github.com/singer-io/tap-pepperjam/blob/master/tap_pepperjam/schemas/publisher_performance.json "Opens in new tab: publisher_performance schema on GitHub")<br><br><br>[Pepperjam API method](https://support.pepperjam.com/s/advertiser-api-documentation#PublisherPerformance "Opens in new tab: Pepperjam API method") |

publisher\_performance table foreign keys

| Join publisher\_performance with | on |
| --- | --- |
| [creative_performance](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-performance) | ```<br>publisher_performance.group_id = creative_performance.group_id<br>``` |
| [creative_performance_by_publisher](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-performance-by-publisher) | ```<br>publisher_performance.group_id = creative_performance_by_publisher.group_id<br>```<br><br>```<br>publisher_performance.publisher_id = creative_performance_by_publisher.publisher_id<br>``` |
| [group](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#group) | ```<br>publisher_performance.group_id = group.id<br>``` |
| [group_member](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#group-member) | ```<br>publisher_performance.group_id = group_member.group_id<br>``` |
| [publisher](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#publisher) | ```<br>publisher_performance.group_id = publisher.group.id<br>```<br><br>```<br>publisher_performance.publisher_id = publisher.id<br>``` |
| [transaction_details](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#transaction-details) | ```<br>publisher_performance.group_id = transaction_details.group_id<br>```<br><br>```<br>publisher_performance.publisher_id = transaction_details.publisher_id<br>``` |
| [transaction_history](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#transaction-history) | ```<br>publisher_performance.group_id = transaction_history.group_id<br>```<br><br>```<br>publisher_performance.publisher_id = transaction_history.publisher_id<br>``` |

publisher\_performance table schema

| **bonus\_amount**<br><br>NUMBER |
| --- |
| **clicks**<br><br><br>INTEGER |
| **company**<br><br><br>STRING |
| **date**<br><br><br>DATE |
| **datetime**<br><br><br>DATE-TIME |
| **earnings\_per\_click**<br><br>NUMBER |
| **group\_id**<br><br><br>INTEGER |
| **impressions**<br><br><br>INTEGER |
| **leads**<br><br><br>INTEGER |
| **publisher**<br><br><br>STRING |
| **publisher\_bonus**<br><br>NUMBER |
| **publisher\_commission**<br><br>NUMBER |
| **publisher\_id**<br><br><br>INTEGER |
| **publisher\_type**<br><br><br>STRING |
| **sale\_lead\_amount**<br><br>NUMBER |
| **sales**<br><br><br>INTEGER |
| **site\_bonus**<br><br>NUMBER |
| **site\_commission**<br><br>NUMBER |
| **state**<br><br><br>STRING |
| **total\_commission**<br><br>NUMBER |
| **website**<br><br><br>STRING |

### term

The `term` table contains information about the terms for your program in your Pepperjam 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)** | id |
| **Useful links** | [term schema on GitHub](https://github.com/singer-io/tap-pepperjam/blob/master/tap_pepperjam/schemas/term.json "Opens in new tab: term schema on GitHub")<br><br><br>[Pepperjam API method](https://support.pepperjam.com/s/advertiser-api-documentation#Term "Opens in new tab: Pepperjam API method") |

term table foreign keys

| Join term with | on |
| --- | --- |
| [publisher](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#publisher) | ```<br>term.id = publisher.term.id<br>``` |

term table schema

| **cookie\_duration**<br><br><br>STRING |
| --- |
| **created**<br><br><br>DATE |
| **default**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |

### transaction\_details

The transaction\_details table contains all publisher transaction details, within a -day time frame from the date of the last table replication.

**Note**: During every replication job, Stitch will replicate the last days’ worth of data for this table. Refer to the [Attribution windows and data extraction](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#attribution-windows-data-extraction) section for more info.

| **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 Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | transaction\_id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | sale\_date |
| **Useful links** | [transaction_details schema on GitHub](https://github.com/singer-io/tap-pepperjam/blob/master/tap_pepperjam/schemas/transaction_details.json "Opens in new tab: transaction_details schema on GitHub")<br><br><br>[Pepperjam API method](https://support.pepperjam.com/s/advertiser-api-documentation#TransactionDetails "Opens in new tab: Pepperjam API method") |

transaction\_details table foreign keys

| Join transaction\_details with | on |
| --- | --- |
| [creative_performance](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-performance) | ```<br>transaction_details.creative_id = creative_performance.creative_id<br>```<br><br>```<br>transaction_details.group_id = creative_performance.group_id<br>``` |
| [creative_performance_by_publisher](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-performance-by-publisher) | ```<br>transaction_details.creative_id = creative_performance_by_publisher.creative_id<br>```<br><br>```<br>transaction_details.group_id = creative_performance_by_publisher.group_id<br>```<br><br>```<br>transaction_details.publisher_id = creative_performance_by_publisher.publisher_id<br>``` |
| [group](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#group) | ```<br>transaction_details.group_id = group.id<br>``` |
| [group_member](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#group-member) | ```<br>transaction_details.group_id = group_member.group_id<br>``` |
| [publisher](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#publisher) | ```<br>transaction_details.group_id = publisher.group.id<br>```<br><br>```<br>transaction_details.publisher_id = publisher.id<br>``` |
| [publisher_performance](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#publisher-performance) | ```<br>transaction_details.group_id = publisher_performance.group_id<br>```<br><br>```<br>transaction_details.publisher_id = publisher_performance.publisher_id<br>``` |
| [transaction_history](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#transaction-history) | ```<br>transaction_details.group_id = transaction_history.group_id<br>```<br><br>```<br>transaction_details.order_id = transaction_history.order_id<br>```<br><br>```<br>transaction_details.publisher_id = transaction_history.publisher_id<br>```<br><br>```<br>transaction_details.transaction_id = transaction_history.transaction_id<br>``` |

transaction\_details table schema

| **click\_id**<br><br><br>STRING |
| --- |
| **commission**<br><br>NUMBER |
| **commission\_publisher**<br><br>NUMBER |
| **commission\_site**<br><br>NUMBER |
| **company**<br><br><br>STRING |
| **coupons**<br><br><br>STRING |
| **creative\_id**<br><br><br>STRING |
| **device\_type**<br><br><br>STRING |
| **group\_id**<br><br><br>INTEGER |
| **link\_type**<br><br><br>STRING |
| **new\_to\_file**<br><br><br>STRING |
| **order\_id**<br><br><br>STRING |
| **publisher**<br><br><br>STRING |
| **publisher\_id**<br><br><br>INTEGER |
| **publisher\_type**<br><br><br>STRING |
| **sale\_amount**<br><br>NUMBER |
| **sale\_date**<br><br><br>DATE-TIME |
| **status**<br><br><br>STRING |
| **transaction\_id**<br><br><br>INTEGER |
| **transaction\_type**<br><br><br>STRING |

### transaction\_history

The transaction\_history table contains all historical publisher transactions, within a -day time frame from the date of the last table replication.

**Note**: During every replication job, Stitch will replicate the last days’ worth of data for this table.

| **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)** | transaction\_id<br><br>process\_date<br><br>sale\_date |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | sale\_date |
| **Useful links** | [transaction_history schema on GitHub](https://github.com/singer-io/tap-pepperjam/blob/master/tap_pepperjam/schemas/transaction_history.json "Opens in new tab: transaction_history schema on GitHub")<br><br><br>[Pepperjam API method](https://support.pepperjam.com/s/advertiser-api-documentation#TransactionHistory "Opens in new tab: Pepperjam API method") |

transaction\_history table foreign keys

| Join transaction\_history with | on |
| --- | --- |
| [creative_performance](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-performance) | ```<br>transaction_history.group_id = creative_performance.group_id<br>``` |
| [creative_performance_by_publisher](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#creative-performance-by-publisher) | ```<br>transaction_history.group_id = creative_performance_by_publisher.group_id<br>```<br><br>```<br>transaction_history.publisher_id = creative_performance_by_publisher.publisher_id<br>``` |
| [group](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#group) | ```<br>transaction_history.group_id = group.id<br>``` |
| [group_member](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#group-member) | ```<br>transaction_history.group_id = group_member.group_id<br>``` |
| [publisher](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#publisher) | ```<br>transaction_history.group_id = publisher.group.id<br>```<br><br>```<br>transaction_history.publisher_id = publisher.id<br>``` |
| [publisher_performance](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#publisher-performance) | ```<br>transaction_history.group_id = publisher_performance.group_id<br>```<br><br>```<br>transaction_history.publisher_id = publisher_performance.publisher_id<br>``` |
| [transaction_details](https://help.qlik.com/en-US/stitch/integrations/saas/pepperjam#transaction-details) | ```<br>transaction_history.group_id = transaction_details.group_id<br>```<br><br>```<br>transaction_history.order_id = transaction_details.order_id<br>```<br><br>```<br>transaction_history.publisher_id = transaction_details.publisher_id<br>```<br><br>```<br>transaction_history.transaction_id = transaction_details.transaction_id<br>``` |

transaction\_history table schema

| **commission**<br><br>NUMBER |
| --- |
| **company**<br><br><br>STRING |
| **group\_id**<br><br><br>INTEGER |
| **item\_id**<br><br><br>STRING |
| **link\_type**<br><br><br>STRING |
| **order\_id**<br><br><br>STRING |
| **process\_date**<br><br><br>DATE-TIME |
| **publisher**<br><br><br>STRING |
| **publisher\_commission**<br><br>NUMBER |
| **publisher\_id**<br><br><br>INTEGER |
| **publisher\_type**<br><br><br>STRING |
| **revision**<br><br><br>STRING |
| **sale\_amount**<br><br>NUMBER |
| **sale\_date**<br><br><br>DATE-TIME |
| **site\_commission**<br><br>NUMBER |
| **status**<br><br><br>STRING |
| **transaction\_id**<br><br><br>INTEGER |
| **transaction\_type**<br><br><br>STRING |
| **website\_url**<br><br><br>STRING |