> For the complete documentation index, see [llms.txt](https://docs.roivenue.com/roivenue-resources/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roivenue.com/roivenue-resources/roivenue-training/roivenue-app/data/connectors-overview/list-of-connectors/cj-affiliate/cj-affiliate-parameters.md).

# CJ Affiliate - Parameters

The query parameters available to a CJ Affiliate connector.

These are the parameters a CJ Affiliate connector's query accepts. The recommended template sets the ones it needs; the rest are only reachable by editing the connector in the Advanced Editor.

Most accounts never touch these. The page exists so that when a connector does need adjusting, what is adjustable is written down. The columns it can return are listed separately on [CJ Affiliate - Supported Columns](/roivenue-resources/roivenue-training/roivenue-app/data/connectors-overview/list-of-connectors/cj-affiliate/cj-affiliate-supported-columns.md).

## Parameters

| Parameter        | Type                                     | Default | What it does                                    |
| ---------------- | ---------------------------------------- | ------- | ----------------------------------------------- |
| `Fields`         | list of required Or\<string, RetElement> |         | Definition of fields to return                  |
| `DateFilterType` | DateFilter                               |         | Property which is used for date-based filtering |
| `Name`           | text                                     |         | Name of the element                             |
| `SubElements`    | list of Or\<string, RetElement>          | \[]     | Definition of sub elements                      |

## DateFilter values

| Value         | Meaning                                                                                          |
| ------------- | ------------------------------------------------------------------------------------------------ |
| `EventDate`   | New preferred date filtering field - the real time when the transaction, or other event happened |
| `PostingDate` | Legacy date filtering option - use when there are problems with ventDate                         |
| `LockingDate` | Allows alternative date filtering by lockingDate                                                 |

{% hint style="danger" %}
A connector edited in the Advanced Editor stops receiving template updates. Roivenue ships improvements by updating the shared template a connector is built from, and only connectors still configured by that template pick those updates up. Once a connector is switched to advanced mode, its query and transformations belong to you.
{% endhint %}
