github.com/prebid/prebid-server/v2@v2.18.0/adapters/gothamads/gothamadstest/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": "accountId" 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-e-node1.gothamads.com/?pass=accountId", 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 "impIDs":["some-impression-id"] 99 }, 100 "mockResponse": { 101 "status": 200, 102 "body": { 103 "id": "awesome-resp-id", 104 "seatbid": [ 105 { 106 "bid": [ 107 { 108 "id": "a3ae1b4e2fc24a4fb45540082e98e161", 109 "impid": "some-impression-id", 110 "price": 3.5, 111 "adm": "awesome-markup", 112 "adomain": [ 113 "awesome.com" 114 ], 115 "crid": "20", 116 "mtype": 4 117 } 118 ], 119 "type": "native", 120 "seat": "gothamads" 121 } 122 ], 123 "cur": "USD" 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 "mtype": 4 142 }, 143 "type": "native" 144 } 145 ] 146 } 147 ] 148 }