curl --request GET \
--url https://api.topsort.com/public/v1/reporting-service/campaigns/{campaign-id}/products
{
"hasMore": true,
"nextPage": "SSBzb2xlbW5seSBzd2VhciB0aGF0IEkgYW0gdXAgdG8gbm8gZ29vZAo=",
"reports": [
{
"adSpend": 1,
"chargedClicks": 1,
"chargedImpressions": 1,
"clicks": 1,
"conversionRate": 123,
"cpc": 123,
"ctr": 123,
"impressions": 1,
"productId": "<string>",
"purchaseCount": 1,
"purchaseRevenue": 1,
"roas": 123
}
]
}
Endpoint to get a campaign’s total behavioral summary report, divided by products, between given dates.
curl --request GET \
--url https://api.topsort.com/public/v1/reporting-service/campaigns/{campaign-id}/products
{
"hasMore": true,
"nextPage": "SSBzb2xlbW5seSBzd2VhciB0aGF0IEkgYW0gdXAgdG8gbm8gZ29vZAo=",
"reports": [
{
"adSpend": 1,
"chargedClicks": 1,
"chargedImpressions": 1,
"clicks": 1,
"conversionRate": 123,
"cpc": 123,
"ctr": 123,
"impressions": 1,
"productId": "<string>",
"purchaseCount": 1,
"purchaseRevenue": 1,
"roas": 123
}
]
}
The ID of the campaign.
The pagination limit.
0 <= x <= 100
Pagination cursor as provided in an earlier response. If provided will fetch the next page of results.
The start date for which reports will be generated.
The end date for which reports will be generated.
Successful Response
The response is of type object
.