Skip to Content
TrackCrest Docs

Advertiser API

Every endpoint under /api/v1/advertiser. Use a pk_adv_ key.

Account

EndpointWhat it does
GET /api/v1/advertiser/meYour profile, the network's name and currency, and its reversal rules.
GET /api/v1/advertiser/integrationYour postback URL template, its parameters, and pixel and script snippets for your thank-you page.

Conversions

EndpointWhat it does
POST /api/v1/advertiser/conversionsReport a conversion server to server: clickId (required), event, amount, currency, orderId, sub1–sub5. Same rules as the /p postback; a repeat (same orderId, or same click and event) returns 409 with the original.
GET /api/v1/advertiser/conversionsYour conversions, newest first, cursor-paged: status, offer, event, revenue, country, your orderId. Up to 93 days (default 7).
POST /api/v1/advertiser/conversions/batchUp to 500 conversions in one call. Each item gets its own result: created, duplicate or error.
POST /api/v1/advertiser/conversions/{id}/reverseReverse a conversion (chargeback, refund) with a reason, within the network's window (see /me). 200 when applied at once; 202 when it waits for the network's review.
GET /api/v1/advertiser/reversalsYour reversals and their status: pending, applied or denied.

Invoices

EndpointWhat it does
GET /api/v1/advertiser/invoicesInvoices the network issued to you. Filter: status.
GET /api/v1/advertiser/invoices/{publicId}One invoice with its lines.
GET /api/v1/advertiser/invoices/{publicId}/pdfThe invoice as a PDF.

Offers

EndpointWhat it does
GET /api/v1/advertiser/offersYour offers: status, revenue model and amount, caps, targeting, landing URL. Filters: status, q.
GET /api/v1/advertiser/offers/{publicId}One offer with its conversion events and the revenue for each.

Reports

EndpointWhat it does
GET /api/v1/advertiser/reports/summaryClicks, conversions, CR and revenue. groupBy: up to 3 of day, offer, country, event.

Webhooks

EndpointWhat it does
GET /api/v1/advertiser/webhooksWebhook subscriptions.
POST /api/v1/advertiser/webhooksSubscribe a URL to events. The signing secret is returned once: verify X-Signature (t=<unix>,v1=<hex HMAC-SHA256 of "t.body">) on every delivery.
DELETE /api/v1/advertiser/webhooks/{publicId}Unsubscribe. Deliveries still queued are dropped.
POST /api/v1/advertiser/webhooks/{publicId}/testSend a webhook.test event now and see what the endpoint answered.
GET /api/v1/advertiser/webhooks/{publicId}/deliveriesRecent deliveries: status, attempts, the endpoint's last answer and the next retry.

On this page