curl --request GET \
--url https://api.topsort.com/public/v1/reporting-service/campaigns/{campaign-id}
{
"auctions": {
"lost": 123,
"percentageWon": 123,
"won": 123
},
"clicks": {
"adSpent": 123,
"charged": 123,
"total": 123
},
"impressions": {
"adSpent": 123,
"charged": 123,
"total": 123
},
"purchases": {
"amount": 123,
"count": 123,
"countByProduct": {},
"quantity": 123
}
}
Endpoint to get a campaign’s total behavioral summary report between given dates.
curl --request GET \
--url https://api.topsort.com/public/v1/reporting-service/campaigns/{campaign-id}
{
"auctions": {
"lost": 123,
"percentageWon": 123,
"won": 123
},
"clicks": {
"adSpent": 123,
"charged": 123,
"total": 123
},
"impressions": {
"adSpent": 123,
"charged": 123,
"total": 123
},
"purchases": {
"amount": 123,
"count": 123,
"countByProduct": {},
"quantity": 123
}
}
The ID of the campaign.
The start date for which reports will be generated.
The end date for which reports will be generated.
Successful Response
Auctions information attributed to this report item in addition to normal report data.