---
description: Commission Junction ETL connector for data replication
---

# Commission Junction

Snapshot

| Features                        | Details                                                                                                    |
| ------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| Release Status                  | Released                                                                                                   |
| Source API Version              |                                                                                                            |
| Table Selection                 | Yes                                                                                                        |
| Column Selection                | Yes                                                                                                        |
| Edit Integration                | Yes                                                                                                        |
| Replication Type Selection      | No                                                                                                         |
| Authentication Parameters       | <p>Commission Junction Access Token<br>Commission Junction CID<br>Commission Junction ISO Country Code</p> |
| Replication Type                | Key based Replication                                                                                      |
| Replication Key                 | <p>NA<br>LastRun</p>                                                                                       |
| Suggested Replication Frequency | 24 hrs                                                                                                     |

| Tables/APIs Supported  |                |
| ---------------------- | -------------- |
| Publishers             | Details        |
| Accounts               | Product\_Feeds |
| Product\_Subscriptions |                |



### Integrate Commission Junction with Daton

1. Signin to Daton
2. Select Impact from Integrations page
3. Provide Integration Name Replication Frequency and History. Integration name would be used in creating tables for the integration and cannot be changed later
4. Provide your Commission Junction Access Token, CID and ISO Country code. \
   [Click here](https://developers.cj.com/account/personal-access-tokens) to learn more about Commission Junction Access Token
5. After providing the details to authorize Daton to periodically extract data from Inventory Planner.
6. Post successful authentication you will be prompted to choose from the list of available tables
7. Then select all required fields for each table
8. Submit the integration.

### Workflow

1. Integrations would be in Pending state initially and will be moved to Active state as soon as the first job loads data successfully on to the configured warehouse
2. Users would be able to edit/pause/re-activate/delete integration anytime
3. Users can view job status and process logs from the integration details page by clicking on the integration name from the active list

### Commission Junction Data

**Publishers**

Purpose: Retrieve list of all publishers

Source API Documentation: [https://developers.cj.com/docs/rest-apis/publisher-lookup](https://developers.cj.com/docs/rest-apis/publisher-lookup)

Replication: Key-Based Replication

Replication Key: NA

**Fields**

| fullname                                | type    |
| --------------------------------------- | ------- |
| cid                                     | STRING  |
| country                                 | STRING  |
| currency                                | STRING  |
| networkrating                           | STRING  |
| publishername                           | STRING  |
| programterms                            | RECORD  |
| promotionalmethods                      | RECORD  |
| sevendayepc                             | STRING  |
| threemonthepc                           | STRING  |
| websites                                | RECORD  |
| \_daton\_user\_id                       | NUMERIC |
| \_daton\_batch\_runtime                 | NUMERIC |
| \_daton\_batch\_id                      | NUMERIC |
| websites\_st                            | STRING  |
| websites\_st\_1                         | STRING  |
| networkrating\_1                        | STRING  |
| programterms\_1                         | RECORD  |
| promotionalmethods\_1                   | RECORD  |
| publishername\_1                        | STRING  |
| sevendayepc\_1                          | STRING  |
| threemonthepc\_1                        | STRING  |
| programterms.name                       | STRING  |
| programterms.dateaccepted               | STRING  |
| programterms.dateexpired                | STRING  |
| programterms.joinstatus                 | STRING  |
| promotionalmethods.promotionalmethod    | STRING  |
| websites.website                        | RECORD  |
| websites.website.name                   | STRING  |
| websites.website.pid                    | STRING  |
| websites.website.url                    | STRING  |
| websites.website.category               | STRING  |
| programterms\_1.name                    | STRING  |
| programterms\_1.dateaccepted            | STRING  |
| programterms\_1.dateexpired             | STRING  |
| programterms\_1.joinstatus              | STRING  |
| promotionalmethods\_1.promotionalmethod | STRING  |

**Commission Details**

Purpose: Retrieve real-time commission data

Source API Documentation: [https://developers.cj.com/docs/rest-apis/commission-detail-(legacy)](https://developers.cj.com/docs/rest-apis/commission-detail-\(legacy\))

Replication: Key-Based Replication

Replication Key: NA

**Fields**

| fullname                   | type    |
| -------------------------- | ------- |
| actionstatus               | STRING  |
| actiontype                 | STRING  |
| aid                        | INTEGER |
| commissionid               | NUMERIC |
| country                    | STRING  |
| eventdate                  | STRING  |
| lockingdate                | DATE    |
| orderid                    | INTEGER |
| original                   | BOOLEAN |
| originalactionid           | NUMERIC |
| postingdate                | STRING  |
| websiteid                  | INTEGER |
| actiontrackerid            | INTEGER |
| actiontrackername          | STRING  |
| cid                        | INTEGER |
| publishername              | STRING  |
| commissionamount           | NUMERIC |
| orderdiscount              | INTEGER |
| saleamount                 | INTEGER |
| iscrossdevice              | BOOLEAN |
| \_daton\_user\_id          | NUMERIC |
| \_daton\_batch\_runtime    | NUMERIC |
| \_daton\_batch\_id         | NUMERIC |
| aid\_st                    | STRING  |
| commissionid\_st           | STRING  |
| orderid\_st                | STRING  |
| original\_st               | STRING  |
| originalactionid\_st       | STRING  |
| websiteid\_st              | STRING  |
| actiontrackerid\_st        | STRING  |
| cid\_st                    | STRING  |
| commissionamount\_st       | STRING  |
| orderdiscount\_st          | STRING  |
| saleamount\_st             | STRING  |
| iscrossdevice\_st          | STRING  |
| aid\_st\_1                 | STRING  |
| commissionid\_st\_1        | STRING  |
| orderid\_st\_1             | STRING  |
| original\_st\_1            | STRING  |
| originalactionid\_st\_1    | STRING  |
| websiteid\_st\_1           | STRING  |
| actiontrackerid\_st\_1     | STRING  |
| cid\_st\_1                 | STRING  |
| commissionamount\_st\_1    | STRING  |
| orderdiscount\_st\_1       | STRING  |
| saleamount\_st\_1          | STRING  |
| iscrossdevice\_st\_1       | STRING  |
| commissionid\_1            | STRING  |
| lockingdate\_1             | DATE    |
| orderid\_1                 | STRING  |
| originalactionid\_1        | STRING  |
| websiteid\_1               | STRING  |
| actiontrackerid\_1         | STRING  |
| commissionamount\_1        | STRING  |
| orderdiscount\_1           | STRING  |
| saleamount\_1              | STRING  |
| iscrossdevice\_1           | STRING  |
| aid\_st\_1\_1              | STRING  |
| commissionid\_st\_1\_1     | STRING  |
| orderid\_st\_1\_1          | STRING  |
| original\_st\_1\_1         | STRING  |
| originalactionid\_st\_1\_1 | STRING  |
| websiteid\_st\_1\_1        | STRING  |
| actiontrackerid\_st\_1\_1  | STRING  |
| cid\_st\_1\_1              | STRING  |
| commissionamount\_st\_1\_1 | STRING  |
| orderdiscount\_st\_1\_1    | STRING  |
| saleamount\_st\_1\_1       | STRING  |
| iscrossdevice\_st\_1\_1    | STRING  |
| commissionid\_1\_1         | STRING  |
| lockingdate\_1\_1          | DATE    |
| orderid\_1\_1              | STRING  |
| originalactionid\_1\_1     | STRING  |
| websiteid\_1\_1            | STRING  |
| actiontrackerid\_1\_1      | STRING  |
| commissionamount\_1\_1     | STRING  |
| orderdiscount\_1\_1        | STRING  |
| saleamount\_1\_1           | STRING  |
| iscrossdevice\_1\_1        | STRING  |
| actionstatus\_1            | STRING  |
| actiontype\_1              | STRING  |
| eventdate\_1               | STRING  |
| postingdate\_1             | STRING  |
| actiontrackername\_1       | STRING  |
| publishername\_1           | STRING  |

**Promotional Properties**

Purpose: Retrieve all publishers promotional properties

Source API Documentation:[https://developers.cj.com/graphql/reference/Promotional%20Properties](https://developers.cj.com/graphql/reference/Promotional%20Properties)

Replication: Key-Based Replication

Replication Key: NA

**Fields**

| fullname                                                                             | type      |
| ------------------------------------------------------------------------------------ | --------- |
| id                                                                                   | STRING    |
| publisherId                                                                          | STRING    |
| name                                                                                 | STRING    |
| description                                                                          | STRING    |
| status                                                                               | STRING    |
| isPrimary                                                                            | BOOLEAN   |
| createdAt                                                                            | TIMESTAMP |
| updatedAt                                                                            | TIMESTAMP |
| propertyTypeDetails                                                                  | RECORD    |
| \_daton\_user\_id                                                                    | NUMERIC   |
| \_daton\_batch\_runtime                                                              | NUMERIC   |
| \_daton\_batch\_id                                                                   | NUMERIC   |
| tags                                                                                 | RECORD    |
| promotionalModels                                                                    | RECORD    |
| propertyTypeDetails.type                                                             | STRING    |
| propertyTypeDetails.websiteUrl                                                       | STRING    |
| propertyTypeDetails.browserExtensionDownloadInformation                              | RECORD    |
| propertyTypeDetails.browserExtensionDownloadInformation.browserExtensionBrowser      | STRING    |
| propertyTypeDetails.browserExtensionDownloadInformation.browserExtensionDownloadLink | STRING    |
| propertyTypeDetails.browserExtensionName                                             | STRING    |
| propertyTypeDetails.browserExtensionDescription                                      | STRING    |
| propertyTypeDetails.mobileAppDownloadInformation                                     | RECORD    |
| propertyTypeDetails.mobileAppDownloadInformation.mobileAppPlatform                   | STRING    |
| propertyTypeDetails.mobileAppDownloadInformation.mobileAppDownloadLink               | STRING    |
| propertyTypeDetails.mobileAppName                                                    | STRING    |
| propertyTypeDetails.paidSearchEngineDescription                                      | STRING    |
| propertyTypeDetails.socialMediaHandle                                                | STRING    |
| propertyTypeDetails.socialMediaPlatform                                              | STRING    |
| propertyTypeDetails.paidDisplayAdsDescription                                        | STRING    |
| propertyTypeDetails.otherDescription                                                 | STRING    |
| propertyTypeDetails.servicesAndToolsMarketingSiteUrl                                 | STRING    |
| propertyTypeDetails.emailAddress                                                     | STRING    |
| propertyTypeDetails.emailOpenRate                                                    | STRING    |
| propertyTypeDetails.emailMailingListSize                                             | STRING    |
| tags.name                                                                            | STRING    |
| promotionalModels.type                                                               | STRING    |
| promotionalModels.isPrimary                                                          | BOOLEAN   |
| promotionalModels.description                                                        | STRING    |

**Product\_Feeds**

Purpose: Retrieve product feed summary

Source API Documentation:[https://developers.cj.com/graphql/reference/Promotional%20Properties](https://developers.cj.com/graphql/reference/Promotional%20Properties)

Replication: Key-Based Replication

Replication Key: NA

**Fields**

| fullname                | type      |
| ----------------------- | --------- |
| sourceFeedType          | STRING    |
| productCount            | NUMERIC   |
| advertiserCountry       | STRING    |
| lastUpdated             | TIMESTAMP |
| advertiserName          | STRING    |
| language                | STRING    |
| currency                | STRING    |
| feedName                | STRING    |
| adId                    | STRING    |
| advertiserId            | STRING    |
| \_daton\_user\_id       | NUMERIC   |
| \_daton\_batch\_runtime | NUMERIC   |
| \_daton\_batch\_id      | NUMERIC   |

**Product\_Subscription**

Purpose: Retrieve product feed summary

Source API Documentation:[https://developers.cj.com/graphql/reference/Promotional%20Properties](https://developers.cj.com/graphql/reference/Promotional%20Properties)

Replication: Key-Based Replication

Replication Key: NA

**Fields**

| fullname                | type    |
| ----------------------- | ------- |
| id                      | STRING  |
| adId                    | STRING  |
| description             | STRING  |
| \_daton\_user\_id       | NUMERIC |
| \_daton\_batch\_runtime | NUMERIC |
| \_daton\_batch\_id      | NUMERIC |

