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