github.com/prebid/prebid-server@v0.275.0/adapters/openx/openxtest/exemplary/video-rewarded.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-id", 4 "imp": [ 5 { 6 "id": "test-imp-id", 7 "video": { 8 "mimes": ["video/mp4"], 9 "protocols": [2, 5], 10 "w": 1024, 11 "h": 576, 12 "ext": { 13 "foo": "bar" 14 } 15 }, 16 "instl": 1, 17 "ext": { 18 "bidder": { 19 "unit": "539439964", 20 "delDomain": "se-demo-d.openx.net" 21 }, 22 "prebid": { 23 "is_rewarded_inventory": 1 24 } 25 } 26 } 27 ] 28 }, 29 30 "httpCalls": [ 31 { 32 "expectedRequest": { 33 "uri": "http://rtb.openx.net/prebid", 34 "body": { 35 "id": "test-request-id", 36 "imp": [ 37 { 38 "id": "test-imp-id", 39 "video": { 40 "mimes": ["video/mp4"], 41 "protocols": [2, 5], 42 "w": 1024, 43 "h": 576, 44 "ext": { 45 "rewarded": 1 46 } 47 }, 48 "tagid": "539439964", 49 "instl": 1 50 } 51 ], 52 "ext": { 53 "bc": "hb_pbs_1.0.0", 54 "delDomain": "se-demo-d.openx.net" 55 } 56 } 57 }, 58 "mockResponse": { 59 "status": 200, 60 "body": { 61 "id": "test-request-id", 62 "cur": "USD", 63 "seatbid": [ 64 { 65 "seat": "openx", 66 "bid": [{ 67 "id": "8ee514f1-b2b8-4abb-89fd-084437d1e800", 68 "impid": "test-imp-id", 69 "price": 0.500000, 70 "adm": "some-test-ad", 71 "crid": "crid_10", 72 "w": 1024, 73 "h": 576 74 }] 75 } 76 ] 77 } 78 } 79 } 80 ], 81 82 83 "expectedBidResponses": [ 84 { 85 "currency": "USD", 86 "bids": [ 87 { 88 "bid": { 89 "id": "8ee514f1-b2b8-4abb-89fd-084437d1e800", 90 "impid": "test-imp-id", 91 "price": 0.5, 92 "adm": "some-test-ad", 93 "crid": "crid_10", 94 "w": 1024, 95 "h": 576 96 }, 97 "type": "video" 98 } 99 ] 100 } 101 ] 102 }