Ad Network API

Everything the interface does, the API does too. Campaigns, creatives, targeting, statistics, retargeting audiences and postbacks are all reachable over HTTP, with 159 endpoints behind one token.

Live reference
advert-cabinet.youtarget.com
GET /campaigns/simple
Authorization: <your token>
200 OK

{
  "items": [
    {
      "id": 41207,
      "name": "Push DE nutra",
      "payment_model": "cpc",
      "cost": 0.021
    }
  ]
}

Base URL and authentication

Every request goes to one host and carries a token in the Authorization header. You get the token by exchanging the credentials you already use for the interface, and the same account limits apply to it.

Base URL
https://advert-cabinet.youtarget.com/api/v2
Auth header
Authorization: <your token>
Live reference
/api/v2/docs/

Three requests that cover most of the work

Get a token

Exchange your account credentials for a token. Everything else carries it in the Authorization header.

POST /user/token
Content-Type: application/json

{
  "email": "[email protected]",
  "password": "…"
}
200 OK

{
  "user_id": 1042,
  "token": "…"
}

Pull a statistics report

The same report the interface shows. Filter by advertiser, campaign, creative, connection type or language, and read totals from summary.

POST /stat/report
Authorization: <your token>

{
  "date_from": "2026-08-01",
  "date_to": "2026-08-03",
  "timezone": 0,
  "campaign_ids": [8123, 8124]
}
200 OK

{
  "items": [ … ],
  "summary": { … }
}

Build a retargeting audience

An audience is collected from a campaign or from a pixel. Interval sets how far back the membership window reaches.

POST /audiences
Authorization: <your token>

{
  "name": "Visited pricing, 30 days",
  "source_type": "pixel",
  "source_id": 317,
  "interval": 30
}
201 Created

{
  "id": 4471
}

What the API covers

Counted from the live specification on 3 August 2026.

  • Creatives47 endpointsCreate and update push, native, banner, video and popunder creatives, set costs and URLs in bulk, move them through moderation.
  • Campaigns30 endpointsCreate, update and copy campaigns, set targeting, limits, microbidding and selective coefficients per zone.
  • Dictionaries24 endpointsGeos, device types, brands, operating systems, browsers, connection types, carriers, IAB taxonomy and brand suitability.
  • Advertisers and users19 endpointsAccounts, limits and access, which is what an agency needs to keep clients apart.
  • Statistics9 endpointsFlat and nested reports, plus CSV and Excel export of either.
  • Retargeting8 endpointsAudiences and pixels, and the events a pixel can collect.
  • Conversions8 endpointsPostback integrations and the events they carry back.
  • Filters7 endpointsBlocklists and allowlists, attached per campaign or applied across an account.

How errors come back

A rejected request returns the same shape everywhere: a message, a machine-readable code, and an errors object naming the fields that failed. Read the field names rather than the message, because the message is written for a person and the code is written for your integration.

400 Bad Request

{
  "message": "Validation error",
  "code": "validation_error",
  "errors": {
    "ad_format": [
      { "msg": "Input should be 'native', 'push', 'pop', 'banner' or 'video'" }
    ]
  }
}

Ad network API: frequently asked questions

No. The token is issued against the account you already have, so an account that can run campaigns in the interface can run them over the API.

There is no separate sandbox host. Test against a campaign with a small budget and a strict frequency cap, which costs a few dollars and exercises the same code path as production.

Not through this API. It manages campaigns, creatives, targeting and reporting, while per-impression bidding happens inside the platform's own bidder. For an OpenRTB integration on your side, the RTB page describes what we connect to.

Nothing that matters for running campaigns. The interface is a client of the same endpoints, which is why the counts here come from the specification rather than from a feature list.

The live specification is served at /api/v2/docs/ and is generated from the running service, so it is accurate on the day you read it rather than on the day someone last edited a page.

Start buying traffic on Youtarget

Register, top up the account and launch a campaign yourself: no sales call, no contract negotiation and no minimum monthly spend.

RTB Partners