curl --request GET \
--url https://api.topsort.com/public/v1/offsite-ads/reporting/campaigns/{campaign-id}/daily
{
"hasMore": true,
"nextPage": "SSBzb2xlbW5seSBzd2VhciB0aGF0IEkgYW0gdXAgdG8gbm8gZ29vZAo=",
"reports": [
{
"clicks": {
"adSpent": 123,
"charged": 123,
"total": 123
},
"date": "2023-12-25",
"impressions": {
"adSpent": 123,
"charged": 123,
"total": 123
},
"purchases": {
"amount": 123,
"count": 123,
"countByProduct": {},
"quantity": 123
}
}
]
}
Get campaign daily report.
curl --request GET \
--url https://api.topsort.com/public/v1/offsite-ads/reporting/campaigns/{campaign-id}/daily
{
"hasMore": true,
"nextPage": "SSBzb2xlbW5seSBzd2VhciB0aGF0IEkgYW0gdXAgdG8gbm8gZ29vZAo=",
"reports": [
{
"clicks": {
"adSpent": 123,
"charged": 123,
"total": 123
},
"date": "2023-12-25",
"impressions": {
"adSpent": 123,
"charged": 123,
"total": 123
},
"purchases": {
"amount": 123,
"count": 123,
"countByProduct": {},
"quantity": 123
}
}
]
}
The ID of the campaign to get the daily report for.
The ID of the vendor to get the daily report for.
The start date for which reports will be generated.
The end date for which reports will be generated.
The pagination limit.
0 <= x <= 365
Pagination cursor as provided in an earlier response. If provided will fetch the next page of results.
Successful Response
The response is of type object
.