Video Ads (2.5)

In this guide, you will find the example bid requests and responses for video ads with OpenRTB 2.5

Example requests and responses include:

  • Instream pre-roll
  • Instream mid-roll
  • Instream post-roll
  • Instream Interstitial
  • Outstream
  • Rewarded

Instream Ads

Instream pre-roll (Request)

{
  "allimps": 0,
  "app": {
    "bundle": "defaultBundleId",
    "cat": [
      "IAB7-42"
    ],
    "id": "294",
    "name": "appName",
    "publisher": {
      "id": "5020393",
      "name": "PublisherName"
    },
    "storeurl": "https://itunes.apple.com/app/apple-store/id953922567567341232323"
  },
  "at": 2,
  "bcat": [
    "IAB17-18",
    "IAB7-42",
    "IAB23",
    "IAB7-28",
    "IAB26",
    "IAB25",
    "IAB9-9",
    "IAB24"
  ],
  "device": {
    "connectiontype": 0,
    "devicetype": 4,
    "didmd5": "d1c553888076489a45af4b6dfb9392eb",
    "didsha1": "81407cd1808b59681f2da1341d8ac62dfa9293fa",
    "geo": {
      "city": "Boston",
      "country": "USA",
      "ipservice": 3,
      "lat": 42.360504,
      "lon": -71.0548,
      "metro": "506",
      "region": "MA",
      "type": 2,
      "zip": "02109"
    },
    "h": 480,
    "ip": "50.255.150.200",
    "js": 0,
    "language": "en",
    "make": "Apple",
    "model": "iPhone",
    "os": "iOS",
    "osv": "4.3.2",
    "pxratio": 1,
    "ua": "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_2 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8H7 Safari/6533.18.5",
    "w": 320
  },
  "id": "e5411942-39a1-4019-afdd-82955584124e",
  "imp": [
    {
      "displaymanager": "SOMA",
      "ext": {
        
      },
      "id": "1",
      "instl": 0,
      "secure": 0,
      "tagid": "5020536",
      "video": {
        "battr": [
          1,
          3,
          5,
          8,
          9
        ],
        "h": 50,
        "linearity": 1,
        "maxbitrate": 4000,
        "maxduration": 60,
        "mimes": [
          "video/3gpp",
          "video/mov",
          "video/mp4",
          "video/mpv"
        ],
        "minbitrate": 250,
        "minduration": 5,
        "placement": 1,
        "pos": 0,
        "protocols": [
          2,
          5
        ],
        "skip": 0,
        "startdelay": 0,
        "w": 320
      }
    }
  ],
  "regs": {
    "coppa": 0,
    "ext": {
      
    }
  },
  "source": {
    "pchain": "07bcf65f187117b4:5020393"
  },
  "tmax": 1499,
  "user": {
    "ext": {
      
    }
  }
}

Instream pre-roll (Response)

{
  "id": "vast-response-from-msan",
  "seatbid": [
    {
      "seat": "vast_seat1",
      "bid": [
        {
          "impid": "1",
          "price": 9.051027,
          "id": "vast_seat1-bid1-from-msan",
          "adm": "<VAST version=\"2.0\"><Ad id=\"preroll-1\"><InLine><AdSystem>2.0</AdSystem><AdTitle>5773100</AdTitle><Creatives><Creative><Linear><Duration>00:00:15</Duration><MediaFiles><MediaFile height=\"360\" width=\"640\" type=\"video/mp4\" delivery=\"streaming\">http://ndtrs.net/videos/video.mp4</MediaFile></MediaFiles></Linear></Creative><Creative><CompanionAds><Companion height=\"250\" width=\"300\" id=\"573242\"><HTMLResource><![CDATA[<A href=\"http://ndtrs.net/beacon\" target=\"_blank\"><IMG SRC=\"http://ndtrs.net/images/image.png\" ALT=\"Click Here\" /></A><img src=\"http://ndtrs.net/images/image.png\" height=\"1\" width=\"1\" />]]></HTMLResource></Companion></CompanionAds></Creative></Creatives></InLine></Ad></VAST>",
          "adomain": [
            "example.com"
          ],
          "crid": "16969426",
          "cid": "2445",
          "iurl": "http://ndtrs.net/images/image.png",
          "burl":"http://us-east-user.demo.net/bill_notice/smaato_bid?rid=2G2J5QmI7JIKuEoeOyv-Fob7-MI19Iwm6q7tBiURHo8KCBFQ1tLBZTZHYH66VyIYN5amxUtCifKIY_l6IzDfJmiku4ukesiP5GdMtQ-0WRWnbtImXV7MWGTRUV23mQhIN9n8lAe_GfyhvwBOYX3ZcQEG8rlKkdBMM9iWRmAW25QjbJ6p6uS6KpTkujKcXqDXeDn76blEVDMdsOtyAd8871FPeN8MHxWK4bSKHy8uwN5P_LEMJL87i3yBG4UaZnxm--KUTpdLGo_ZqNmIQclot1VbuTcWZu9Z_wlDpq62FmP6vKHOs5o73onK9xlhP8IWiM_jEZGozvP7EHQiA0wpZ9jDKyEwUkLGkj_XyMkGqTjhjyeskjEbP5RAFojdXNp4EfuiVt6q-ToRHZ_Pjsq3HOurWfmZl2TVig7JAOVpYBt-sV8Nwiw67oxN3R1rQfhsHvhMBcFapqiAu0sOlNmMyJjwCAThPYX2eii3xy9MUe6KXUJSAcxj6xPFHM-TIm9KHKhFrilqpk6E2-8GLBIGoVMbKojd74bf9i5qIG14HJEb99zoHxG5rh_nXJ4DytgftwphiiKRmqSkpEIxsCjj0mGfeOXVWDBNpHF2GJ738XF9DTSE33IUkfYD7Ug&p=${AUCTION_PRICE}&aid=",
          "lurl":"http://us-east-user.demo.net/bidloss?lossreason=${AUCTION_LOSS}",
          "nurl": "http://ndtrs.net/winnotice/win?case=rtbVastResponse"
        }
      ]
    }
  ]
}

Instream mid-roll (Request)

{
  "allimps": 0,
  "app": {
    "bundle": "defaultBundleId",
    "cat": [
      "IAB7-42"
    ],
    "id": "294",
    "name": "appName",
    "publisher": {
      "id": "5020393",
      "name": "PublisherName"
    },
    "storeurl": "https://itunes.apple.com/app/apple-store/id953922567567341232323"
  },
  "at": 2,
  "bcat": [
    "IAB17-18",
    "IAB7-42",
    "IAB23",
    "IAB7-28",
    "IAB26",
    "IAB25",
    "IAB9-9",
    "IAB24"
  ],
  "device": {
    "connectiontype": 0,
    "devicetype": 4,
    "didmd5": "d1c553888076489a45af4b6dfb9392eb",
    "didsha1": "81407cd1808b59681f2da1341d8ac62dfa9293fa",
    "geo": {
      "city": "Boston",
      "country": "USA",
      "ipservice": 3,
      "lat": 42.360504,
      "lon": -71.0548,
      "metro": "506",
      "region": "MA",
      "type": 2,
      "zip": "02109"
    },
    "h": 480,
    "ip": "50.255.150.200",
    "js": 0,
    "language": "en",
    "make": "Apple",
    "model": "iPhone",
    "os": "iOS",
    "osv": "4.3.2",
    "pxratio": 1,
    "ua": "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_2 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8H7 Safari/6533.18.5",
    "w": 320
  },
  "id": "2a1c9224-0803-41da-93d1-7d5b3d2010a7",
  "imp": [
    {
      "displaymanager": "SOMA",
      "ext": {
        
      },
      "id": "1",
      "instl": 0,
      "secure": 0,
      "tagid": "5020536",
      "video": {
        "battr": [
          1,
          3,
          5,
          8,
          9
        ],
        "h": 50,
        "linearity": 1,
        "maxbitrate": 4000,
        "maxduration": 60,
        "mimes": [
          "video/3gpp",
          "video/mov",
          "video/mp4",
          "video/mpv"
        ],
        "minbitrate": 250,
        "minduration": 5,
        "placement": 1,
        "pos": 0,
        "protocols": [
          2,
          5
        ],
        "skip": 0,
        "startdelay": -1,
        "w": 320
      }
    }
  ],
  "regs": {
    "coppa": 0,
    "ext": {
      
    }
  },
  "source": {
    "pchain": "07bcf65f187117b4:5020393"
  },
  "tmax": 1499,
  "user": {
    "ext": {
      
    }
  }
}

Instream mid-roll (Response)

{
  "id": "vast-response-from-msan",
  "seatbid": [
    {
      "seat": "vast_seat1",
      "bid": [
        {
          "impid": "1",
          "price": 9.051027,
          "id": "vast_seat1-bid1-from-msan",
          "adm": "<VAST version=\"2.0\"><Ad id=\"preroll-1\"><InLine><AdSystem>2.0</AdSystem><AdTitle>5773100</AdTitle><Creatives><Creative><Linear><Duration>00:00:15</Duration><MediaFiles><MediaFile height=\"360\" width=\"640\" type=\"video/mp4\" delivery=\"streaming\">http://ndtrs.net/videos/video.mp4</MediaFile></MediaFiles></Linear></Creative><Creative><CompanionAds><Companion height=\"250\" width=\"300\" id=\"573242\"><HTMLResource><![CDATA[<A href=\"http://ndtrs.net/beacon\" target=\"_blank\"><IMG SRC=\"http://ndtrs.net/images/image.png\" ALT=\"Click Here\" /></A><img src=\"http://ndtrs.net/images/image.png\" height=\"1\" width=\"1\" />]]></HTMLResource></Companion></CompanionAds></Creative></Creatives></InLine></Ad></VAST>",
          "adomain": [
            "example.com"
          ],
          "crid": "16969426",
          "cid": "2445",
          "iurl": "http://ndtrs.net/images/image.png",
          "burl":"http://us-east-user.demo.net/bill_notice/smaato_bid?rid=2G2J5QmI7JIKuEoeOyv-Fob7-MI19Iwm6q7tBiURHo8KCBFQ1tLBZTZHYH66VyIYN5amxUtCifKIY_l6IzDfJmiku4ukesiP5GdMtQ-0WRWnbtImXV7MWGTRUV23mQhIN9n8lAe_GfyhvwBOYX3ZcQEG8rlKkdBMM9iWRmAW25QjbJ6p6uS6KpTkujKcXqDXeDn76blEVDMdsOtyAd8871FPeN8MHxWK4bSKHy8uwN5P_LEMJL87i3yBG4UaZnxm--KUTpdLGo_ZqNmIQclot1VbuTcWZu9Z_wlDpq62FmP6vKHOs5o73onK9xlhP8IWiM_jEZGozvP7EHQiA0wpZ9jDKyEwUkLGkj_XyMkGqTjhjyeskjEbP5RAFojdXNp4EfuiVt6q-ToRHZ_Pjsq3HOurWfmZl2TVig7JAOVpYBt-sV8Nwiw67oxN3R1rQfhsHvhMBcFapqiAu0sOlNmMyJjwCAThPYX2eii3xy9MUe6KXUJSAcxj6xPFHM-TIm9KHKhFrilqpk6E2-8GLBIGoVMbKojd74bf9i5qIG14HJEb99zoHxG5rh_nXJ4DytgftwphiiKRmqSkpEIxsCjj0mGfeOXVWDBNpHF2GJ738XF9DTSE33IUkfYD7Ug&p=${AUCTION_PRICE}&aid=",
          "lurl":"http://us-east-user.demo.net/bidloss?lossreason=${AUCTION_LOSS}",
          "nurl": "http://ndtrs.net/winnotice/win?case=rtbVastResponse"
        }
      ]
    }
  ]
}

Instream post-roll (Request)

{
  "allimps": 0,
  "app": {
    "bundle": "defaultBundleId",
    "cat": [
      "IAB7-42"
    ],
    "id": "294",
    "name": "appName",
    "publisher": {
      "id": "5020393",
      "name": "PublisherName"
    },
    "storeurl": "https://itunes.apple.com/app/apple-store/id953922567567341232323"
  },
  "at": 2,
  "bcat": [
    "IAB17-18",
    "IAB7-42",
    "IAB23",
    "IAB7-28",
    "IAB26",
    "IAB25",
    "IAB9-9",
    "IAB24"
  ],
  "device": {
    "connectiontype": 0,
    "devicetype": 4,
    "didmd5": "d1c553888076489a45af4b6dfb9392eb",
    "didsha1": "81407cd1808b59681f2da1341d8ac62dfa9293fa",
    "geo": {
      "city": "Boston",
      "country": "USA",
      "ipservice": 3,
      "lat": 42.360504,
      "lon": -71.0548,
      "metro": "506",
      "region": "MA",
      "type": 2,
      "zip": "02109"
    },
    "h": 480,
    "ip": "50.255.150.200",
    "js": 0,
    "language": "en",
    "make": "Apple",
    "model": "iPhone",
    "os": "iOS",
    "osv": "4.3.2",
    "pxratio": 1,
    "ua": "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_2 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8H7 Safari/6533.18.5",
    "w": 320
  },
  "id": "68d49693-6312-40c1-b9bd-68f92e65acac",
  "imp": [
    {
      "displaymanager": "SOMA",
      "ext": {
        
      },
      "id": "1",
      "instl": 0,
      "secure": 0,
      "tagid": "5020536",
      "video": {
        "battr": [
          1,
          3,
          5,
          8,
          9
        ],
        "h": 50,
        "linearity": 1,
        "maxbitrate": 4000,
        "maxduration": 60,
        "mimes": [
          "video/3gpp",
          "video/mov",
          "video/mp4",
          "video/mpv"
        ],
        "minbitrate": 250,
        "minduration": 5,
        "placement": 1,
        "pos": 0,
        "protocols": [
          2,
          5
        ],
        "skip": 0,
        "startdelay": -2,
        "w": 320
      }
    }
  ],
  "regs": {
    "coppa": 0,
    "ext": {
      
    }
  },
  "source": {
    "pchain": "07bcf65f187117b4:5020393"
  },
  "tmax": 1500,
  "user": {
    "ext": {
      
    }
  }
}

Instream post-roll (Response)

{
  "id": "vast-response-from-msan",
  "seatbid": [
    {
      "seat": "vast_seat1",
      "bid": [
        {
          "impid": "1",
          "price": 9.051027,
          "id": "vast_seat1-bid1-from-msan",
          "adm": "<VAST version=\"2.0\"><Ad id=\"preroll-1\"><InLine><AdSystem>2.0</AdSystem><AdTitle>5773100</AdTitle><Creatives><Creative><Linear><Duration>00:00:15</Duration><MediaFiles><MediaFile height=\"360\" width=\"640\" type=\"video/mp4\" delivery=\"streaming\">http://ndtrs.net/videos/video.mp4</MediaFile></MediaFiles></Linear></Creative><Creative><CompanionAds><Companion height=\"250\" width=\"300\" id=\"573242\"><HTMLResource><![CDATA[<A href=\"http://ndtrs.net/beacon\" target=\"_blank\"><IMG SRC=\"http://ndtrs.net/images/image.png\" ALT=\"Click Here\" /></A><img src=\"http://ndtrs.net/images/image.png\" height=\"1\" width=\"1\" />]]></HTMLResource></Companion></CompanionAds></Creative></Creatives></InLine></Ad></VAST>",
          "adomain": [
            "example.com"
          ],
          "crid": "16969426",
          "cid": "2445",
          "iurl": "http://ndtrs.net/images/image.png",
          "burl":"http://us-east-user.demo.net/bill_notice/smaato_bid?rid=2G2J5QmI7JIKuEoeOyv-Fob7-MI19Iwm6q7tBiURHo8KCBFQ1tLBZTZHYH66VyIYN5amxUtCifKIY_l6IzDfJmiku4ukesiP5GdMtQ-0WRWnbtImXV7MWGTRUV23mQhIN9n8lAe_GfyhvwBOYX3ZcQEG8rlKkdBMM9iWRmAW25QjbJ6p6uS6KpTkujKcXqDXeDn76blEVDMdsOtyAd8871FPeN8MHxWK4bSKHy8uwN5P_LEMJL87i3yBG4UaZnxm--KUTpdLGo_ZqNmIQclot1VbuTcWZu9Z_wlDpq62FmP6vKHOs5o73onK9xlhP8IWiM_jEZGozvP7EHQiA0wpZ9jDKyEwUkLGkj_XyMkGqTjhjyeskjEbP5RAFojdXNp4EfuiVt6q-ToRHZ_Pjsq3HOurWfmZl2TVig7JAOVpYBt-sV8Nwiw67oxN3R1rQfhsHvhMBcFapqiAu0sOlNmMyJjwCAThPYX2eii3xy9MUe6KXUJSAcxj6xPFHM-TIm9KHKhFrilqpk6E2-8GLBIGoVMbKojd74bf9i5qIG14HJEb99zoHxG5rh_nXJ4DytgftwphiiKRmqSkpEIxsCjj0mGfeOXVWDBNpHF2GJ738XF9DTSE33IUkfYD7Ug&p=${AUCTION_PRICE}&aid=",
          "lurl":"http://us-east-user.demo.net/bidloss?lossreason=${AUCTION_LOSS}",
          "nurl": "http://ndtrs.net/winnotice/win?case=rtbVastResponse"
        }
      ]
    }
  ]
}

Instream Interstitial (Request)

{
  "allimps": 0,
  "app": {
    "bundle": "defaultBundleId",
    "cat": [
      "IAB7-42"
    ],
    "id": "294",
    "name": "appName",
    "publisher": {
      "id": "5020393",
      "name": "PublisherName"
    },
    "storeurl": "https://itunes.apple.com/app/apple-store/id953922567567341232323"
  },
  "at": 2,
  "bcat": [
    "IAB17-18",
    "IAB7-42",
    "IAB23",
    "IAB7-28",
    "IAB26",
    "IAB25",
    "IAB9-9",
    "IAB24"
  ],
  "device": {
    "connectiontype": 0,
    "devicetype": 4,
    "didmd5": "d1c553888076489a45af4b6dfb9392eb",
    "didsha1": "81407cd1808b59681f2da1341d8ac62dfa9293fa",
    "geo": {
      "city": "Boston",
      "country": "USA",
      "ipservice": 3,
      "lat": 42.360504,
      "lon": -71.0548,
      "metro": "506",
      "region": "MA",
      "type": 2,
      "zip": "02109"
    },
    "h": 480,
    "ip": "50.255.150.200",
    "js": 0,
    "language": "en",
    "make": "Apple",
    "model": "iPhone",
    "os": "iOS",
    "osv": "4.3.2",
    "pxratio": 1,
    "ua": "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_2 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8H7 Safari/6533.18.5",
    "w": 320
  },
  "id": "8d0160b7-8f48-404a-a060-84eda7b61012",
  "imp": [
    {
      "displaymanager": "SOMA",
      "ext": {
        
      },
      "id": "1",
      "instl": 1,
      "secure": 0,
      "tagid": "5020539",
      "video": {
        "battr": [
          1,
          3,
          5,
          8,
          9
        ],
        "h": 50,
        "linearity": 1,
        "maxbitrate": 4000,
        "maxduration": 60,
        "mimes": [
          "video/3gpp",
          "video/mov",
          "video/mp4",
          "video/mpv"
        ],
        "minbitrate": 250,
        "minduration": 5,
        "placement": 5,
        "pos": 0,
        "protocols": [
          2,
          5
        ],
        "skip": 0,
        "w": 320
      }
    }
  ],
  "regs": {
    "coppa": 0,
    "ext": {
      
    }
  },
  "source": {
    "pchain": "07bcf65f187117b4:5020393"
  },
  "tmax": 1499,
  "user": {
    "ext": {
      
    }
  }
}

Instream Interstitial (Response)

{
  "id": "vast-response-from-msan",
  "seatbid": [
    {
      "seat": "vast_seat1",
      "bid": [
        {
          "impid": "1",
          "price": 9.051027,
          "id": "vast_seat1-bid1-from-msan",
          "adm": "<VAST version=\"2.0\"><Ad id=\"preroll-1\"><InLine><AdSystem>2.0</AdSystem><AdTitle>5773100</AdTitle><Creatives><Creative><Linear><Duration>00:00:15</Duration><MediaFiles><MediaFile height=\"360\" width=\"640\" type=\"video/mp4\" delivery=\"streaming\">http://ndtrs.net/videos/video.mp4</MediaFile></MediaFiles></Linear></Creative><Creative><CompanionAds><Companion height=\"250\" width=\"300\" id=\"573242\"><HTMLResource><![CDATA[<A href=\"http://ndtrs.net/beacon\" target=\"_blank\"><IMG SRC=\"http://ndtrs.net/images/image.png\" ALT=\"Click Here\" /></A><img src=\"http://ndtrs.net/images/image.png\" height=\"1\" width=\"1\" />]]></HTMLResource></Companion></CompanionAds></Creative></Creatives></InLine></Ad></VAST>",
          "adomain": [
            "example.com"
          ],
          "crid": "16969426",
          "cid": "2445",
          "iurl": "http://ndtrs.net/images/image.png",
          "burl":"http://us-east-user.demo.net/bill_notice/smaato_bid?rid=2G2J5QmI7JIKuEoeOyv-Fob7-MI19Iwm6q7tBiURHo8KCBFQ1tLBZTZHYH66VyIYN5amxUtCifKIY_l6IzDfJmiku4ukesiP5GdMtQ-0WRWnbtImXV7MWGTRUV23mQhIN9n8lAe_GfyhvwBOYX3ZcQEG8rlKkdBMM9iWRmAW25QjbJ6p6uS6KpTkujKcXqDXeDn76blEVDMdsOtyAd8871FPeN8MHxWK4bSKHy8uwN5P_LEMJL87i3yBG4UaZnxm--KUTpdLGo_ZqNmIQclot1VbuTcWZu9Z_wlDpq62FmP6vKHOs5o73onK9xlhP8IWiM_jEZGozvP7EHQiA0wpZ9jDKyEwUkLGkj_XyMkGqTjhjyeskjEbP5RAFojdXNp4EfuiVt6q-ToRHZ_Pjsq3HOurWfmZl2TVig7JAOVpYBt-sV8Nwiw67oxN3R1rQfhsHvhMBcFapqiAu0sOlNmMyJjwCAThPYX2eii3xy9MUe6KXUJSAcxj6xPFHM-TIm9KHKhFrilqpk6E2-8GLBIGoVMbKojd74bf9i5qIG14HJEb99zoHxG5rh_nXJ4DytgftwphiiKRmqSkpEIxsCjj0mGfeOXVWDBNpHF2GJ738XF9DTSE33IUkfYD7Ug&p=${AUCTION_PRICE}&aid=",
          "lurl":"http://us-east-user.demo.net/bidloss?lossreason=${AUCTION_LOSS}",
          "nurl": "http://ndtrs.net/winnotice/win?case=rtbVastResponse"
        }
      ]
    }
  ]
}

Outstream Ads

Outstream (Request)

{
  "allimps": 0,
  "app": {
    "bundle": "defaultBundleId",
    "cat": [
      "IAB7-42"
    ],
    "id": "294",
    "name": "appName",
    "publisher": {
      "id": "5020393",
      "name": "PublisherName"
    },
    "storeurl": "https://itunes.apple.com/app/apple-store/id953922567567341232323"
  },
  "at": 2,
  "bcat": [
    "IAB17-18",
    "IAB7-42",
    "IAB23",
    "IAB7-28",
    "IAB26",
    "IAB25",
    "IAB9-9",
    "IAB24"
  ],
  "device": {
    "connectiontype": 0,
    "devicetype": 4,
    "didmd5": "d1c553888076489a45af4b6dfb9392eb",
    "didsha1": "81407cd1808b59681f2da1341d8ac62dfa9293fa",
    "geo": {
      "city": "Boston",
      "country": "USA",
      "ipservice": 3,
      "lat": 42.360504,
      "lon": -71.0548,
      "metro": "506",
      "region": "MA",
      "type": 2,
      "zip": "02109"
    },
    "h": 480,
    "ip": "50.255.150.200",
    "js": 0,
    "language": "en",
    "make": "Apple",
    "model": "iPhone",
    "os": "iOS",
    "osv": "4.3.2",
    "pxratio": 1,
    "ua": "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_2 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8H7 Safari/6533.18.5",
    "w": 320
  },
  "id": "ece5db3d-fc5a-4a98-91e8-c81df883bc62",
  "imp": [
    {
      "displaymanager": "SOMA",
      "ext": {
        
      },
      "id": "1",
      "instl": 0,
      "secure": 0,
      "tagid": "5020537",
      "video": {
        "battr": [
          1,
          3,
          5,
          8,
          9
        ],
        "h": 50,
        "linearity": 1,
        "maxbitrate": 4000,
        "maxduration": 60,
        "mimes": [
          "video/3gpp",
          "video/mov",
          "video/mp4",
          "video/mpv"
        ],
        "minbitrate": 250,
        "minduration": 5,
        "placement": 3,
        "pos": 0,
        "protocols": [
          2,
          5
        ],
        "skip": 0,
        "w": 320
      }
    }
  ],
  "regs": {
    "coppa": 0,
    "ext": {
      
    }
  },
  "source": {
    "pchain": "07bcf65f187117b4:5020393"
  },
  "tmax": 1499,
  "user": {
    "ext": {
      
    }
  }
}

Outstream (Response)

{
  "id": "vast-response-from-msan",
  "seatbid": [
    {
      "seat": "vast_seat1",
      "bid": [
        {
          "impid": "1",
          "price": 9.051027,
          "id": "vast_seat1-bid1-from-msan",
          "adm": "<VAST version=\"2.0\"><Ad id=\"preroll-1\"><InLine><AdSystem>2.0</AdSystem><AdTitle>5773100</AdTitle><Creatives><Creative><Linear><Duration>00:00:15</Duration><MediaFiles><MediaFile height=\"360\" width=\"640\" type=\"video/mp4\" delivery=\"streaming\">http://ndtrs.net/videos/video.mp4</MediaFile></MediaFiles></Linear></Creative><Creative><CompanionAds><Companion height=\"250\" width=\"300\" id=\"573242\"><HTMLResource><![CDATA[<A href=\"http://ndtrs.net/beacon\" target=\"_blank\"><IMG SRC=\"http://ndtrs.net/images/image.png\" ALT=\"Click Here\" /></A><img src=\"http://ndtrs.net/images/image.png\" height=\"1\" width=\"1\" />]]></HTMLResource></Companion></CompanionAds></Creative></Creatives></InLine></Ad></VAST>",
          "adomain": [
            "example.com"
          ],
          "crid": "16969426",
          "cid": "2445",
          "iurl": "http://ndtrs.net/images/image.png",
          "burl":"http://us-east-user.demo.net/bill_notice/smaato_bid?rid=2G2J5QmI7JIKuEoeOyv-Fob7-MI19Iwm6q7tBiURHo8KCBFQ1tLBZTZHYH66VyIYN5amxUtCifKIY_l6IzDfJmiku4ukesiP5GdMtQ-0WRWnbtImXV7MWGTRUV23mQhIN9n8lAe_GfyhvwBOYX3ZcQEG8rlKkdBMM9iWRmAW25QjbJ6p6uS6KpTkujKcXqDXeDn76blEVDMdsOtyAd8871FPeN8MHxWK4bSKHy8uwN5P_LEMJL87i3yBG4UaZnxm--KUTpdLGo_ZqNmIQclot1VbuTcWZu9Z_wlDpq62FmP6vKHOs5o73onK9xlhP8IWiM_jEZGozvP7EHQiA0wpZ9jDKyEwUkLGkj_XyMkGqTjhjyeskjEbP5RAFojdXNp4EfuiVt6q-ToRHZ_Pjsq3HOurWfmZl2TVig7JAOVpYBt-sV8Nwiw67oxN3R1rQfhsHvhMBcFapqiAu0sOlNmMyJjwCAThPYX2eii3xy9MUe6KXUJSAcxj6xPFHM-TIm9KHKhFrilqpk6E2-8GLBIGoVMbKojd74bf9i5qIG14HJEb99zoHxG5rh_nXJ4DytgftwphiiKRmqSkpEIxsCjj0mGfeOXVWDBNpHF2GJ738XF9DTSE33IUkfYD7Ug&p=${AUCTION_PRICE}&aid=",
          "lurl":"http://us-east-user.demo.net/bidloss?lossreason=${AUCTION_LOSS}",
          "nurl": "http://ndtrs.net/winnotice/win?case=rtbVastResponse"
        }
      ]
    }
  ]
}

Rewareded Video Ads

Rewarded (Request)

{
  "allimps": 0,
  "app": {
    "bundle": "defaultBundleId",
    "cat": [
      "IAB7-42"
    ],
    "id": "294",
    "name": "appName",
    "publisher": {
      "id": "5020393",
      "name": "PublisherName"
    },
    "storeurl": "https://itunes.apple.com/app/apple-store/id953922567567341232323"
  },
  "at": 2,
  "bcat": [
    "IAB17-18",
    "IAB7-42",
    "IAB23",
    "IAB7-28",
    "IAB26",
    "IAB25",
    "IAB9-9",
    "IAB24"
  ],
  "device": {
    "connectiontype": 0,
    "devicetype": 4,
    "didmd5": "d1c553888076489a45af4b6dfb9392eb",
    "didsha1": "81407cd1808b59681f2da1341d8ac62dfa9293fa",
    "geo": {
      "city": "Boston",
      "country": "USA",
      "ipservice": 3,
      "lat": 42.360504,
      "lon": -71.0548,
      "metro": "506",
      "region": "MA",
      "type": 2,
      "zip": "02109"
    },
    "h": 480,
    "ip": "50.255.150.200",
    "js": 0,
    "language": "en",
    "make": "Apple",
    "model": "iPhone",
    "os": "iOS",
    "osv": "4.3.2",
    "pxratio": 1,
    "ua": "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_2 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8H7 Safari/6533.18.5",
    "w": 320
  },
  "id": "ff093fd0-c6ba-4de6-968f-80668c075847",
  "imp": [
    {
      "displaymanager": "SOMA",
      "ext": {
        
      },
      "id": "1",
      "instl": 1,
      "secure": 0,
      "tagid": "5020538",
      "video": {
        "battr": [
          1,
          3,
          5,
          8,
          9
        ],
        "ext": {
          "rewarded": 1
        },
        "h": 50,
        "linearity": 1,
        "maxbitrate": 4000,
        "maxduration": 60,
        "mimes": [
          "video/3gpp",
          "video/mov",
          "video/mp4",
          "video/mpv"
        ],
        "minbitrate": 250,
        "minduration": 5,
        "pos": 0,
        "protocols": [
          2,
          5
        ],
        "skip": 0,
        "w": 320
      }
    }
  ],
  "regs": {
    "coppa": 0,
    "ext": {
      
    }
  },
  "source": {
    "pchain": "07bcf65f187117b4:5020393"
  },
  "tmax": 1500,
  "user": {
    "ext": {
      
    }
  }
}

Rewarded (Response)

{
  "id": "vast-response-from-msan",
  "seatbid": [
    {
      "seat": "vast_seat1",
      "bid": [
        {
          "impid": "1",
          "price": 9.051027,
          "id": "vast_seat1-bid1-from-msan",
          "adm": "<VAST version=\"2.0\"><Ad id=\"preroll-1\"><InLine><AdSystem>2.0</AdSystem><AdTitle>5773100</AdTitle><Creatives><Creative><Linear><Duration>00:00:15</Duration><MediaFiles><MediaFile height=\"360\" width=\"640\" type=\"video/mp4\" delivery=\"streaming\">http://ndtrs.net/videos/video.mp4</MediaFile></MediaFiles></Linear></Creative><Creative><CompanionAds><Companion height=\"250\" width=\"300\" id=\"573242\"><HTMLResource><![CDATA[<A href=\"http://ndtrs.net/beacon\" target=\"_blank\"><IMG SRC=\"http://ndtrs.net/images/image.png\" ALT=\"Click Here\" /></A><img src=\"http://ndtrs.net/images/image.png\" height=\"1\" width=\"1\" />]]></HTMLResource></Companion></CompanionAds></Creative></Creatives></InLine></Ad></VAST>",
          "adomain": [
            "example.com"
          ],
          "crid": "16969426",
          "cid": "2445",
          "iurl": "http://ndtrs.net/images/image.png",
          "burl":"http://us-east-user.demo.net/bill_notice/smaato_bid?rid=2G2J5QmI7JIKuEoeOyv-Fob7-MI19Iwm6q7tBiURHo8KCBFQ1tLBZTZHYH66VyIYN5amxUtCifKIY_l6IzDfJmiku4ukesiP5GdMtQ-0WRWnbtImXV7MWGTRUV23mQhIN9n8lAe_GfyhvwBOYX3ZcQEG8rlKkdBMM9iWRmAW25QjbJ6p6uS6KpTkujKcXqDXeDn76blEVDMdsOtyAd8871FPeN8MHxWK4bSKHy8uwN5P_LEMJL87i3yBG4UaZnxm--KUTpdLGo_ZqNmIQclot1VbuTcWZu9Z_wlDpq62FmP6vKHOs5o73onK9xlhP8IWiM_jEZGozvP7EHQiA0wpZ9jDKyEwUkLGkj_XyMkGqTjhjyeskjEbP5RAFojdXNp4EfuiVt6q-ToRHZ_Pjsq3HOurWfmZl2TVig7JAOVpYBt-sV8Nwiw67oxN3R1rQfhsHvhMBcFapqiAu0sOlNmMyJjwCAThPYX2eii3xy9MUe6KXUJSAcxj6xPFHM-TIm9KHKhFrilqpk6E2-8GLBIGoVMbKojd74bf9i5qIG14HJEb99zoHxG5rh_nXJ4DytgftwphiiKRmqSkpEIxsCjj0mGfeOXVWDBNpHF2GJ738XF9DTSE33IUkfYD7Ug&p=${AUCTION_PRICE}&aid=",
          "lurl":"http://us-east-user.demo.net/bidloss?lossreason=${AUCTION_LOSS}",
          "nurl": "http://ndtrs.net/winnotice/win?case=rtbVastResponse"
        }
      ]
    }
  ]
}
Doc Feedback Product Feedback

Last Modified: November 29, 2021 at 2:00 pm