Find here the example bid requests and responses for Android and iOS rich media ads with OpenRTB 2.2.

Bid Request for Android

{
  "app": {
    "bundle": "defaultBundleId",
    "cat": [
      "IAB7-42"
    ],
    "id": "5020252",
    "name": "defaultAppName",
    "publisher": {
      "id": "5020156",
      "name": "PublisherName"
    }
  },
  "at": 2,
  "bcat": [
    "IAB17-18",
    "IAB7-42",
    "IAB23",
    "IAB7-28",
    "IAB26",
    "IAB25",
    "IAB9-9",
    "IAB24"
  ],
  "device": {
    "connectiontype": 0,
    "devicetype": 4,
    "didmd5": "d1c553888076489a45af4b6dfb9392eb",
    "didsha1": "81407cd1808b59681f2da1341d8ac62dfa9293fa",
    "ifa": "38400000-8cf0-11bd-b23e-10b96e40000d",
    "geo": {
      "city": "Boston",
      "country": "USA",
      "lat": 42.360504,
      "lon": -71.0548,
      "metro": "506",
      "region": "MA",
      "type": 2,
      "zip": "02109"
    },
    "ip": "50.255.150.200",
    "js": 1,
    "language": "en",
    "make": "Google",
    "model": "Nexus One",
    "os": "Android",
    "osv": "2.1",
    "ua": "Mozilla/5.0 (Linux; U; Android 2.1; en-us; Nexus One Build/ERD62) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Mobile Safari/530.17"
  },
  "ext": {
    "pchain": "07bcf65f187117b4:5020156"
    }
  },
  "id": "27804bd4-b48d-41f8-936a-ed44b892f2a5",
  "imp": [
    {
      "banner": {
        "btype": [
          1,
          2
        ],
        "h": 50,
        "mimes": [
          "text/javascript",
          "application/javascript"
        ],
        "pos": 0,
        "w": 320
      },
      "displaymanager": "SOMA",
      "ext": {
        "strictbannersize": 0
      },
      "id": "1",
      "instl": 0,
      "secure": 0,
      "tagid": "5020252"
    }
  ],
  "regs": {
    "coppa": 0,
    "ext": {
      
    }
  },
  "tmax": 1499,
  "user": {
    "ext": {
      
    }
  }
}

Bid Response for Android

{
  "cur": "USD",
  "seatbid": [
    {
      "seat": "16",
      "bid": [
        {
          "price": 1.1,
          "id": "16-2e8e019a-2451-4f00-a84e-0e4c4c36c0e6-1",
          "impid": "1",
          "nurl": "http://us-east-user.demo.net/win_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=",
          "cid": "3538598",
          "iurl": "http://bid.g.doubleclick.net/xbbe/creativefetch?p=APEucNUUi4brC8Kg06zUjH7LDKx7Ci82QFgAYmQ5siKRKVtLW7upJxs",
          "adomain": [
            "demo.com.hk"
          ],
          "adid": "16_12096914",
          "adm": "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?> <ad xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"http://standards.smaato.com/ad/smaato_ad_v0.9.xsd\" modelVersion=\"0.9\"> <richmediaAd> <content> <![CDATA[ <SCRIPT language=\"JavaScript1.1\" SRC=\"http://bid.g.doubleclick.net/xbbe/creative/adj?d=APEucNXA2G-JzINdXHGxjGolvpNa3yygpqz7ciHL6FuVTgAVv45EgYEAdDrbQ08wOQXFhZugcx2U910Q20yPMBnULDJEyla5FL48O-rh9C4poXieh_iZYykTpAHl71KBPaYgYpdfzJvnLELjpf1sXmdmPIOeWZ-a5UxOJH9NLpuj54OVdgkOpeN48Uf9V-eAkikM1PcDJWBL4bPTle7qkohIFHwqUOJlxnQ_UbZ9ra1fmUObEVSJH6W3uJ3rqYOvd-cE1DXxOvWUEqfy-bsn-8gLPVEuLE01_xx2WRkAFqbhfk-UJCnJmLgrTFUioamTyBW40su1x2Ej4id3y-R-RWvmpHPbxRblWUwtXZ8M7uWF8-PNE4e_FPRj3zyGhlAWX-taN8CqOyV_\"> </SCRIPT> <NOSCRIPT> <A HREF=\"http://bid.g.doubleclick.net/xbbe/creative/jump?d=APEucNXA2G-JzINdXHGxjGolvpNa3yygpqz7ciHL6FuVTgAVv45EgYEAdDrbQ08wOQXFhZugcx2U910Q20yPMBnULDJEyla5FL48O-rh9C4poXieh_iZYykTpAHl71KBPaYgYpdfzJvnLELjpf1sXmdmPIOeWZ-a5UxOJH9NLpuj54OVdgkOpeN48Uf9V-eAkikM1PcDJWBL4bPTle7qkohIFHwqUOJlxnQ_UbZ9ra1fmUObEVSJH6W3uJ3rqYOvd-cE1DXxOvWUEqfy-bsn-8gLPVEuLE01_xx2WRkAFqbhfk-UJCnJmLgrTFUioamTyBW40su1x2Ej4id3y-R-RWvmpHPbxRblWUwtXZ8M7uWF8-PNE4e_FPRj3zyGhlAWX-taN8CqOyV_\"> <IMG SRC=\"http://bid.g.doubleclick.net/xbbe/creative/ad?d=APEucNXA2G-JzINdXHGxjGolvpNa3yygpqz7ciHL6FuVTgAVv45EgYEAdDrbQ08wOQXFhZugcx2U910Q20yPMBnULDJEyla5FL48O-rh9C4poXieh_iZYykTpAHl71KBPaYgYpdfzJvnLELjpf1sXmdmPIOeWZ-a5UxOJH9NLpuj54OVdgkOpeN48Uf9V-eAkikM1PcDJWBL4bPTle7qkohIFHwqUOJlxnQ_UbZ9ra1fmUObEVSJH6W3uJ3rqYOvd-cE1DXxOvWUEqfy-bsn-8gLPVEuLE01_xx2WRkAFqbhfk-UJCnJmLgrTFUioamTyBW40su1x2Ej4id3y-R-RWvmpHPbxRblWUwtXZ8M7uWF8-PNE4e_FPRj3zyGhlAWX-taN8CqOyV_\" BORDER=0 WIDTH=320 HEIGHT=50 ALT=\"Advertisement\"> </A> </NOSCRIPT> <script type=\"text/javascript\"> if ('') { document.write('<script src=\"http://c.betrad.com/surly.js?;ad_w=320;ad_h=50;coid=322;nid=4311;cps=\"></sc' + 'ript>'); } </script> <iframe src=\"http://googleads.g.doubleclick.net/xbbe/pixel?d=CLD6GhDf6SMYkqviBQ&v=APEucNVZLac_dGJ6w0zYTxCVWQAcQdpH4PuzoyT9C6HRzn7VaL-k0kVZIasKbtViVirKrS6mrgFNjly9fPhWmN4ssIUvKL9Knb7G5QDCVDHTIp1K8pXjpkk\" style=\"display:none\"> </iframe> <img width='1' height='1' style='border:0' src='http://bs.serving-sys.com/BurstingPipe/adServer.bs?cn=tf&c=19&mc=imp&pli=14500879&PluID=0&ord=%%CACHEBUSTER%%&rtu=-1'/>\n\n <img width='1' height='1' style='border:0' src='http://ad.atdmt.com/i/img;p=11212200958561;idfa=;idfa_lat=;aaid=;aaid_lat=;cache='/> <DIV STYLE=\"position: absolute; left: 0px; top: 0px; visibility: hidden;\"> <IMG SRC=\"http://bid.g.doubleclick.net/xbbe/beacon?data=APEucNUS4EoEQm9Q3Ene-RM9D9f6DGvm1LE3P42bBjZZ1rOxT6a882v3yjhJwD-L10E0weODQwyVjNWIXyVHvZ9wPVBjPbmTOw\" BORDER=0 WIDTH=1 HEIGHT=1 ALT=\"\" STYLE=\"display:none\"> </DIV> <img src=\"http://us-east-user.bidswitch.net/imp/${AUCTION_PRICE}/http%3A%2F%2Fbid.g.doubleclick.net%2Fxbbe%2Fview%3Fd%3DAPEucNU1IiZ7L6GpDGC7w-mLx5Epkf_VI1_4ziSsfbZNIL8xTyR2KNtMkPiBLEKqOKVAScR4lhH16FzEjI3cdvwJaPHCGq7xG9h695wqBLmiI8jB221fmVrC8X9OdbfblqACvT5vlbPltKUezCL2QZ-C6ZNUiG_zpkkb6iae7omUA5trMWnKPtPHsKxIHzJ55Fjtnt4FR2pGniq4EiBDjhkYFG1byRdCZxta_YcFhdPxGrnUso36KNdyZrRfBOLMdflTJv78ioUT%26pr%3D%24%7BAUCTION_PRICE%7D/2G2J5QmI7JIKuEoeOyv-Fob7-MI19Iwm6q7tBiURHo8KCBFQ1tLBZTZHYH66VyIYN5amxUtCifKIY_l6IzDfJmiku4ukesiP5GdMtQ-0WRWnbtImXV7MWGTRUV23mQhIN9n8lAe_GfyhvwBOYX3ZcQEG8rlKkdBMM9iWRmAW25QjbJ6p6uS6KpTkujKcXqDXeDn76blEVDMdsOtyAd8871FPeN8MHxWK4bSKHy8uwN5P_LEMJL87i3yBG4UaZnxm--KUTpdLGo_ZqNmIQclot1VbuTcWZu9Z_wlDpq62FmP6vKHOs5o73onK9xlhP8IWiM_jEZGozvP7EHQiA0wpZ9jDKyEwUkLGkj_XyMkGqTjhjyeskjEbP5RAFojdXNp4EfuiVt6q-ToRHZ_Pjsq3HOurWfmZl2TVig7JAOVpYBt-sV8Nwiw67oxN3R1rQfhsHvhMBcFapqiAu0sOlNmMyJjwCAThPYX2eii3xy9MUe6KXUJSAcxj6xPFHM-TIm9KHKhFrilqpk6E2-8GLBIGoVMbKojd74bf9i5qIG14HJEb99zoHxG5rh_nXJ4DytgftwphiiKRmqSkpEIxsCjj0mGfeOXVWDBNpHF2GJ738XF9DTSE33IUkfYD7Ug/\" alt=\" \" style=\"display:none\"/> ]]> </content> <width>320</width> <height>50</height> </richmediaAd> </ad>"
        }
      ]
    }
  ],
  "id": "BqzFJc1Ze7"
}

Bid Request for iOS

{
  "app": {
    "bundle": "defaultBundleId",
    "cat": [
      "IAB7-42"
    ],
    "id": "5020252",
    "name": "defaultAppName",
    "publisher": {
      "id": "5020156",
      "name": "PublisherName"
    }
  },
  "at": 2,
  "bcat": [
    "IAB17-18",
    "IAB7-42",
    "IAB23",
    "IAB7-28",
    "IAB26",
    "IAB25",
    "IAB9-9",
    "IAB24"
  ],
  "device": {
    "connectiontype": 0,
    "devicetype": 4,
    "didmd5": "d1c553888076489a45af4b6dfb9392eb",
    "didsha1": "81407cd1808b59681f2da1341d8ac62dfa9293fa",
    "ifa": "38400000-8cf0-11bd-b23e-10b96e40000d",
    "geo": {
      "city": "Boston",
      "country": "USA",
      "lat": 42.360504,
      "lon": -71.0548,
      "metro": "506",
      "region": "MA",
      "type": 2,
      "zip": "02109"
    },
    "ip": "50.255.150.200",
    "js": 1,
    "language": "en",
    "make": "Apple",
    "model": "iPhone",
    "os": "iOS",
    "osv": "4.3.2",
    "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"
  },
  "ext": {
    "pchain": "07bcf65f187117b4:5020156"
    }
  },
  "id": "5ef92ab5-3585-420c-80a5-a5763b2551a5",
  "imp": [
    {
      "banner": {
        "btype": [
          1,
          2
        ],
        "h": 50,
        "mimes": [
          "text/javascript",
          "application/javascript"
        ],
        "pos": 0,
        "w": 320
      },
      "displaymanager": "SOMA",
      "ext": {
        "strictbannersize": 0
      },
      "id": "1",
      "instl": 0,
      "secure": 0,
      "tagid": "5020252"
    }
  ],
  "regs": {
    "coppa": 0,
    "ext": {
      
    }
  },
  "tmax": 1498,
  "user": {
    "ext": {
      
    }
  }
}

Bid Response for iOS

{
  "cur":"USD",
  "seatbid":[{
    "seat":"16",
    "bid":[{
      "price":1.1,
      "id":"16-2e8e019a-2451-4f00-a84e-0e4c4c36c0e6-1",
      "impid":"1",
      "nurl":"http://us-east-user.demo.net/win_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=",
      "cid":"3538598",
      "iurl":"http://bid.g.doubleclick.net/xbbe/creativefetch?p=APEucNUUi4brC8Kg06zUjH7LDKx7Ci82QFgAYmQ5siKRKVtLW7upJxs",
      "adomain":["demo.com.hk"],
      "adid":"16_12096914",
      "adm":"<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?> <ad xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"http://standards.smaato.com/ad/smaato_ad_v0.9.xsd\" modelVersion=\"0.9\"> <richmediaAd> <content> <![CDATA[ <SCRIPT language=\"JavaScript1.1\" SRC=\"http://bid.g.doubleclick.net/xbbe/creative/adj?d=APEucNXA2G-JzINdXHGxjGolvpNa3yygpqz7ciHL6FuVTgAVv45EgYEAdDrbQ08wOQXFhZugcx2U910Q20yPMBnULDJEyla5FL48O-rh9C4poXieh_iZYykTpAHl71KBPaYgYpdfzJvnLELjpf1sXmdmPIOeWZ-a5UxOJH9NLpuj54OVdgkOpeN48Uf9V-eAkikM1PcDJWBL4bPTle7qkohIFHwqUOJlxnQ_UbZ9ra1fmUObEVSJH6W3uJ3rqYOvd-cE1DXxOvWUEqfy-bsn-8gLPVEuLE01_xx2WRkAFqbhfk-UJCnJmLgrTFUioamTyBW40su1x2Ej4id3y-R-RWvmpHPbxRblWUwtXZ8M7uWF8-PNE4e_FPRj3zyGhlAWX-taN8CqOyV_\"> </SCRIPT> <NOSCRIPT> <A HREF=\"http://bid.g.doubleclick.net/xbbe/creative/jump?d=APEucNXA2G-JzINdXHGxjGolvpNa3yygpqz7ciHL6FuVTgAVv45EgYEAdDrbQ08wOQXFhZugcx2U910Q20yPMBnULDJEyla5FL48O-rh9C4poXieh_iZYykTpAHl71KBPaYgYpdfzJvnLELjpf1sXmdmPIOeWZ-a5UxOJH9NLpuj54OVdgkOpeN48Uf9V-eAkikM1PcDJWBL4bPTle7qkohIFHwqUOJlxnQ_UbZ9ra1fmUObEVSJH6W3uJ3rqYOvd-cE1DXxOvWUEqfy-bsn-8gLPVEuLE01_xx2WRkAFqbhfk-UJCnJmLgrTFUioamTyBW40su1x2Ej4id3y-R-RWvmpHPbxRblWUwtXZ8M7uWF8-PNE4e_FPRj3zyGhlAWX-taN8CqOyV_\"> <IMG SRC=\"http://bid.g.doubleclick.net/xbbe/creative/ad?d=APEucNXA2G-JzINdXHGxjGolvpNa3yygpqz7ciHL6FuVTgAVv45EgYEAdDrbQ08wOQXFhZugcx2U910Q20yPMBnULDJEyla5FL48O-rh9C4poXieh_iZYykTpAHl71KBPaYgYpdfzJvnLELjpf1sXmdmPIOeWZ-a5UxOJH9NLpuj54OVdgkOpeN48Uf9V-eAkikM1PcDJWBL4bPTle7qkohIFHwqUOJlxnQ_UbZ9ra1fmUObEVSJH6W3uJ3rqYOvd-cE1DXxOvWUEqfy-bsn-8gLPVEuLE01_xx2WRkAFqbhfk-UJCnJmLgrTFUioamTyBW40su1x2Ej4id3y-R-RWvmpHPbxRblWUwtXZ8M7uWF8-PNE4e_FPRj3zyGhlAWX-taN8CqOyV_\" BORDER=0 WIDTH=320 HEIGHT=50 ALT=\"Advertisement\"> </A> </NOSCRIPT> <script type=\"text/javascript\"> if ('') { document.write('<script src=\"http://c.betrad.com/surly.js?;ad_w=320;ad_h=50;coid=322;nid=4311;cps=\"></sc' + 'ript>'); } </script> <iframe src=\"http://googleads.g.doubleclick.net/xbbe/pixel?d=CLD6GhDf6SMYkqviBQ&v=APEucNVZLac_dGJ6w0zYTxCVWQAcQdpH4PuzoyT9C6HRzn7VaL-k0kVZIasKbtViVirKrS6mrgFNjly9fPhWmN4ssIUvKL9Knb7G5QDCVDHTIp1K8pXjpkk\" style=\"display:none\"> </iframe> <img width='1' height='1' style='border:0' src='http://bs.serving-sys.com/BurstingPipe/adServer.bs?cn=tf&c=19&mc=imp&pli=14500879&PluID=0&ord=%%CACHEBUSTER%%&rtu=-1'/>\n\n <img width='1' height='1' style='border:0' src='http://ad.atdmt.com/i/img;p=11212200958561;idfa=;idfa_lat=;aaid=;aaid_lat=;cache='/> <DIV STYLE=\"position: absolute; left: 0px; top: 0px; visibility: hidden;\"> <IMG SRC=\"http://bid.g.doubleclick.net/xbbe/beacon?data=APEucNUS4EoEQm9Q3Ene-RM9D9f6DGvm1LE3P42bBjZZ1rOxT6a882v3yjhJwD-L10E0weODQwyVjNWIXyVHvZ9wPVBjPbmTOw\" BORDER=0 WIDTH=1 HEIGHT=1 ALT=\"\" STYLE=\"display:none\"> </DIV> <img src=\"http://us-east-user.bidswitch.net/imp/${AUCTION_PRICE}/http%3A%2F%2Fbid.g.doubleclick.net%2Fxbbe%2Fview%3Fd%3DAPEucNU1IiZ7L6GpDGC7w-mLx5Epkf_VI1_4ziSsfbZNIL8xTyR2KNtMkPiBLEKqOKVAScR4lhH16FzEjI3cdvwJaPHCGq7xG9h695wqBLmiI8jB221fmVrC8X9OdbfblqACvT5vlbPltKUezCL2QZ-C6ZNUiG_zpkkb6iae7omUA5trMWnKPtPHsKxIHzJ55Fjtnt4FR2pGniq4EiBDjhkYFG1byRdCZxta_YcFhdPxGrnUso36KNdyZrRfBOLMdflTJv78ioUT%26pr%3D%24%7BAUCTION_PRICE%7D/2G2J5QmI7JIKuEoeOyv-Fob7-MI19Iwm6q7tBiURHo8KCBFQ1tLBZTZHYH66VyIYN5amxUtCifKIY_l6IzDfJmiku4ukesiP5GdMtQ-0WRWnbtImXV7MWGTRUV23mQhIN9n8lAe_GfyhvwBOYX3ZcQEG8rlKkdBMM9iWRmAW25QjbJ6p6uS6KpTkujKcXqDXeDn76blEVDMdsOtyAd8871FPeN8MHxWK4bSKHy8uwN5P_LEMJL87i3yBG4UaZnxm--KUTpdLGo_ZqNmIQclot1VbuTcWZu9Z_wlDpq62FmP6vKHOs5o73onK9xlhP8IWiM_jEZGozvP7EHQiA0wpZ9jDKyEwUkLGkj_XyMkGqTjhjyeskjEbP5RAFojdXNp4EfuiVt6q-ToRHZ_Pjsq3HOurWfmZl2TVig7JAOVpYBt-sV8Nwiw67oxN3R1rQfhsHvhMBcFapqiAu0sOlNmMyJjwCAThPYX2eii3xy9MUe6KXUJSAcxj6xPFHM-TIm9KHKhFrilqpk6E2-8GLBIGoVMbKojd74bf9i5qIG14HJEb99zoHxG5rh_nXJ4DytgftwphiiKRmqSkpEIxsCjj0mGfeOXVWDBNpHF2GJ738XF9DTSE33IUkfYD7Ug/\" alt=\" \" style=\"display:none\"/> ]]> </content> <width>320</width> <height>50</height> </richmediaAd> </ad>"
      }]
  }],
  "id":"BqzFJc1Ze7"
}