github.com/prebid/prebid-server@v0.275.0/adapters/orbidder/orbiddertest/supplemental/valid-and-invalid-imps.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-id", 4 "app": { 5 "bundle": "com.prebid" 6 }, 7 "device": { 8 "ifa":"87857b31-8942-4646-ae80-ab9c95bf3fab" 9 }, 10 "imp": [ 11 { 12 "id": "test-imp-id", 13 "banner": { 14 "format": [ 15 { 16 "w": 300, 17 "h": 250 18 } 19 ] 20 }, 21 "ext": { 22 "bidder": { 23 "accountId": "orbidder-test", 24 "placementId": "test-placement", 25 "bidfloor": 0.1 26 } 27 } 28 }, 29 { 30 "id": "test-imp-id-INVALID", 31 "banner": { 32 "format": [{}] 33 } 34 } 35 ] 36 }, 37 "httpCalls": [ 38 { 39 "expectedRequest": { 40 "uri": "https://orbidder-test", 41 "body": { 42 "id": "test-request-id", 43 "app": { 44 "bundle": "com.prebid" 45 }, 46 "device": { 47 "ifa":"87857b31-8942-4646-ae80-ab9c95bf3fab" 48 }, 49 "imp": [ 50 { 51 "id": "test-imp-id", 52 "banner": { 53 "format": [ 54 { 55 "w": 300, 56 "h": 250 57 } 58 ] 59 }, 60 "bidfloorcur": "EUR", 61 "ext": { 62 "bidder": { 63 "accountId": "orbidder-test", 64 "placementId": "test-placement", 65 "bidfloor": 0.1 66 } 67 } 68 } 69 ] 70 } 71 }, 72 "mockResponse": { 73 "status": 200, 74 "body": { 75 "id": "test-request-id", 76 "seatbid": [ 77 { 78 "seat": "seat-id", 79 "bid": [ 80 { 81 "id": "8ee514f1-b2b8-4abb-89fd-084437d1e800", 82 "impid": "test-imp-id", 83 "adid": "11110126", 84 "price": 0.500000, 85 "adm": "some-test-ad", 86 "crid": "test-crid", 87 "h": 250, 88 "w": 300, 89 "mtype": 1 90 } 91 ] 92 } 93 ], 94 "cur": "EUR" 95 } 96 } 97 } 98 ], 99 "expectedBidResponses": [ 100 { 101 "currency": "EUR", 102 "bids": [ 103 { 104 "bid": { 105 "id": "8ee514f1-b2b8-4abb-89fd-084437d1e800", 106 "impid": "test-imp-id", 107 "adid": "11110126", 108 "price": 0.5, 109 "adm": "some-test-ad", 110 "crid": "test-crid", 111 "w": 300, 112 "h": 250, 113 "mtype": 1 114 }, 115 "type": "banner" 116 } 117 ] 118 } 119 ], 120 "expectedMakeRequestsErrors": [ 121 { 122 "value": "unexpected end of JSON input", 123 "comparison": "literal" 124 } 125 ] 126 }