- 16 Jul 2024
- DarkLight
Fetch list of transaction queries for a given publisher
- Updated on 16 Jul 2024
- DarkLight
GET transaction queries (list)
Publishers can pull individual transaction queries, to check the status of the transaction query, create own reports, and pull additional information that can be shared between publishers and advertisers via clickref (from publisher to advertiser).
Who can use it
Publishers
accessToken
publisherId
A list of advertiser ids. 708226738,708226739,708226740...
A list of click refs. clickRef1,clickRef2,clickRef3...
The date field to search date times on. If not supplied will default to transactionDate
end date
The page number to return. Defaults to 1 if not supplied
The number of results per page. Defaults to 100 if not supplied
start date
A list of transaction query statuses to search for
Further details on query parameter
Please note: the maximum date range between startDate and endDate currently supported is 31 days.
Parameter | Format | Mandatory/optional | Data Type |
startDate | yyyy-MM-ddThh:mm:ss | mandatory | date-time |
endDate | yyyy-MM-ddThh:mm:ss | mandatory | date-time |
dateType | enquiryDate transactionDate validationDate | optional (falls back to "transactionDate" if not set) | string |
timezone | Europe/Berlin Europe/Paris Europe/London Europe/Dublin Canada/Eastern Canada/Central Canada/Mountain Canada/Pacific US/Eastern US/Central US/Mountain US/Pacific UTC | mandatory | string |
publisherId | 12345 | mandatory | integer(64) |
advertiserId | 12345 or 12345,67890 for multiple ones | optional, available for publishers | array[integer] |
statuses | pending approved declined pending,declined for multiple ones | optional | array[string] |
clickRefs | clickRef1 or clickRef1 (value2),clickRef1 (value3 )for multiple ones | optional | array[string] |
pageNumber | 3 | optional (Defaults to 1 if not supplied) | integer(32) |
pageSize | 20 | optional (Defaults to 100 if not supplied) | integer(32) |
OK
Common Error Messages
Some errors appear when incorrect API values are parsed.
Error Scenario | Error Message |
Start date after end date | endDate cannot be before startDate |
Start date greater than 31days | This endpoint only supports a date range of 31 days. Please adjust your startDate or endDate. |
Using an invalid date type | Wrong data type for parameter 'dateType' |
Using an invalid status type | Wrong data type for parameter 'statuses' |