GET
/
public
/
v1
/
reporting-service
/
marketplace
Get Marketplace Report
curl --request GET \
  --url https://api.topsort.com/public/v1/reporting-service/marketplace \
  --header 'Authorization: Bearer <token>'
{
  "clicks": {
    "adSpent": 123,
    "adSpentDecimal": "<string>",
    "charged": 123,
    "total": 123
  },
  "impressions": {
    "adSpent": 123,
    "adSpentDecimal": "<string>",
    "charged": 123,
    "total": 123
  },
  "purchases": {
    "amount": 123,
    "count": 123,
    "countByProduct": {},
    "quantity": 123
  }
}

Authorizations

Authorization
string
header
required

A valid API key generated in Topsort's UI.

Query Parameters

start_date
string<date>
required

The start date for which reports will be generated.

end_date
string<date>
required

The end date for which reports will be generated.

Response

Successful Response

Clicks, impressions and purchases attributed to this report item so far.

clicks
object
required

How many clicks are attributed to this report item.

impressions
object
required

How many impressions are attributed to this report item.

purchases
object
required

How many purchases are attributed to this report item.