Advertiser API
Every endpoint under /api/v1/advertiser. Use a pk_adv_ key.
Account
| Endpoint | What it does |
|---|---|
GET /api/v1/advertiser/me | Your profile, the network's name and currency, and its reversal rules. |
GET /api/v1/advertiser/integration | Your postback URL template, its parameters, and pixel and script snippets for your thank-you page. |
Conversions
| Endpoint | What it does |
|---|---|
POST /api/v1/advertiser/conversions | Report 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/conversions | Your conversions, newest first, cursor-paged: status, offer, event, revenue, country, your orderId. Up to 93 days (default 7). |
POST /api/v1/advertiser/conversions/batch | Up to 500 conversions in one call. Each item gets its own result: created, duplicate or error. |
POST /api/v1/advertiser/conversions/{id}/reverse | Reverse 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/reversals | Your reversals and their status: pending, applied or denied. |
Invoices
| Endpoint | What it does |
|---|---|
GET /api/v1/advertiser/invoices | Invoices the network issued to you. Filter: status. |
GET /api/v1/advertiser/invoices/{publicId} | One invoice with its lines. |
GET /api/v1/advertiser/invoices/{publicId}/pdf | The invoice as a PDF. |
Offers
| Endpoint | What it does |
|---|---|
GET /api/v1/advertiser/offers | Your 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
| Endpoint | What it does |
|---|---|
GET /api/v1/advertiser/reports/summary | Clicks, conversions, CR and revenue. groupBy: up to 3 of day, offer, country, event. |
Webhooks
| Endpoint | What it does |
|---|---|
GET /api/v1/advertiser/webhooks | Webhook subscriptions. |
POST /api/v1/advertiser/webhooks | Subscribe 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}/test | Send a webhook.test event now and see what the endpoint answered. |
GET /api/v1/advertiser/webhooks/{publicId}/deliveries | Recent deliveries: status, attempts, the endpoint's last answer and the next retry. |