github.com/prebid/prebid-server/v2@v2.18.0/adapters/smartadserver/smartadservertest/exemplary/native-app.json (about) 1 { 2 "mockBidRequest": { 3 "id": "some-request-id", 4 "device": { 5 "ua": "test-user-agent", 6 "ip": "123.123.123.123", 7 "language": "en", 8 "dnt": 0, 9 "make": "samsung", 10 "model": "sm-a505u", 11 "devicetype": 4, 12 "lmt": 0, 13 "w": 412, 14 "h": 812, 15 "pxratio": 2.625 16 }, 17 "tmax": 1000, 18 "user": { 19 "buyeruid": "awesome-user" 20 }, 21 "app": { 22 "name": "SmartNews: Local Breaking News", 23 "bundle": "jp.gocro.smartnews.android", 24 "publisher": { 25 "id": "pub-2647321473134964", 26 "ext": { 27 "country": "JP" 28 } 29 }, 30 "content": { 31 "url": "https://play.google.com/store/apps/details?id\u003djp.gocro.smartnews.android", 32 "userrating": "4.2", 33 "livestream": 0, 34 "language": "en" 35 }, 36 "storeurl": "https://play.google.com/store/apps/details?id\u003djp.gocro.smartnews.android", 37 "ext": { 38 "inventorypartnerdomain": "" 39 } 40 }, 41 "imp": [ 42 { 43 "id": "1", 44 "tagid": "1", 45 "bidfloor": 0.16, 46 "bidfloorcur": "EUR", 47 "secure": 1, 48 "native": { 49 "request": "{\"ver\":\"1.2\",\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":25}},{\"id\":2,\"required\":1,\"data\":{\"type\":2,\"len\":90}},{\"id\":3,\"data\":{\"type\":12,\"len\":15}},{\"id\":4,\"required\":1,\"img\":{\"type\":3,\"wmin\":1200,\"hmin\":627}},{\"id\":5,\"required\":1,\"img\":{\"type\":1,\"wmin\":100,\"hmin\":100}},{\"id\":6,\"data\":{\"type\":3,\"len\":5}},{\"id\":7,\"data\":{\"type\":6}}],\"eventtrackers\":[{\"event\":1,\"methods\":[1]}]}", 50 "ver": "1.2", 51 "api": [ 52 3, 53 5, 54 6 55 ] 56 }, 57 "metric": [ 58 { 59 "type": "viewability", 60 "value": 0.94, 61 "vendor": "EXCHANGE" 62 }, 63 { 64 "type": "session_depth", 65 "value": 2.0, 66 "vendor": "EXCHANGE" 67 } 68 ], 69 "ext": { 70 "billing_id": [ 71 "48566531714" 72 ], 73 "dfp_ad_unit_code": "/22455324824/US/Android/ChannelView/NonFirst/us_android_channelview_nonfirst_native_v", 74 "ampad": 2, 75 "open_bidding": { 76 "is_open_bidding": 1 77 }, 78 "creative_enforcement_settings": { 79 "policy_enforcement": 1, 80 "scan_enforcement": 3, 81 "publisher_blocks_enforcement": 2, 82 "is_default": 1 83 }, 84 "auction_environment": 0, 85 "bidder": { 86 "siteId": 1, 87 "pageId": 2, 88 "formatId": 3, 89 "networkId": 73 90 } 91 } 92 } 93 ] 94 }, 95 "httpCalls": [ 96 { 97 "expectedRequest": { 98 "headers": { 99 "Content-Type": [ 100 "application/json;charset=utf-8" 101 ], 102 "Accept": [ 103 "application/json" 104 ] 105 }, 106 "uri": "https://ssb.smartadserver.com/api/bid?callerId=5", 107 "body": { 108 "id": "some-request-id", 109 "device": { 110 "ua": "test-user-agent", 111 "ip": "123.123.123.123", 112 "language": "en", 113 "dnt": 0, 114 "make": "samsung", 115 "model": "sm-a505u", 116 "devicetype": 4, 117 "lmt": 0, 118 "w": 412, 119 "h": 812, 120 "pxratio": 2.625 121 }, 122 "tmax": 1000, 123 "user": { 124 "buyeruid": "awesome-user" 125 }, 126 "app": { 127 "name": "SmartNews: Local Breaking News", 128 "bundle": "jp.gocro.smartnews.android", 129 "publisher": { 130 "id": "pub-2647321473134964", 131 "ext": { 132 "country": "JP" 133 } 134 }, 135 "content": { 136 "url": "https://play.google.com/store/apps/details?id\u003djp.gocro.smartnews.android", 137 "userrating": "4.2", 138 "livestream": 0, 139 "language": "en" 140 }, 141 "storeurl": "https://play.google.com/store/apps/details?id\u003djp.gocro.smartnews.android", 142 "ext": { 143 "inventorypartnerdomain": "" 144 } 145 }, 146 "imp": [ 147 { 148 "id": "1", 149 "tagid": "1", 150 "bidfloor": 0.16, 151 "bidfloorcur": "EUR", 152 "secure": 1, 153 "native": { 154 "request": "{\"ver\":\"1.2\",\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":25}},{\"id\":2,\"required\":1,\"data\":{\"type\":2,\"len\":90}},{\"id\":3,\"data\":{\"type\":12,\"len\":15}},{\"id\":4,\"required\":1,\"img\":{\"type\":3,\"wmin\":1200,\"hmin\":627}},{\"id\":5,\"required\":1,\"img\":{\"type\":1,\"wmin\":100,\"hmin\":100}},{\"id\":6,\"data\":{\"type\":3,\"len\":5}},{\"id\":7,\"data\":{\"type\":6}}],\"eventtrackers\":[{\"event\":1,\"methods\":[1]}]}", 155 "ver": "1.2", 156 "api": [ 157 3, 158 5, 159 6 160 ] 161 }, 162 "metric": [ 163 { 164 "type": "viewability", 165 "value": 0.94, 166 "vendor": "EXCHANGE" 167 }, 168 { 169 "type": "session_depth", 170 "value": 2.0, 171 "vendor": "EXCHANGE" 172 } 173 ], 174 "ext": { 175 "billing_id": [ 176 "48566531714" 177 ], 178 "dfp_ad_unit_code": "/22455324824/US/Android/ChannelView/NonFirst/us_android_channelview_nonfirst_native_v", 179 "ampad": 2, 180 "open_bidding": { 181 "is_open_bidding": 1 182 }, 183 "creative_enforcement_settings": { 184 "policy_enforcement": 1, 185 "scan_enforcement": 3, 186 "publisher_blocks_enforcement": 2, 187 "is_default": 1 188 }, 189 "auction_environment": 0, 190 "bidder": { 191 "siteId": 1, 192 "pageId": 2, 193 "formatId": 3, 194 "networkId": 73 195 } 196 } 197 } 198 ], 199 "site": { 200 "publisher": { 201 "id": "73" 202 } 203 } 204 }, 205 "impIDs":["1"] 206 }, 207 "mockResponse": { 208 "status": 200, 209 "body": { 210 "id": "awesome-resp-id", 211 "seatbid": [ 212 { 213 "seat": "13936", 214 "bid": [ 215 { 216 "id": "905895002584918328", 217 "impid": "1", 218 "price": 0.86403, 219 "adm": "{\"native\":{\"ver\":\"1.2\",\"privacy\":\"https://privacy.us.criteo.com/adchoices?cppv\u003d3\u0026cpp\u003ddA0RezzRiApl49U79WS4eSofHI9xp0QYBojK_np3IC3bUxP--nXz3YJ9Knp3lffIaxxkyWjwHWw6E-om3O1QPVKQzRogO7TA1mZgFFS7oTrn5BAmxej9Ibf_f3nLqCMlvyUb0uBGRRY8e6F_4mMTsPfi0gfvHMHt9p9cMMz7_EMMB2a2\",\"assets\":[{\"id\":1,\"title\":{\"text\":\"Hotel Katla\"}},{\"id\":2,\"data\":{\"value\":\"Vik\"}},{\"id\":3,\"data\":{\"value\":\"Book Now\"}},{\"id\":4,\"img\":{\"url\":\"https://pix.us.criteo.net/img/img?c\u003d3\u0026cq\u003d256\u0026h\u003d800\u0026m\u003d0\u0026partner\u003d4653\u0026q\u003d80\u0026r\u003d2\u0026u\u003dhttps%3A%2F%2Fmedia-cdn.tripadvisor.com%2Fmedia%2Fphoto-s%2F1c%2Fe0%2Fd1%2F28%2Fb86401-exterior.jpg\u0026ups\u003d1\u0026v\u003d3\u0026w\u003d800\u0026s\u003dmfVfgFTxkIyJE1l8uEIH0kjY\",\"w\":800,\"h\":800,\"ext\":{\"imagemode\":1}}},{\"id\":5,\"img\":{\"url\":\"https://pix.us.criteo.net/img/img?h\u003d200\u0026m\u003d0\u0026partner\u003d4653\u0026q\u003d80\u0026r\u003d0\u0026u\u003dhttp%3A%2F%2Fstatic.va.us.criteo.net%2Fdesign%2Fdt%2F4653%2F220310%2Fa8c95dab6f4048a3a93333bb2df35394_logo_colorset_1_square.png\u0026v\u003d3\u0026w\u003d200\u0026s\u003dS_tJonEVlXbjJYH3qQhRMmmr\",\"w\":200,\"h\":200}},{\"id\":7,\"data\":{\"value\":\"from $212\"}}],\"link\":{\"url\":\"https://cat.va.us.criteo.com/delivery/ckn.php?cppv\u003d3\u0026cpp\u003d_Hp3ShHYhT6VGVf27R7phNvxu2hpEMhI-_juBZvPRzA-urYvy54GTjaheHPJy7u8s523QQV0dFM_3EsVBAkZLqLOmHSlm5FjpMn_-sQY_Fpu1m4uZi9T5i2t49tP2csthrSlyhHQHD55kOCkG2gTV5GV4gbBTeDun61HYB0ztXzScWk0jO9iEy-6YGY_6nZCB5LpUKuaiZ4ApBhNuHx6rQkJkdbBmKFnS0sY3Dvri6AigvbUsZiku6v_VGqTKlER65Z1UzFx-mGSn5yZjsjbO-Zf0l7xRNzZFb7dW_EZjZufLLL47fyT5uMcbVypmMYcu6Htxb5Z_wj3eL7gz_zThJxYi60PzBoI4F3dYznFPgl6NY_Nazp1nAryiPGiCDbpM4yGF_9Sh8pEg2Ev94beM_ymWaqEdYTuCor6_grea5K0GIXeKSv5c4FsGSrTflQmIE_nLrJuvI8wMGQC8JtuNdC43wwWnQj5tOhHcOANVvZBkE_M\u0026maxdest\u003dhttps%3A%2F%2Fwww.tripadvisor.com%2FHotel_Review-s1-d5030264%3Fm%3D66738%26supcm%3D288696%26supai%3D307147\"},\"eventtrackers\":[{\"event\":1,\"method\":1,\"url\":\"https://cat.va.us.criteo.com/delivery/lgn.php?cppv\u003d3\u0026cpp\u003dOYXXGxHYhT6VGVf27R7phNvxu2hpEMhI-_juBZvPRzA-urYvy54GTjaheHPJy7u8s523QQV0dFM_3EsVBAkZLqLOmHSlm5FjpMn_-sQY_Fpu1m4uZi9T5i2t49tP2csthrSlygJccxue8pR1zYveG3Rhcmzgt7JGjWy2WOHS5y42tNQvzbafDza85vKl66AQJCfeqdM_A6tUxZe2WFlSDw1s6sokf8fdldJ0aZucyWwh1Wx_tJbdzbyaD-j9TcpnAVsI2npiXJPI-_9xnE4pG3SAJiGZ2K4hWT34PkEC0g_9C9s1Hf6jQ6X1Wv0a8wa5IWLoMldXqnZ3W7jr9nPKXngjEy6n2-_WId8D9q9LkwXFcIR9LGovLfQ3U9XT9j1oJLzqgmyIVB9Z7VPF-NxHUDh1-fcjDMRMCPTKAOI4CcI8akLDN9M6XyaM7KLtHCHOpi1k-HT_gI70veWC4koE-UouUwM\u0026z\u003dsj0HnHF3bINdeGYjfRPFUEztMyUWhruGkElSEg\"}],\"assetsurl\":\"https://rdi.va.us.criteo.com/delivery/r/native?u\u003d%7CQ4DwbCv1DLCf%2FRGbTXtJ1gp584IIyg2Xyl6hmWNuvP4%3D%7C\u0026zn\u003dsj0HnHF3bINdeGYjfRPFUEztMyUWhruGkElSEg\u0026callback\u003d\u0026c1\u003dSEEq4vz4aLDKSl7f6j97sw4tGcTvFLx-G7HAXpahtNFbKhTsLPbfhYclWUAr1fpRrS5FKjKJDCrsY5WICFwCPtxotN6aDFevt17x9oLdclOk5qh_QOZ3AhwsnBXMPNEsxS6CR_ZPGwG6JmcbFms24fl9H5zHw7NWKcPTb_xtLsHLuKy3X2iAgHZ8QIT_87DNLHhfjmcEfnPnLr-669VrrQc4GLrjhWW8qFUaOfru2DjSZdBJjgxjTbuEbVI4NJ38zG7hgs13DDu9i7b9gidNjSJVg492IBN50JmS0p07mKQzgD2ELoa8cbdPnr9kwXwH3C6N_esaNHo87pj8DPHXQqVV6XvvZAeoQpUgo6Src_tX1eSo6ZHzH2mWXFCo6kP9BBf9HOdB8H5n1oL_rNxqfCthXOYzAlbAGeCvyc0GCeCuzwiCkq53bqcssz3E4Scul6ZDYUZltsbEeYLJPwkdMSviPH4Po-j9mUQaHW5lMABl2nam2q6lDoEFulNR8kz3R2BbrlMEoDHfcAtDf9gHKNndrYVRhfRtEMu0RW1SVdJ6fKuPvU1_zodMaXEpGmJ6dEwz04eBm22yN7nAaqJQYdEiiLuvrYyQZPzp6M8nXt66I8hzO9WfYk40EvQzg-fZMmr7NMke0_YPCm7oRyFZChAnbq3LE_jpjAuygA_S-Yq8y1d4RVhfRgTUdAdJaYne\"}}", 220 "adomain": [ 221 "tripadvisor.com" 222 ], 223 "crid": "11116594", 224 "w": 0, 225 "h": 0, 226 "exp": 0, 227 "qagmediarating": 0, 228 "ext": { 229 "event_notification_token": { 230 "payload": "4323.905895002584918328.1655998688532" 231 }, 232 "impression_tracking_url": [ 233 "https://ssb-use1.smartadserver.com:443/api/imp?callerid\u003d3\u0026rtb\u003d1\u0026rtbnid\u003d4323\u0026rtbbid\u003d905895002584918328\u0026rtbh\u003d5aa204f3c4aca84cb52ea307bbff41e44571485c\u0026rtblt\u003d637915954885316448\u0026rtbet\u003d2\u0026rtbptnid\u003d361\u0026cftgid\u003d4a496db2aade" 234 ] 235 } 236 } 237 ] 238 } 239 ], 240 "cur": "USD" 241 } 242 } 243 } 244 ], 245 "expectedBidResponses": [ 246 { 247 "bids": [ 248 { 249 "bid": { 250 "id": "905895002584918328", 251 "impid": "1", 252 "price": 0.86403, 253 "adm": "{\"native\":{\"ver\":\"1.2\",\"privacy\":\"https://privacy.us.criteo.com/adchoices?cppv\u003d3\u0026cpp\u003ddA0RezzRiApl49U79WS4eSofHI9xp0QYBojK_np3IC3bUxP--nXz3YJ9Knp3lffIaxxkyWjwHWw6E-om3O1QPVKQzRogO7TA1mZgFFS7oTrn5BAmxej9Ibf_f3nLqCMlvyUb0uBGRRY8e6F_4mMTsPfi0gfvHMHt9p9cMMz7_EMMB2a2\",\"assets\":[{\"id\":1,\"title\":{\"text\":\"Hotel Katla\"}},{\"id\":2,\"data\":{\"value\":\"Vik\"}},{\"id\":3,\"data\":{\"value\":\"Book Now\"}},{\"id\":4,\"img\":{\"url\":\"https://pix.us.criteo.net/img/img?c\u003d3\u0026cq\u003d256\u0026h\u003d800\u0026m\u003d0\u0026partner\u003d4653\u0026q\u003d80\u0026r\u003d2\u0026u\u003dhttps%3A%2F%2Fmedia-cdn.tripadvisor.com%2Fmedia%2Fphoto-s%2F1c%2Fe0%2Fd1%2F28%2Fb86401-exterior.jpg\u0026ups\u003d1\u0026v\u003d3\u0026w\u003d800\u0026s\u003dmfVfgFTxkIyJE1l8uEIH0kjY\",\"w\":800,\"h\":800,\"ext\":{\"imagemode\":1}}},{\"id\":5,\"img\":{\"url\":\"https://pix.us.criteo.net/img/img?h\u003d200\u0026m\u003d0\u0026partner\u003d4653\u0026q\u003d80\u0026r\u003d0\u0026u\u003dhttp%3A%2F%2Fstatic.va.us.criteo.net%2Fdesign%2Fdt%2F4653%2F220310%2Fa8c95dab6f4048a3a93333bb2df35394_logo_colorset_1_square.png\u0026v\u003d3\u0026w\u003d200\u0026s\u003dS_tJonEVlXbjJYH3qQhRMmmr\",\"w\":200,\"h\":200}},{\"id\":7,\"data\":{\"value\":\"from $212\"}}],\"link\":{\"url\":\"https://cat.va.us.criteo.com/delivery/ckn.php?cppv\u003d3\u0026cpp\u003d_Hp3ShHYhT6VGVf27R7phNvxu2hpEMhI-_juBZvPRzA-urYvy54GTjaheHPJy7u8s523QQV0dFM_3EsVBAkZLqLOmHSlm5FjpMn_-sQY_Fpu1m4uZi9T5i2t49tP2csthrSlyhHQHD55kOCkG2gTV5GV4gbBTeDun61HYB0ztXzScWk0jO9iEy-6YGY_6nZCB5LpUKuaiZ4ApBhNuHx6rQkJkdbBmKFnS0sY3Dvri6AigvbUsZiku6v_VGqTKlER65Z1UzFx-mGSn5yZjsjbO-Zf0l7xRNzZFb7dW_EZjZufLLL47fyT5uMcbVypmMYcu6Htxb5Z_wj3eL7gz_zThJxYi60PzBoI4F3dYznFPgl6NY_Nazp1nAryiPGiCDbpM4yGF_9Sh8pEg2Ev94beM_ymWaqEdYTuCor6_grea5K0GIXeKSv5c4FsGSrTflQmIE_nLrJuvI8wMGQC8JtuNdC43wwWnQj5tOhHcOANVvZBkE_M\u0026maxdest\u003dhttps%3A%2F%2Fwww.tripadvisor.com%2FHotel_Review-s1-d5030264%3Fm%3D66738%26supcm%3D288696%26supai%3D307147\"},\"eventtrackers\":[{\"event\":1,\"method\":1,\"url\":\"https://cat.va.us.criteo.com/delivery/lgn.php?cppv\u003d3\u0026cpp\u003dOYXXGxHYhT6VGVf27R7phNvxu2hpEMhI-_juBZvPRzA-urYvy54GTjaheHPJy7u8s523QQV0dFM_3EsVBAkZLqLOmHSlm5FjpMn_-sQY_Fpu1m4uZi9T5i2t49tP2csthrSlygJccxue8pR1zYveG3Rhcmzgt7JGjWy2WOHS5y42tNQvzbafDza85vKl66AQJCfeqdM_A6tUxZe2WFlSDw1s6sokf8fdldJ0aZucy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ZPzp6M8nXt66I8hzO9WfYk40EvQzg-fZMmr7NMke0_YPCm7oRyFZChAnbq3LE_jpjAuygA_S-Yq8y1d4RVhfRgTUdAdJaYne\"}}", 254 "adomain": [ 255 "tripadvisor.com" 256 ], 257 "crid": "11116594", 258 "ext": { 259 "event_notification_token": { 260 "payload": "4323.905895002584918328.1655998688532" 261 }, 262 "impression_tracking_url": [ 263 "https://ssb-use1.smartadserver.com:443/api/imp?callerid\u003d3\u0026rtb\u003d1\u0026rtbnid\u003d4323\u0026rtbbid\u003d905895002584918328\u0026rtbh\u003d5aa204f3c4aca84cb52ea307bbff41e44571485c\u0026rtblt\u003d637915954885316448\u0026rtbet\u003d2\u0026rtbptnid\u003d361\u0026cftgid\u003d4a496db2aade" 264 ] 265 } 266 }, 267 "type": "native" 268 } 269 ] 270 } 271 ] 272 }