Campaigns
List the campaigns your key can access.
List campaigns
GET /api/v1/campaigns| Parameter | Description |
|---|---|
status | e.g. active, paused, pending or archived |
q | Search by name, ID, category or objective |
advertiser_id | Only this advertiser's campaigns |
visibility | e.g. public or private |
limit, page, offset | Pagination |
Newest campaigns come first.
curl "https://app.affilinext.com/api/v1/campaigns?status=active&limit=100" \
-H "Authorization: Bearer ak_your_key"What you get back
| Key type | Campaigns returned |
|---|---|
| Publisher | Non-private campaigns you're allowed to run. payout and payoutType reflect your terms, including any custom rate set for you. Advertiser revenue and the advertiser's offer URL are not included. |
| Advertiser | Your own campaigns |
| Admin | All campaigns, with every field |
Campaigns whose advertiser is inactive aren't returned to partner keys.
Useful fields: id, name, status, category, payout, payoutType (cpa, revshare or hybrid), currency, createdAt.
Was this article helpful?
Thanks for the feedback. Tell us more