curl --request GET \
--url https://api.topsort.com/public/v1/toppie/reporting \
--header 'Authorization: Bearer <token>'{
"reports": [
{
"adSpend": 1,
"cpc": 123,
"ctr": 123,
"conversionRate": 123,
"impressions": 1,
"chargedImpressions": 1,
"clicks": 1,
"chargedClicks": 1,
"purchaseCount": 1,
"purchaseRevenue": 1,
"roas": 123,
"timegroup": "2023-12-25"
}
]
}Retrieve a general report for an account.
curl --request GET \
--url https://api.topsort.com/public/v1/toppie/reporting \
--header 'Authorization: Bearer <token>'{
"reports": [
{
"adSpend": 1,
"cpc": 123,
"ctr": 123,
"conversionRate": 123,
"impressions": 1,
"chargedImpressions": 1,
"clicks": 1,
"chargedClicks": 1,
"purchaseCount": 1,
"purchaseRevenue": 1,
"roas": 123,
"timegroup": "2023-12-25"
}
]
}A valid API key generated in Topsort's UI.
The start date for which reports will be generated.
The end date for which reports will be generated.
Successful Response
Show child attributes
Amount spent on ads during the selected period in minor units of currency.
x >= 0Average cost per click during the selected period.
The click through rate during the selected period.
The conversion rate during the selected period.
Number of impressions during the selected period.
x >= 0Amount of charged impressions during the selected period.
x >= 0Number of clicks during the selected period.
x >= 0Amount of charged clicks during the selected period.
x >= 0Number of purchases during the selected period.
x >= 0Revenue from promoted sales during the selected period in minor units of currency.
x >= 0The return on ad spend during the selected period.
Timegroup for the Kpis.
Was this page helpful?