Adgora
Help articlesAPI reference
Developers

API reference

REST API v1: authentication, stats, campaigns, balance and zones, plus S2S conversion postbacks and macros.

1 min read

The Adgora REST API lets you read stats, list and pause campaigns, check balances and list zones programmatically. Base URL: https://api.adgora.net. All responses are JSON.

Authentication

Create a key pair in your profile (the secret is shown once). Send it on every /v1 request:

http
Authorization: Bearer {public_key}:{secret}

Requests are rate-limited to 120 per minute per account; over the limit returns 429 with a Retry-After header. Keys carry scopes (stats, campaigns, balance, zones); a missing scope returns 403.

Endpoints

Method & pathScopeReturns
GET /v1/balancebalanceadvertiser & publisher USD balances
GET /v1/stats?days=7statsdaily rows (add role=publisher for the publisher view)
GET /v1/campaignscampaignsyour campaigns
POST /v1/campaigns/{id}/pausecampaignspauses a campaign
POST /v1/campaigns/{id}/resumecampaignsresumes a campaign
GET /v1/zoneszonesyour publisher zones

Example

curl
curl -H "Authorization: Bearer PUBLICKEY:SECRET" \
  "https://api.adgora.net/v1/stats?days=30"

S2S conversion postback

To track CPA conversions, call the postback URL from your advertiser's server when a conversion happens. The {clickid} macro is passed to your landing page on the click URL — capture it and send it back:

url
https://api.adgora.net/s2s?clickid={clickid}&status=confirmed&secret=YOUR_OFFER_SECRET&order_ref=ORDER123

status may be confirmed, delivered, rejected or returned; order_ref is your optional order id. Find the offer secret on the offer page.

Landing URL macros

Add these to a creative's landing URL — Adgora substitutes them at click time:

{ }
{clickid} {zoneid} {campaignid} {creativeid} {geo} {country} {device} {sub1}…{sub5}
Request builder

Build a request

Pick an endpoint and parameters — the command updates as you go. Keys stay placeholders: never paste a secret into a web page.

Role
curl
curl -H "Authorization: Bearer PUBLICKEY:SECRET" "https://api.adgora.net/v1/balance"
Support

Still stuck? A person will answer

The support desk handles campaigns, sites, deposits and payouts. Write from your account email; for a payment, add the transaction hash — it saves a round of questions.

Free tools

Calculators and checkers that run in your browser — no account.

Glossary

Plain definitions of CPM, eCPM, fill rate and the rest.

Ready to get started?

Create a free account and put this into practice — advertiser, publisher, or both.

What this page answers