One ad API.
Every conversational AI network.

AdsRouter is a conversational AI ad server and non-custodied mediation layer. Serve direct-sold sponsorships, AdsRouter Network demand, house promos, and third-party networks — Gravity, Thrad, Koah, and Velocity — through one REST API.

Mediated demand sources
Direct-Sold 1st-party AdsRouter Network Native Gravity S2S Thrad S2S Velocity S2S Koah Client Bridge House Fallback
# One REST call for every demand source
curl -X POST https://api.adsrouter.ai/v1/ad \
  -H "Authorization: Bearer ar_sec_..." \
  -H "Content-Type: application/json" \
  -d '{
    "placement": "chat_below_answer",
    "messages": [
      {"role": "user", "content": "Best running shoes for flat feet?"},
      {"role": "assistant", "content": "Look for stability trainers..."}
    ],
    "user": { "pub_user_id": "usr_94a1" },
    "device": { "ip": "203.0.113.42", "ua": "Mozilla/5.0 ..." }
  }'

# Canonical response with first-party cloaked tracking
{
  "request_id": "req_01J...",
  "filled": true,
  "render_mode": "creative",
  "source": "gravity",
  "ad": {
    "headline": "Stability runners built for long miles",
    "cta": "Shop now",
    "click_url": "https://api.adsrouter.ai/v1/click/imp_01J...",
    "impression_beacon_url": "https://api.adsrouter.ai/v1/imp/imp_01J..."
  }
}
Zero-friction integration

Point your AI coding agent at https://adsrouter.ai/llms-full.txt

Every endpoint, auth header, JSON schema, Koah client-SDK bridge recipe, and beacon rule in one self-contained manual.

Open llms-full.txt OpenAPI 3.1
How it works

Integrate once. Control every impression.

01

Create a property

Register your AI chat app, web widget, or mobile app. Get a public ar_pub_ key and a write-once ar_sec_ secret.

02

Connect demand

Paste your own API keys for Gravity, Thrad, Koah, and Velocity — encrypted with AES-256-GCM — and add direct-sold or house campaigns.

03

Configure routing

Set a priority waterfall (Direct → Network → 3rd-party → House) or deterministic seeded traffic splits per property and placement.

04

Serve & measure

Call POST /v1/ad. Fire our first-party cloaked impression beacon and click URL — we handle viewability, upstream forwarding, and caps.

Non-custodied mediation

Bring your own keys. Keep 100% of your network payouts.

AdsRouter never sits in the middle of your third-party publisher payouts. You bring your own Gravity, Thrad, Koah, and Velocity credentials, keep your direct relationship with each network, and switch weights or failover order from the dashboard without touching code.

S2S Unified Adapters

Gravity, Thrad, and Velocity run server-to-server with automatic schema normalization, timeouts, and zero-throw failover.

Koah Client-SDK Bridge

Because Koah is client-SDK-only, AdsRouter returns a structured client_sdk directive that our tiny browser helper executes and reports back.

Cloaked First-Party Tracking

Every S2S ad returns api.adsrouter.ai/v1/imp/:id and /v1/click/:id — recording viewability and clicks before 302-forwarding upstream.

Priority or Seeded Split

Run strict priority waterfalls or deterministic weighted splits per property and placement, with automatic failover on no-fill or timeout.

Full-featured ad server

Direct-sold sponsorships, house promos, and native demand — built in.

Stop cobbling together spreadsheets and hardcoded banners when a sponsor buys your chat placement. AdsRouter includes a production decisioning engine out of the box.

Contextual & Device Targeting

Target by property, placement, GeoIP country, device type (mobile/tablet/desktop), platform (ios/android/web), OS, and include/exclude conversation keywords.

Pacing & IANA Dayparting

Run even_pacing across flight dates with burst smoothing, traffic_pct sampling, or asap delivery — combined with IANA timezone day-of-week and hour windows.

Tiered Frequency Capping

Enforce hourly, daily, and rolling-window caps by MAID (IDFA/GAID) → pub_user_id → sha256(ip|ua|lang), counting viewed impressions plus a 10-minute in-flight reservation.

FAQ

Common questions

No. Third-party mediation is strictly non-custodied (BYOK). You paste your own publisher credentials, stay billed directly by each ad network, and keep 100% of your payouts from them.

Yes. AdsRouter is a sister product to FreeRouter by Multify Inc. and shares the same passwordless email OTP authentication and workspaces.

When your waterfall selects Koah, POST /v1/ad returns render_mode: "client_sdk" with the Koah script URL, validated slot config, conversation question/answer context, and an event_beacon_url. Our zero-dependency adsrouter-client.js helper executes window.koah.requestAd() in the browser and reports fill/no-fill telemetry back to AdsRouter.

POST /v1/ad never throws or returns 5xx on upstream misses. It returns HTTP 200 with {"filled": false, "render_mode": "none", "ad": null} so your chat UI can cleanly skip rendering an ad slot (or fall back to a house campaign you configure at the bottom of your waterfall).
Start in five minutes

Monetize your AI app without vendor lock-in.

Create a property, connect your ad networks or direct sponsors, and ship one REST call.