curl --request GET \
--url https://api.topsort.com/public/v1/reporting-service/marketplace \
--header 'Authorization: Bearer <token>'{
"impressions": {
"total": 123,
"charged": 123,
"adSpent": 123,
"adSpentDecimal": "<string>"
},
"clicks": {
"total": 123,
"charged": 123,
"adSpent": 123,
"adSpentDecimal": "<string>"
},
"purchases": {
"amount": 123,
"count": 123,
"quantity": 123,
"countByProduct": {}
}
}Endpoint to get a marketplace’s total behavioral summary report between given dates.
curl --request GET \
--url https://api.topsort.com/public/v1/reporting-service/marketplace \
--header 'Authorization: Bearer <token>'{
"impressions": {
"total": 123,
"charged": 123,
"adSpent": 123,
"adSpentDecimal": "<string>"
},
"clicks": {
"total": 123,
"charged": 123,
"adSpent": 123,
"adSpentDecimal": "<string>"
},
"purchases": {
"amount": 123,
"count": 123,
"quantity": 123,
"countByProduct": {}
}
}A valid API key generated in Topsort's UI.
The start date for which reports will be generated. The start date for which reports will be generated.
The end date for which reports will be generated. The end date for which reports will be generated.
Successful Response
Clicks, impressions and purchases attributed to this report item so far.
How many impressions are attributed to this report item.
Show child attributes
Total number of events.
Number of charged events.
Ad spent over a period of time, in minor units of currency according to ISO 4217.
Ad spent over a period of time.
How many clicks are attributed to this report item.
Show child attributes
Total number of events.
Number of charged events.
Ad spent over a period of time, in minor units of currency according to ISO 4217.
Ad spent over a period of time.
How many purchases are attributed to this report item.
Show child attributes
Amount of money made by purchases over a period of time, in minor units of currency according to ISO 4217.
Amount of purchase events.
Amount of items purchased.
Was this page helpful?