github.com/prebid/prebid-server@v0.275.0/adapters/smartyads/smartyadstest/exemplary/banner-web.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 }, 10 "tmax": 1000, 11 "user": { 12 "buyeruid": "awesome-user" 13 }, 14 "site": { 15 "page": "test.com", 16 "publisher": { 17 "id": "123456789" 18 } 19 }, 20 "imp": [ 21 { 22 "id": "some-impression-id", 23 "tagid": "ogTAGID", 24 "banner": { 25 "w":320, 26 "h":50 27 }, 28 "ext": { 29 "bidder": { 30 "host": "ep1", 31 "sourceid": "partner", 32 "accountid": "hash" 33 } 34 } 35 } 36 ] 37 }, 38 "httpCalls": [ 39 { 40 "expectedRequest": { 41 "headers": { 42 "Content-Type": [ 43 "application/json;charset=utf-8" 44 ], 45 "Accept": [ 46 "application/json" 47 ], 48 "X-Openrtb-Version": [ 49 "2.5" 50 ], 51 "User-Agent": [ 52 "test-user-agent" 53 ], 54 "X-Forwarded-For": [ 55 "123.123.123.123" 56 ], 57 "Accept-Language": [ 58 "en" 59 ], 60 "Dnt": [ 61 "0" 62 ] 63 }, 64 "uri": "http://ep1.example.com/bid?rtb_seat_id=partner&secret_key=hash", 65 "body": { 66 "id": "some-request-id", 67 "device": { 68 "ua": "test-user-agent", 69 "ip": "123.123.123.123", 70 "language": "en", 71 "dnt": 0 72 }, 73 "imp": [ 74 { 75 "id": "some-impression-id", 76 "tagid": "ogTAGID", 77 "banner": { 78 "w":320, 79 "h":50 80 } 81 } 82 ], 83 "site": { 84 "page": "test.com", 85 "publisher": { 86 "id": "123456789" 87 } 88 }, 89 "user": { 90 "buyeruid": "awesome-user" 91 }, 92 "tmax": 1000 93 } 94 }, 95 "mockResponse": { 96 "status": 200, 97 "body": { 98 "id": "awesome-resp-id", 99 "seatbid": [ 100 { 101 "bid": [ 102 { 103 "id": "a3ae1b4e2fc24a4fb45540082e98e161", 104 "impid": "1", 105 "price": 3.5, 106 "adm": "awesome-markup", 107 "adomain": [ 108 "awesome.com" 109 ], 110 "crid": "20", 111 "w": 320, 112 "h": 50 113 } 114 ], 115 "type": "banner", 116 "seat": "smartyads" 117 } 118 ], 119 "cur": "USD", 120 "ext": { 121 "responsetimemillis": { 122 "smartyads": 154 123 }, 124 "tmaxrequest": 1000 125 } 126 } 127 } 128 } 129 ], 130 "expectedBidResponses": [ 131 { 132 "bids":[ 133 { 134 "bid": { 135 "id": "a3ae1b4e2fc24a4fb45540082e98e161", 136 "impid": "1", 137 "price": 3.5, 138 "adm": "awesome-markup", 139 "crid": "20", 140 "adomain": [ 141 "awesome.com" 142 ], 143 "w": 320, 144 "h": 50 145 }, 146 "type": "banner" 147 } 148 ] 149 } 150 ] 151 }