Affiliate

AI agent for CJ Affiliate: commissions, advertisers, links and product feeds

TL;DR

CJ Affiliate connects with a Personal Access Token and the company id (CID). A publisher connection has 15 reads and 2 writes; an advertiser connection has 9 reads and 3 writes. CJ reports every amount twice: in the CJ account's own currency and in US dollars. The agent keeps the two side by side and never adds one to the other. CJ does not name the account's currency on its records, so the CJ card has a field to label it.

Availability
Available
Connection method
Personal Access Token and company id (CID)

Can an AI agent work with CJ Affiliate?

Yes. Agent Planners connects to CJ Affiliate through the official API and gives the agent 16 read tools and 5 write tools. Available changes depend on account permissions and the connection’s approval policy. You can use the same tools in the app or from Claude, ChatGPT and Codex over MCP.

Connecting CJ Affiliate

  1. 1Create a Personal Access Token at developers.cj.com → Personal Access Tokens. It acts as your CJ user.
  2. 2Find your company id (CID) in CJ Account Manager, next to the company name. CJ's API cannot tell a token which company it belongs to, so the CID is entered by hand.
  3. 3Open Integrations → the CJ Affiliate card → Connect with a token, paste the token, type the CID and press Check and save. Agent Planners checks both with CJ before anything is saved and records whether the company is a publisher or an advertiser.
  4. 4Optional: name the website id (PID) to use by default, and the account's currency so its amounts are labelled.
The token is stored encrypted and never shown again. Several people can add their own token for the same company; Replace swaps a token in place.

Publisher connections

  • Advertisers and programs you joined or have not joined, with EPC (in US dollars), network rank and default commissions; program terms with every commission rate, including situations and item lists.
  • Links and promotions with their CJ tracking URL for one of your website ids; products from advertisers' feeds with a tracking link.
  • Commissions — each record, originals and corrections — and a commission report by advertiser, day, website, action type or status.
  • Changes: add or edit a promotional property (a website id).
15 reads and 2 writes answer on a publisher connection.

Advertiser connections

  • Publishers joined to your programs, with their website ids and terms.
  • Commissions and the commission report by publisher, day, website or action, including CJ's fee.
  • Product feeds: list feeds and add, change or delete products (deleting always waits for a person).
9 reads and 3 writes answer on an advertiser connection.

Money, dates and windows

  • CJ reports every amount twice: in the CJ account's own currency and in US dollars. The agent keeps the two side by side and never adds one to the other. CJ does not name the account's currency on its records, so the CJ card has a field to label it.
  • Commissions are read 31 days per request (CJ's limit); a longer window, up to 366 days, is read in 31-day pieces and de-duplicated.
  • Dates are UTC. A report can count by posting date (when CJ recorded it — the default), event date (when the sale happened) or locking date.

What waits for a person — and what CJ's API does not offer

  • Ordinary changes follow your approval setting — by default each waits for your approval card: adding or editing a promotional property, adding or changing products.
  • Always a person: Deleting products from a feed, setting a promotional property to ARCHIVED or TERMINATED (CJ stops tracking on that website id) and making a property the account's primary one always wait for a person, on every lane — even with auto-approve on — and never ride a batch.
  • Refused: More than 1,000 products in one call and a write naming another CJ company are refused. CJ publishes no API for payments, users or credentials, so none is reachable.
  • No clicks or impressions report: CJ's API has none — EPC (earnings per hundred clicks) comes from the advertiser list.
  • No payments or settlements API: payouts and balances stay in CJ Account Manager.
  • No deep-link generation API: a tracking link is a link's clickUrl from link search (deep linking where the advertiser allows it) or a product's link code.
  • No API to correct a commission: corrections arrive as their own commission records, which the agent reads.
CJ's error answers were measured with a real publisher token (read-only); its success answers follow CJ's own documentation. No write has been sent to a live CJ account yet. If something behaves differently, Support wants to hear about it. CJ Affiliate setup guide · CJ Affiliate platform page · CJ Affiliate MCP server

Things to ask

  • "CJ commissions by advertiser for the last 30 days, in my currency and in USD."
  • "Which advertisers I have not joined have the best 3-month EPC in my category?"
  • "Find a coupon link from advertiser 1234567 for my main website id."
  • "Show the corrections posted on my CJ commissions this month."

Frequently asked questions

Does Agent Planners support CJ Affiliate?
Yes. CJ Affiliate connects with a Personal Access Token and your company id (CID), as a publisher or an advertiser. The agent reads commissions, advertisers, links and products and makes the few changes CJ's API offers, with your approval.
Why do I have to type the company id?
CJ's API has no way to tell which company a token belongs to — every company-scoped call needs the CID. Agent Planners checks that the token's user belongs to that company before saving.
Are CJ amounts converted to one currency?
No. CJ reports each amount in the account's own currency and in US dollars; the agent shows both side by side and never adds them together.
Can the agent report clicks or payouts from CJ?
Not over CJ's API: CJ publishes no clicks report and no payments API. EPC comes from the advertiser list, and payouts stay in CJ Account Manager.

CJ Affiliate tools the agent can use

The tool catalog lists 16 read tools and 5 write tools for CJ Affiliate — the same names MCP clients, the REST API and the in-app agent call. Read and write support for the operations listed.

This is every CJ Affiliate tool in the catalog. See every tool for CJ Affiliate (21) or browse the complete tool catalog.

Read (16 of 16)

  • Readcj__get_capabilities

    What this CJ connection can read: the kind (publisher / advertiser), the company id (CID), its website ids (PIDs) and, per API (advertiser lookup, link…

  • Readcj__list_advertisers

    Advertisers / programs (Advertiser Lookup): relationship joined (default) | notjoined | a list of advertiser CIDs; name or program URL; keywords.

  • Readcj__get_advertiser

    ONE advertiser by CID (Advertiser Lookup).

  • Readcj__list_program_terms

    Program terms (contracts) with your advertisers — every commission rate incl. situations, item lists and promotional-property rates, performance incentives,…

  • Readcj__search_links

    Links / promotions (Link Search) with their CJ tracking URL (clickUrl) for one of your website ids: advertiserIds joined (default) | notjoined | CIDs;…

  • Readcj__search_products

    Products from advertisers' product feeds (Product Search, GraphQL products): keywords, advertiserIds (partnerIds), partnerStatus JOINED | NOT_JOINED, price…

  • Readcj__list_product_feeds

    Product feeds (GraphQL productFeeds): feed ad id, name, advertiser, country, currency, language, product count, last update.

  • Readcj__list_promotional_properties

    Your promotional properties = website ids (PIDs): id, name, status ACTIVE | ARCHIVED | TERMINATED, primary, type (WEBSITE, SOCIAL_MEDIA, EMAIL, MOBILE_APP…

  • Readcj__get_promotional_property

    ONE promotional property by id (refused when it belongs to another company).

  • Readcj__get_item_list

    An advertiser's item list (the SKUs an item-list commission rate covers; rates are in list_program_terms).

  • Readcj__list_commissions

    Commissions (Commission Detail): id, original / correction, status (new, extended, locked, closed), action type, advertiser / publisher, website id, ad id,…

  • Readcj__get_commission

    Commissions by id (Commission Detail commissionIds, ≤ 100) with their items.

  • Readcj__report

    Commission report aggregated from Commission Detail: by = advertiser (publisher default) | publisher (advertiser default) | day | advertiser_day | website |…

  • Readcj__list_publishers

    Publishers joined to your programs (Publisher Lookup): CID, name, country, functional currency, network rating, program terms with join status, promotional…

  • Readcj__get

    ANY CJ REST read on the connected company: endpoint advertiser-lookup | link-search (publisher) | joined-publisher-lookup (advertiser), query = CJ's own…

  • Readcj__graphql_read

    A CJ GraphQL READ query on the connected company: api commissions | program_terms | products, query = the document.

Write (5 of 5)

  • Writecj__create_promotional_property

    When isPrimary is true or status is not ACTIVE).

  • Writecj__update_promotional_property

    When it sets status ARCHIVED / TERMINATED — CJ stops tracking on that PID — or makes it primary).

  • Writecj__create_products

    Add products to one of your product feeds (createShoppingProducts on the feed's ad id).

  • Writecj__update_products

    Change products in a feed (updateShoppingProducts).

  • WritePerson approvescj__delete_products

    Publishers' links to these products stop working).

Authorized raw requests

cj__raw_request takes a request in CJ Affiliate's own format and routes it through the family's own gateway tool, so the same account binding, approvals and refusals apply. It needs the tools:raw scope and is found through search_tools or the REST tool list. It reads only: changes go through the typed CJ tools (create_promotional_property, update_promotional_property, create_products, update_products, delete_products), which carry its approval rules.

Limitations

  • Permissions: the connected login's role and the permissions it granted decide what each tool can read or change. A tool the login cannot use answers with what is missing; it never works around it.
  • Approvals: in the app, changes wait for approval unless the task runs with auto-approve. Over MCP and REST they follow the credential's setting (an API key applies ordinary changes at once unless it is set to require approval; a third-party OAuth connection waits). 1 write is marked “Person approves”: it waits for a person on every lane — only the workspace's own OAuth app and an API key an admin set to apply changes you can't take back skip that wait. Forbidden Rules can block any of them.
  • Operations the platform's API does not offer, and operations not in the catalog, are not available through these tools.

At most 40 tools are listed on this page. Read more about how changes are approved.

Set up and use CJ Affiliate

What's new

Check access to CJ Affiliate

Use the setup guide to check account eligibility, permissions and available operations. 4,400 one-time free credits and plan details.

Related platforms

How the agent works