Reporting API
Get Campaign Report
Auction examples
- Running auctions
- Sponsored listings
- Sponsored banners
- Sponsored brands
Asset examples
Webhook examples
Toptimize
Assets API
Billing API
- GETGet Billing Contacts
- GETGet Billing Contact
- PUTUpsert Billing Contact
- GETGet Campaign Billing Contact
- PUTUpsert Campaign Billing Contact
- GETGet Marketplace Credit Limit
- POSTSet Marketplace Credit Limit
- PUTUpsert Vendor Billing Contact
- GETGet Vendor Charges
- GETGet Vendor Account Activity
- GETGet Vendor Balance
- POSTAdd Vendor Balance
- POSTBurn Vendor Balance
- GETGet Vendor Credit History
- GETGet Vendor Credit Limit
- POSTSet Vendor Credit Limit
- DELDelete Vendor Billing Contact
- GETGet Vendor Wallets
- POSTCreate Wallet
- POSTAdjust Wallet Balance
Campaign API
- GETGet Campaigns
- POSTCreate Campaign
- GETGet Campaign By Id
- DELDelete Campaign By Id
- PATCHUpdate Campaign By Id
- GETGet Campaign Bids
- POSTCreate Campaign Bids
- DELDelete Campaign Bid By Id
- PATCHUpdate Campaign Bid By Id
- POST[BETA] Get estimated clicks of a future campaign for a given vendor
- GETGet Products In Campaign
- GETGet Sponsored Products
Catalog API
Invitation API
Modal API
Reporting API
- GETGet Campaign Report
- GETGet Campaign Daily Report
- GETGet Campaign Report By Product
- GETGet Product Report
- GETGet Product Daily Report
- GETGet Marketplace Interactions Report
- GETGet Marketplace Report
- GETGet Marketplace Campaigns Kpis
- GETGet Marketplace Daily Report
- GETGet Marketplace Vendors Kpis
- GETGet Vendor Report
- GETGet Vendor Daily Report
Segments Service
Toppie API
- GET[BETA] Get Agency Account Balance
- GET[BETA] Get Agency Account Top-ups
- GET[BETA] Get Toppie Campaigns
- POST[BETA] Create Toppie Campaign
- GET[BETA] Get Toppie Campaign Details
- PATCH[BETA] Update Toppie Campaign
- GET[BETA] Get Toppie Campaign Bids
- GETList Account Products
- GETGet Agency Account Report
- GETGet Agency Account Activity
- GETGet Agency Account Campaigns
- GETGet Account Campaigns By Ids
- GETGet Agency Campaign Report
- GETGet Campaign Report Per Product
Reporting API
Get Campaign Report
Endpoint to get a campaign’s total behavioral summary report between given dates.
GET
/
public
/
v1
/
reporting-service
/
campaigns
/
{campaign-id}
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
}
}
Path Parameters
The ID of the campaign.
Query Parameters
The start date for which reports will be generated.
The end date for which reports will be generated.
Response
200
application/json
Successful Response
Auctions information attributed to this report item in addition to normal report data.
How many auctions are attributed to this report item.
How many purchases are attributed to this report item.
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.
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
}
}