github.com/prebid/prebid-server/v2@v2.18.0/adapters/smartyads/smartyadstest/exemplary/native-web.json (about) 1 { 2 "mockBidRequest": { 3 "id": "some-request-id", 4 "device": { 5 "ua": "test-user-agent", 6 "ipv6": "2607:fb90:f27:4512:d800:cb23:a603:e245", 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 "native": { 25 "ver":"1.1", 26 "request":"{\"adunit\":2,\"assets\":[{\"id\":3,\"img\":{\"h\":120,\"hmin\":0,\"type\":3,\"w\":180,\"wmin\":0},\"required\":1},{\"id\":0,\"required\":1,\"title\":{\"len\":25}},{\"data\":{\"len\":25,\"type\":1},\"id\":4,\"required\":1},{\"data\":{\"len\":140,\"type\":2},\"id\":6,\"required\":1}],\"context\":1,\"layout\":1,\"contextsubtype\":11,\"plcmtcnt\":1,\"plcmttype\":2,\"ver\":\"1.1\",\"ext\":{\"banner\":{\"w\":320,\"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 "2607:fb90:f27:4512:d800:cb23:a603:e245" 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 "ipv6": "2607:fb90:f27:4512:d800:cb23:a603:e245", 70 "language": "en", 71 "dnt": 0 72 }, 73 "imp": [ 74 { 75 "id": "some-impression-id", 76 "tagid": "ogTAGID", 77 "native": { 78 "ver":"1.1", 79 "request":"{\"adunit\":2,\"assets\":[{\"id\":3,\"img\":{\"h\":120,\"hmin\":0,\"type\":3,\"w\":180,\"wmin\":0},\"required\":1},{\"id\":0,\"required\":1,\"title\":{\"len\":25}},{\"data\":{\"len\":25,\"type\":1},\"id\":4,\"required\":1},{\"data\":{\"len\":140,\"type\":2},\"id\":6,\"required\":1}],\"context\":1,\"layout\":1,\"contextsubtype\":11,\"plcmtcnt\":1,\"plcmttype\":2,\"ver\":\"1.1\",\"ext\":{\"banner\":{\"w\":320,\"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 "impIDs":["some-impression-id"] 95 }, 96 "mockResponse": { 97 "status": 200, 98 "body": { 99 "id": "awesome-resp-id", 100 "seatbid": [ 101 { 102 "bid": [ 103 { 104 "id": "a3ae1b4e2fc24a4fb45540082e98e161", 105 "impid": "some-impression-id", 106 "price": 3.5, 107 "adm": "awesome-markup", 108 "adomain": [ 109 "awesome.com" 110 ], 111 "crid": "20" 112 } 113 ], 114 "seat": "smartyads" 115 } 116 ], 117 "cur": "USD", 118 "ext": { 119 "responsetimemillis": { 120 "smartyads": 154 121 }, 122 "tmaxrequest": 1000 123 } 124 } 125 } 126 } 127 ], 128 "expectedBidResponses": [ 129 { 130 "bids":[ 131 { 132 "bid": { 133 "id": "a3ae1b4e2fc24a4fb45540082e98e161", 134 "impid": "some-impression-id", 135 "price": 3.5, 136 "adm": "awesome-markup", 137 "crid": "20", 138 "adomain": [ 139 "awesome.com" 140 ] 141 }, 142 "type": "native" 143 } 144 ] 145 } 146 ] 147 }