GET
/
public
/
v1
/
offsite-ads
/
reporting
/
campaigns
/
{campaign-id}
curl --request GET \
  --url https://api.topsort.com/public/v1/offsite-ads/reporting/campaigns/{campaign-id}
{
  "clicks": {
    "adSpent": 123,
    "charged": 123,
    "total": 123
  },
  "impressions": {
    "adSpent": 123,
    "charged": 123,
    "total": 123
  },
  "purchases": {
    "amount": 123,
    "count": 123,
    "countByProduct": {},
    "quantity": 123
  }
}

Path Parameters

campaign-id
string
required

The ID of the campaign to get the report for.

Query Parameters

vendor_id
string
required

The ID of the vendor to get the campaign report for.

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

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