github.com/prebid/prebid-server/v2@v2.18.0/endpoints/openrtb2/sample-requests/valid-whole/exemplary/targeting-optional-includeformat-only.json (about) 1 { 2 "description": "Targeting flags are all undefined besides includeformat, request is still valid, defaults should come in for other flags so targeting data should be present in bid", 3 "config": { 4 "mockBidders": [ 5 { 6 "bidderName": "appnexus", 7 "currency": "USD", 8 "price": 1.00 9 } 10 ] 11 }, 12 "mockBidRequest": { 13 "id": "some-request-id", 14 "site": { 15 "page": "prebid.org" 16 }, 17 "imp": [ 18 { 19 "id": "some-impression-id", 20 "banner": { 21 "format": [ 22 { 23 "w": 300, 24 "h": 250 25 }, 26 { 27 "w": 300, 28 "h": 600 29 } 30 ] 31 }, 32 "ext": { 33 "appnexus": { 34 "placementId": 12883451 35 } 36 } 37 } 38 ], 39 "tmax": 500, 40 "ext": { 41 "prebid": { 42 "targeting": { 43 "includeformat": true 44 } 45 } 46 } 47 }, 48 "expectedBidResponse": { 49 "id": "some-request-id", 50 "seatbid": [ 51 { 52 "bid": [ 53 { 54 "id": "appnexus-bid", 55 "impid": "some-impression-id", 56 "price": 1.00, 57 "ext": { 58 "origbidcpm": 1, 59 "origbidcur": "USD", 60 "prebid": { 61 "meta": { 62 "adaptercode": "appnexus" 63 }, 64 "targeting": { 65 "hb_bidder": "appnexus", 66 "hb_bidder_appnexus": "appnexus", 67 "hb_cache_host": "www.pbcserver.com", 68 "hb_cache_host_appnex": "www.pbcserver.com", 69 "hb_cache_path": "/pbcache/endpoint", 70 "hb_cache_path_appnex": "/pbcache/endpoint", 71 "hb_format": "banner", 72 "hb_format_appnexus": "banner", 73 "hb_pb": "1.00", 74 "hb_pb_appnexus": "1.00" 75 }, 76 "type": "banner" 77 } 78 } 79 } 80 ], 81 "seat": "appnexus" 82 } 83 ], 84 "bidid": "test bid id", 85 "cur": "USD", 86 "nbr": 0 87 }, 88 "expectedReturnCode": 200 89 }