Skip to main content

/statistics

Article how to get all your statistics

S
Written by Sascha Hoffmann
Updated today

Simple REST API to get all your statistics and transactions programmatically.

Authorization

For your authorization, you need a token. In order to receive a token please read advanced API - Get an access token.

Endpoints

/statistics

Get a list of all statistics parameter.

* HTTP GET 
* Querystring
* page: number
* pageSize: number (page size)
* groupBy: day | month | year | programs | sites
* startDate: string (YYYY-MM-DD)
* endDate: string (YYYY-MM-DD)
* sites?: number | number[]
* programs?: number | number[]

Example request:
โ€‹

Header:
"authorization: Bearer ACCESS_TOKEN",
"content-type: application/vnd.api+jsonโ€œ

https://api.advanced-store.com/publishers/statistics/1.0/?page=1&pageSize=51&startDate=2026-03-27&endDate=2026-03-27&groupBy=(day,programs)


โ€‹

Example response:
โ€‹

{
"totalEntries": 3121,
"currentPage": 1,
"totalPageCount": 62,
"data": [
{
"groupBy": [
{
"id": "2026-03-27",
"name": "Friday",
"type": "DAY"
},
{
"id": "programID",
"name": "programName",
"type": "program"
}
],
"totalImpressions": 1,
"totalClicks": 1,
"ctr": 1,
"date": 1774569600000
}
]
}

Did this answer your question?