GET
/
public
/
v1
/
toppie
/
reporting
/
campaigns
/
{campaign-id}
curl --request GET \
  --url https://api.topsort.com/public/v1/toppie/reporting/campaigns/{campaign-id}
{
  "reports": [
    {
      "adSpend": 1,
      "chargedClicks": 1,
      "chargedImpressions": 1,
      "clicks": 1,
      "conversionRate": 123,
      "cpc": 123,
      "ctr": 123,
      "impressions": 1,
      "purchaseCount": 1,
      "purchaseRevenue": 1,
      "roas": 123,
      "timegroup": "2023-12-25"
    }
  ]
}

Path Parameters

campaign-id
string
required

The ID of the campaign.

Query Parameters

start_date
string
required

The start date for which reports will be generated.

end_date
string
required

The end date for which reports will be generated.

Response

200
application/json
Successful Response
reports
object[]
required

Response for analytics kpis.