Click
An affiliate's click
The Click type does not expose an id field, even though clicks(id: …) accepts one
as a filter. Use before and after to page through clicks.
Fields
| Field | Type | Availability | Notes |
|---|---|---|---|
sub_id | String | The subid value carried on the tracking link, if the affiliate set one. | |
created | String | Unix timestamp in seconds, not an ISO 8601 date. Sourced from the click's entry time. | |
referer | String | The page the shopper came from, as reported by the browser. | |
landed_url | String | The URL the shopper landed on after following the link. | |
affiliate_id | Int! | The affiliate the record belongs to. | |
creative_id | Int | The creative the click came from. | |
affiliates | Affiliate | ||
shop | Shop | ||
offer | Offer | ||
creative | Creative | ||
conversions | [Conversion] | Takes arguments — see below. |
Sorting
sort accepts id, created, subid on this type, and sorts descending.
Any other value is ignored without an error.
Field arguments
conversions
| Argument | Type | Notes |
|---|---|---|
id | ID | Returns only the record with this id. |
status | String | Exact match. The returned type lists the values that can appear. |
type | String | Exact match. The returned type lists the values that can appear. |
created_from | Int | Unix timestamp in seconds. Exclusive — matches rows created strictly after it. |
created_to | Int | Unix timestamp in seconds. Inclusive — matches rows created at or before it. |
payment_status | String | Pass UNPAID for records not yet in a payment. Any other value matches records that are already in one. |
affiliate_id | ID | Returns only records belonging to this affiliate. |
offer_id | ID | Returns only records tied to this offer. |
sort | String | Field to sort by, descending. Each type accepts its own short list — see Sorting on the returned type's page. Anything else is ignored without an error. |
limit | Int | Rows to return. Anything outside 1–200 is replaced by 200. |
before | ID | Returns only rows with an id lower than this. Cursor-style paging. |
after | ID | Returns only rows with an id higher than this. Cursor-style paging. |
offset | Int | Rows to skip before returning results. |
Referenced by
Related
- Queries — the root fields that reach this type.
- Filtering and Sorting — how arguments behave.