OpenRTB 2.1 Examples

Document created by pubmatic-archivist on Mar 27, 2017Last modified by catherine.racette on Jun 6, 2017
Version 3Show Document
  • View in full screen mode

Web Request:


{
    "id": "93D3BAD6-E2E2-49FB-9D89-920B1761C865",
    "at": 1,
    "imp": [
        {
            "id": "1",
            "tagid": "42283",
            "banner": {
                "w": 728,
                "h": 90,
                "pos": 1,
                "topframe": 0,
                "battr": [
                    1,
                    2,
                    16
                ]
            }
        }
    ],
    "site": {
        "id": "35170",
        "domain": "http://sitexyz.com",
        "page": "http://sitexyz.com/sample.html",
        "ref": "http://referringsite.com/referringpage.html",
        "publisher": {
            "id": "35169"
        }
    },
    "device": {
        "ip": "64.64.64.64",
        "ua": "Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us)AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341Safari/528.16",
        "carrier": "AT&T Services",
        "language": "en-US,en;q=0.5",
        "make": "Apple",
        "model": "iPhone",
        "os": "iOS",
        "Osv": "3",
        "connectiontype": 2,
        "devicetype": 1,
        "geo": {
            "country": "US",
            "region": "MA",
            "city": "EastLongmeadow",
            "lat": 42.062,
            "lon": -72.498901,
            "zip": "01028",
            "type": 2
        }
    },
    "user": {
        "yob": 2010,
        "gender": "F",
        "keywords": "football,gaming",
        "geo": {
            "region": "MH",
            "city": "PUNE",
            "type": 3
        }
    },
    "badv": [
        "badv.com",
        "badv1.com",
        "badv2.com"
    ]
}

 

App Request:

{
    "id": "FFA957DE-1CE8-4921-9278-4D6B994EEAA6",
    "at": 1,
    "imp": [
        {
            "id": "1",
            "tagid": "42283",
            "banner": {
                "w": 728,
                "h": 90,
                "pos": 1,
                "topframe": 0,
                "battr": [
                    1,
                    2,
                    16
                ],
                "api": [
                    3
                ]
            }
        }
    ],
    "app": {
        "id": "app123",
        "name": "testapp",
        "ver": "2.100000",
        "bundle": "app.com",
        "paid": 1,
        "storeurl": "app.com",
        "publisher": {
            "id": "35169"
        }
    },
    "device": {
        "ip": "64.64.64.64",
        "ua": "Mozilla/5.0(iPhone;CPUiPhoneOS5_0likeMacOSX)AppleWebKit/534.46(KHTML,likeGecko)Version/5.1Mobile/9A334Safari/7534.48.3",
        "carrier": "AT&TServices",
        "language": "en-US,en;q=0.5",
        "connectiontype": 2,
        "geo": {
            "country": "US",
            "region": "MA",
            "city": "Hampden",
            "lat": 42.067902,
            "lon": -72.418503,
            "zip": "01036",
            "type": 2
        },
        "ext": {
            "openudid": "9822736363",
            "adtruth": {
                "tdl_millis": 5334707361,
                "WEB_APP_BRIDGE_4_0": "DA39A3EE5E6B4B0D3255BFEF95601890AFD80709"
            }
        }
    },
    "user": {
        "yob": 1983,
        "gender": "M",
        "keywords": "football,badminton",
        "geo": {
            "region": "MH",
            "city": "PUNE",
            "type": 3
        }
    },
    "badv": [
        "badv.com",
        "badv1.com",
        "badv2.com"
    ]
}

Attachments

    Outcomes