Skip to main content

Commission Junction (CJ Affiliate)

CJ Affiliate is an affiliate marketing network. This connector syncs advertiser-side commissions using the Commission Detail GraphQL API. It queries advertiserCommissions, not publisherCommissions.

Set up the source​

Create a personal access token on the CJ Developer Portal. The API uses this token to authorize access to your advertiser company ID (CID).

In Airbyte, add a Commission Junction (CJ Affiliate) source and configure these required fields:

FieldDescription
Personal Access TokenYour CJ personal access token, sent as a Bearer token.
CIDYour advertiser company ID, passed as forAdvertisers in the query.
start_dateEarliest posting date to request, in YYYY-MM-DDTHH:MM:SSZ format. Default: 2025-02-01T00:00:00Z.

If a successful sync returns no records, verify that the token has access to the configured CID and check the date range. CJ documents that unmatched query arguments, including a token/CID mismatch, can return "count": 0 rather than an error.

Supported streams​

StreamPrimary keySync modes
AdvertiserCommissionscommissionIdFull refresh, Incremental

The stream uses postingDate as its incremental cursor, requests 30-day windows, and has a configured 60-day lookback. Pagination passes maxCommissionId as the next sinceCommissionId until payloadComplete is true.

The query includes commission and sale amounts, order identifiers, and the original field, but not item-level items data. Monetary fields are nullable strings in the connector schema. For interpreting original and corrected transactions, see Corrections in the CJ reference.

API limits​

CJ documents limits of 200 calls per 5 minutes, 120 concurrent connections, 10,000 commissions per response, and date ranges of at most 31 days per query. The connector's 30-day windows and cursor pagination accommodate the date-range and response-size limits. Its manifest configures concurrency to 4 and a maximum of 5 retries with exponential backoff.

Reference​

Config fields reference

Field
Type
Property name
CID
required
string
cid
string
personal_access_token
string
start_date

Changelog​

Expand to review
VersionDatePull RequestSubject
0.0.162026-11-1793111Update dependencies
0.0.152026-11-1091477Update dependencies
0.0.142026-11-0390515Update dependencies
0.0.132026-10-2789858Update dependencies
0.0.122026-10-2089146Update dependencies
0.0.112026-10-1388584Update dependencies
0.0.102026-10-0687799Update dependencies
0.0.92026-09-2987102Update dependencies
0.0.82026-09-2286585Update dependencies
0.0.72026-09-1585992Update dependencies
0.0.62026-09-0885453Update dependencies
0.0.52026-08-1884537Update dependencies
0.0.42026-08-1183873Update dependencies
0.0.32026-08-0483420Update dependencies
0.0.22026-07-2882883Update dependencies
0.0.12026-07-2781336Initial release by @Ella6882 via Connector Builder
Was this page helpful?