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