Do you want to buy traffic using OpenRTB protocol but don't know how to do it? Then this article is for you! We will explain how to set up your own OpenRTB-endpoints in order to buy traffic using OpenRTB from a 3rd-party adserver. If you need to sell traffic using OpenRTB protocol, you might want to check out this article.

Currently, Adserver.Online supports OpenRTB v2.4 protocol for Direct Link, Banners, and VAST ad formats.

Before you start, we kindly recommend you examine the specification of OpenRTB protocol. It will help you to understand how it works in general and what the terminology is in use.

How to configure

First of all, it's necessary to check if you have enabled server tag mode for a particular zone in its Advanced options. Otherwise feeds won't be working.

buy traffic using openRTB - adserver.online

After that, you will find the OpenRTB endpoint available on the zone page.

buy traffic using openRTB - adserver.online

Reports

An ad network/ad exchange that sells traffic, may ask you to provide a special report. Adserver.Online has a report based on imp.tagid OpenRTB tag. You should use this API method in order to build a report.

How to buy traffic using OpenRTB – examples

IMPORTANT: OpenRTB endpoints are not regular links, so they will not work in a web browser if you try to open them like that. It's likely you will get an error. So instead of that, you need to use a special tool like Postman to make POST requests to the endpoint.

Direct link example

This is how an endpoint looks like:

https://srv.aso1.net/rtb/bidder?zid=34921

An example of a request:

{
     "id": "8b424a6120ce11e990d90242ac110004",
     "imp": [
         {
             "id": "1",
             "tagid": "ce113e9690d1"
         }
     ],
     "site": {
         "domain": "example.com",
         "page": "https://example.com/hello",
         "ref": "https://example.com"
     },
     "device": {
         "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15",
         "geo": {
             "country": "US",
             "region": "South Dakota",
             "city": "Sisseton"
         },
         "ip": "85.253.99.47",
         "os": "mac"
     },
     "user": {
         "id": "e7252cbb0f7898f722b58a768213d8da"
     },
     "at": 1
 }

An example of a response:

{
  "id": "8b424a6120ce11e990d90242ac110004",
  "seatbid": [
    {
      "bid": [
        {
          "id": "87033",
          "impid": "1",
          "price": 1.2345,
          "adm": "https:\/\/track.aso1.net\/link?z=34921&aid=87033&chk=1&ar=1.2345000&page=%2F%2Fexample.com&referrer=%2F%2Fexample.com&rtbImpId=1&rtbTagId=ce113e9690d1&refid=example.com&_t=1581777379&_h=cac14f9df183c7d87e7025cf3b9bb63d7e822a20&r=8848994228",
          "adomain": [
            "adserver.online"
          ],
          "cid": "45592",
          "crid": "87033"
        }
      ]
    }
  ]
}

This article contains enough data on how to buy traffic using OpenRTB and how to set up endpoints. It's a powerful feature that can help you scale up your online business if you use it wisely.

IMPORTANT: If you plan to buy traffic using the OpenRTB protocol, you should be aware that each OpenRTB request generates an ad server request. But that doesn't necessarily mean that each of your OpenRTB requests will result in an impression. And that's inherent to the nature of an auction. When only OpenRTB requests that won the auction, can result in impressions.

Onboarding questions and answers

When you are connecting to a new RTB-partner you might be asked the following questions. We prepared the answers.

Q: What is the max RPS (Requests Per Second)?

A: We recommend answering 100 RPS despite the fact we support much more than that. This limit can be increased at any time. But in the beginning, it will save you money since our pricing is based on requests amount.

Q: Can you control RPS on your side?
A: No.

Q: Where're your RTB servers located?
A: Europe

Q: Do you place a bid per single impression or 1000 impressions (CPM)?
A: Per 1000 impressions

Q: Can you provide request and response examples?
A: Direct link request and response. For other formats, we follow this specification.