# cj fields

> The 70 fields of the cj connector: field ID, name, type and description.

Use the field ID in the `fields` parameter of a request to `https://connectors.windsor.ai/cj`. This list comes from `GET https://connectors.windsor.ai/cj/fields`; the same call returns it as JSON, with more detail.

## Advertiser

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `account_id` | Account ID | `TEXT` | Same as advertiserId |
| `account_name` | Account Name | `TEXT` | Same as advertiserName |
| `action_status` | Action Status | `TEXT` | Status of the commission. Possible values: closed, extended, locked, new. |
| `action_tracker_id` | Action Tracker Id | `TEXT` | Unique identifier of an advertiser’s defined action associated with the commission |
| `action_tracker_name` | Action Tracker Name | `TEXT` | Name of the action (as specified by the advertiser) for that commission |
| `action_type` | Action Type | `TEXT` | Action type for the commission. Possible values: bonus, click, imp, item_lead, item_sale, perf_inc, sim_lead, sim_sale. |
| `ad_owner` | Ad Owner | `TEXT` | Displays the CID of the advertiser the link was clicked through (only applies to cross correlated accounts) |
| `adv_commission_amount_adv_currency` | Adv Commission Amount Adv Currency | `NUMERIC` | Advertiser commission amount in advertiser's currency (Advertiser-only attribute) |
| `adv_commission_amount_usd` | Adv Commission Amount Usd | `NUMERIC` | Advertiser commission amount in USD (Advertiser-only attribute) |
| `advertiser_id` | Advertiser Id | `TEXT` | CID of the advertiser for this commission |
| `advertiser_name` | Advertiser Name (cj) | `TEXT` | Name of the advertiser for this commission |
| `aid` | Ad Id | `TEXT` | Ad idenification number |
| `cj_fee_adv_currency` | CJ Fee Adv Currency | `NUMERIC` | CJ fee in the advertiser's currency (Advertiser-only attribute) |
| `cj_fee_usd` | CJ Fee Usd | `NUMERIC` | CJ fee in USD (Advertiser-only attribute) |
| `click_date` | Click Date | `TIMESTAMP` | Click date and time for the commission |
| `click_referring_url` | Click Referring URL | `TEXT` | Click referring URL for the commission |
| `commission_id` | Commission Id | `TEXT` | Commission identification number |
| `concluding_browser` | Concluding Browser | `TEXT` | The associated browser that the transaction concluded in. |
| `concluding_device_name` | Concluding Device Name | `TEXT` | The associated device name that the transaction concluded in. |
| `concluding_device_type` | Concluding Device Type | `TEXT` | The associated device type that the transaction concluded in. |
| `correction_reason` | Correction Reason | `TEXT` | If this is not an original transaction, the reason the transaction was corrected will be returned. Possible values: INVALID_CREDIT_CARD, RETURNED_MERCHANDISE, DUPLICATED_ORDER, CANT_SHIP_OR_SOLD_OUT, UNQUALIFIED_LEAD, QUALIFIED_LEAD, OTHER_REASON |
| `country` | Country | `COUNTRY` | Country where the transaction occurred |
| `coupon` | Coupon | `TEXT` | The coupon/voucher code used in the transaction |
| `date` | Date | `DATE` | Event date for the commission in UTC time zone (YYYY-MM-DD format) |
| `event_date` | Event Date | `TIMESTAMP` | Event date and time for the commission in UTC time zone |
| `initiating_browser` | Initiating Browser | `TEXT` | The associated browser that the transaction initiated in. |
| `initiating_device_name` | Initiating Device Name | `TEXT` | The associated device name that the transaction initiated in. |
| `initiating_device_type` | Initiating Device Type | `TEXT` | The associated device type that the transaction initiated in. |
| `is_cross_device` | Is Cross Device | `BOOLEAN` | Indicates if a transaction was attributed using cross-device tracking with ‘true’ or ‘false’ |
| `locking_date` | Locking Date | `TIMESTAMP` | Date and time on which the commission is locked for extending or correcting |
| `locking_method` | Locking Method | `TEXT` | The locking method for the commission based on program terms. Possible values: IMMEDIATE, FIXED_DATE, OPEN_ENDED, FIXED_DURATION |
| `new_to_file` | New To File | `BOOLEAN` | Advertiser defined, indicates if the customer is new or existing to the advertiser (Advertiser only attribute) |
| `order_discount_adv_currency` | Order Discount Adv Currency | `NUMERIC` | Discount associated with the order in the advertiser's currency |
| `order_discount_orig_currency` | Order Discount Orig Currency | `NUMERIC` | Discount associated with the order in original currency |
| `order_discount_pub_currency` | Order Discount Pub Currency | `NUMERIC` | Discount associated with the order in the publisher's currency |
| `order_discount_usd` | Order Discount Usd | `NUMERIC` | Discount associated with the order in USD |
| `order_id` | Order Id | `TEXT` | Advertiser-assigned identification number for the order |
| `original` | Original | `BOOLEAN` | Displays either a '1' indicating an original transaction or a '0' indicating a non-original or corrected transaction |
| `original_action_id` | Original Action Id | `TEXT` | Identification number used for correlation between the original transaction and corrected transaction |
| `posting_date` | Posting Date | `TIMESTAMP` | Date and time on which the commission is posted |
| `pub_commission_amount_pub_currency` | Pub Commission Amount Pub Currency | `NUMERIC` | Publisher commission amount in publisher's currency |
| `pub_commission_amount_usd` | Pub Commission Amount Usd | `NUMERIC` | Publisher commission amount in USD |
| `publisher_id` | Publisher Id | `TEXT` | CID of the publisher for this commission |
| `publisher_name` | Publisher Name (cj) | `TEXT` | Name of the publisher for this commission |
| `reviewed_status` | Reviewed Status | `TEXT` | Indicates if an advertiser has reviewed a transaction. |
| `sale_amount_adv_currency` | Sale Amount Adv Currency | `NUMERIC` | Sale amount in advertiser's currency |
| `sale_amount_pub_currency` | Sale Amount Pub Currency | `NUMERIC` | Sale amount in publisher's currency |
| `sale_amount_usd` | Sale Amount Usd | `NUMERIC` | Sale amount in USD |
| `site_to_store_offer` | Site To Store Offer | `TEXT` | Displays coupon code used, indicates it was a site to store offer transaction |
| `source` | Source | `TEXT` | Source for the transaction |
| `validation_status` | Validation Status | `TEXT` | The commission's validation status. Possible values: PENDING, ACCEPTED, DECLINED, AUTOMATED |
| `website_id` | Website Id | `TEXT` | Publisher website identification number |
| `website_name` | Website Name | `TEXT` | Publisher website name |

## Other

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `data_fetched_at` | Data fetched at | `TIMESTAMP` | UTC timestamp (second precision) of when the connector request that pulled the row started. Freshly pulled rows show this request's start time; cache hits keep the start time of the request that filled the cache. Selecting this field disables aggregation, so rows are returned individually (each kee… |
| `datasource` | Data Source | `TEXT` | The name of the Windsor connector returning the row |
| `day_of_month` | Day of month | `TEXT` | Day of the month |
| `month` | Month | `TEXT` | Number of the month |
| `now` | Now | `TIMESTAMP` | Current timestamp |
| `today` | Today | `DATE` | Today's date |
| `week` | Week | `TEXT` | Week (Sun-Sat). |
| `week_day` | Day of week and day number | `TEXT` | Weekday number and name combined (Sun-Sat).Numbered from 0 Sunday to 6 Saturday. |
| `week_day_iso` | Day of week and day number, ISO | `TEXT` | Weekday number and name combined, ISO format (Mon-Sun).Numbered from 1 Monday to 7 |
| `week_iso` | Week ISO | `TEXT` | Week, ISO format (Mon-Sun). |
| `year` | Year | `TEXT` | Year |
| `year_month` | Yearmonth | `TEXT` | Year and month, e.g. 2024\|3 |
| `year_month_name` | Year month name | `TEXT` | Year and month with the month name written out, e.g. "Jan 2025". |
| `year_of_week` | Year of week | `TEXT` | The year that contains first day of the week (Sun-Sat). |
| `year_of_week_iso` | Year of week, ISO | `TEXT` | The year that contains first day of the ISO week (Mon-Sun). |
| `year_week` | Year week | `TEXT` | Year and week for US weeks (Sun-Sat), e.g. 2024\|15 |
| `year_week_iso` | Year week ISO | `TEXT` | Year and week for ISO weeks (Mon-Sun), e.g. 2024\|20 |
