API overview
Production base URL:
https://api.ynoad.com
Dashboard routes live under /v1. Auth session handlers also exist under /api/auth.
For the interactive catalog (OpenAPI 3.1), open the API reference.
| Document | Purpose |
|---|---|
| Authentication | Session cookie, WordPress token, partner key |
| Analytics | Impressions, clicks, breakdowns, exports |
| Partner API | Buyer inventory catalog |
| WordPress API | Plugin integration endpoints |
Response envelope
JSON endpoints return:
{
"data": {},
"error": null
}
On failure:
{
"data": null,
"error": {
"code": "UNAUTHORIZED",
"message": "Authentication required"
}
}
Typical status codes: 200, 400, 401, 403, 404, 409, 429.
Resource model
Organization
├── Websites (projects)
│ └── Ad Slots (placements)
│ └── Ad units (slot ↔ ad links)
├── Campaigns
│ └── Ads
├── Ad library
├── Segments, Audience lists, deals, schedules
├── Yield settings (header bidding / auction mode)
├── Pricing rules (dynamic floors)
├── Revenue imports
├── Marketing reports & report schedules
└── Partner API keys
Authenticated product APIs also cover insights, campaign pacing, traffic forecast, and yield/pricing configuration under the organization. There are no dedicated routes such as /ads/:id/impressions. Use analytics with filters and breakdown.
Versioning
The HTTP API is versioned by path prefix: /v1. The OpenAPI document’s info.version tracks the published contract.
Public unauthenticated routes
| Method | Path | Notes |
|---|---|---|
GET | /health | Service health |
GET | /v1/ping | Liveness |
GET | /sellers.json | IAB sellers catalog (supply chain); linked from Header Bidding & Yield |
POST | /v1/auth/register | Account signup |
POST | /v1/auth/login | Login |
ALL | /api/auth, /api/auth/* | Session auth handlers |