github.com/prebid/prebid-server/v2@v2.18.0/adapters/appnexus/appnexustest/supplemental/placement-id-as-string-test.json (about) 1 { 2 "mockBidRequest": { 3 "id": "some-req-id", 4 "imp": [ 5 { 6 "id": "some-imp-id", 7 "native": { 8 "request": "{\"ver\":\"1.1\",\"context\":1,\"contextsubtype\":11,\"plcmttype\":4,\"plcmtcnt\":1,\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":500}},{\"id\":2,\"required\":1,\"img\":{\"type\":3,\"wmin\":1,\"hmin\":1}},{\"id\":3,\"required\":0,\"data\":{\"type\":1,\"len\":200}},{\"id\":4,\"required\":0,\"data\":{\"type\":2,\"len\":15000}},{\"id\":5,\"required\":0,\"data\":{\"type\":6,\"len\":40}},{\"id\":6,\"required\":0,\"data\":{\"type\":500}}]}", 9 "ver": "1.1" 10 }, 11 "ext": { 12 "bidder": { 13 "placement_id": "9880618" 14 } 15 } 16 } 17 ], 18 "site": { 19 "domain": "prebid.org", 20 "page": "prebid.org" 21 }, 22 "device": { 23 "ip": "152.193.6.74" 24 }, 25 "user": { 26 "id": "db089de9-a62e-4861-a881-0ff15e052516", 27 "buyeruid": "8299345306627569435" 28 }, 29 "tmax": 500 30 }, 31 "httpcalls": [ 32 { 33 "expectedRequest": { 34 "uri": "http://ib.adnxs.com/openrtb2", 35 "body": { 36 "id": "some-req-id", 37 "imp": [ 38 { 39 "id": "some-imp-id", 40 "native": { 41 "request": "{\"ver\":\"1.1\",\"context\":1,\"contextsubtype\":11,\"plcmttype\":4,\"plcmtcnt\":1,\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":500}},{\"id\":2,\"required\":1,\"img\":{\"type\":3,\"wmin\":1,\"hmin\":1}},{\"id\":3,\"required\":0,\"data\":{\"type\":1,\"len\":200}},{\"id\":4,\"required\":0,\"data\":{\"type\":2,\"len\":15000}},{\"id\":5,\"required\":0,\"data\":{\"type\":6,\"len\":40}},{\"id\":6,\"required\":0,\"data\":{\"type\":500}}]}", 42 "ver": "1.1" 43 }, 44 "ext": { 45 "appnexus": { 46 "placement_id": 9880618 47 } 48 } 49 } 50 ], 51 "ext": { 52 "appnexus": { 53 "hb_source": 5 54 } 55 }, 56 "site": { 57 "domain": "prebid.org", 58 "page": "prebid.org" 59 }, 60 "device": { 61 "ip": "152.193.6.74" 62 }, 63 "user": { 64 "id": "db089de9-a62e-4861-a881-0ff15e052516", 65 "buyeruid": "8299345306627569435" 66 }, 67 "tmax": 500 68 }, 69 "impIDs":["some-imp-id"] 70 }, 71 "mockResponse": { 72 "status": 200, 73 "body": { 74 "id": "some-req-id", 75 "seatbid": [ 76 { 77 "bid": [ 78 { 79 "id": "928185755156387460", 80 "impid": "some-imp-id", 81 "price": 1.000000, 82 "adid": "69595837", 83 "adm": "{}", 84 "adomain": [ 85 "appnexus.com" 86 ], 87 "iurl": "http://nym1-ib.adnxs.com/cr?id=69595837", 88 "cid": "958", 89 "crid": "69595837", 90 "cat": [ 91 "IAB3-1" 92 ], 93 "ext": { 94 "appnexus": { 95 "brand_id": 350, 96 "brand_category_id": 350, 97 "auction_id": 5607483846416358664, 98 "bidder_id": 2, 99 "bid_ad_type": 3, 100 "deal_priority": 5 101 } 102 } 103 } 104 ], 105 "seat": "958" 106 } 107 ], 108 "bidid": "8141327771600527856", 109 "cur": "USD" 110 } 111 } 112 } 113 ], 114 "expectedBidResponses": [ 115 { 116 "currency": "USD", 117 "bids": [ 118 { 119 "bid": { 120 "id": "928185755156387460", 121 "impid": "some-imp-id", 122 "price": 1, 123 "adm": "{}", 124 "adid": "69595837", 125 "adomain": [ 126 "appnexus.com" 127 ], 128 "iurl": "http://nym1-ib.adnxs.com/cr?id=69595837", 129 "cid": "958", 130 "crid": "69595837", 131 "cat": [ 132 "IAB3-1" 133 ], 134 "ext": { 135 "appnexus": { 136 "brand_id": 350, 137 "brand_category_id": 350, 138 "auction_id": 5607483846416358664, 139 "bidder_id": 2, 140 "bid_ad_type": 3, 141 "deal_priority": 5 142 } 143 } 144 }, 145 "type": "native" 146 } 147 ] 148 } 149 ] 150 } 151