github.com/prebid/prebid-server/v2@v2.18.0/adapters/appnexus/appnexustest/exemplary/simple-video.json (about)

     1  {
     2  	"mockBidRequest": {
     3  	  "id": "test-request-id",
     4  	  "imp": [
     5  		{
     6  		  "id": "test-imp-id",
     7  		  "video": {
     8  			"mimes": ["video/mp4"],
     9  			"minduration": 15,
    10  			"maxduration": 30,
    11  			"protocols": [2, 3, 5, 6, 7, 8],
    12  			"w": 940,
    13  			"h": 560
    14  		  },
    15  		  "ext": {
    16  			"bidder": {
    17  			  "placement_id": 1
    18  			}
    19  		  }
    20  		}
    21  	  ]
    22  	},
    23  
    24  	"httpCalls": [
    25  	  {
    26  		"expectedRequest": {
    27  		  "uri": "http://ib.adnxs.com/openrtb2",
    28  		  "body": {
    29  			"id": "test-request-id",
    30  			"ext": {
    31  				"appnexus": {
    32  				  "hb_source": 5
    33  				}
    34  			  },
    35  			"imp": [
    36  			  {
    37  				"id": "test-imp-id",
    38  				"video": {
    39  					"mimes": ["video/mp4"],
    40  					"minduration": 15,
    41  					"maxduration": 30,
    42  					"protocols": [2, 3, 5, 6, 7, 8],
    43  					"w": 940,
    44  					"h": 560
    45  				  },
    46  				"ext": {
    47  				  "appnexus": {
    48  					"placement_id": 1
    49  				  }
    50  				}
    51  			  }
    52  			]
    53  		  },
    54  		  "impIDs":["test-imp-id"]
    55  		},
    56  		"mockResponse": {
    57  		  "status": 200,
    58  		  "body": {
    59  			"id": "test-request-id",
    60  			"seatbid": [
    61  			  {
    62  				"seat": "958",
    63  				"bid": [{
    64  				  "id": "7706636740145184841",
    65  				  "impid": "test-imp-id",
    66  				  "price": 0.500000,
    67  				  "adid": "29681110",
    68  				  "adm": "some-test-ad",
    69  				  "adomain": ["appnexus.com"],
    70  				  "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
    71  				  "cid": "958",
    72  				  "crid": "29681110",
    73  				  "h": 250,
    74  					"w": 300,
    75  					"cat": ["IAB9-1"],
    76  				  "ext": {
    77  					"appnexus": {
    78  					  "brand_id": 9,
    79  						"brand_category_id": 9,
    80  					  "auction_id": 8189378542222915032,
    81  					  "bid_ad_type": 1,
    82  					  "bidder_id": 2,
    83  					  "ranking_price": 0.000000,
    84  					  "deal_priority": 5
    85  					}
    86  				  }
    87  				}]
    88  			  }
    89  			],
    90  			"bidid": "5778926625248726496",
    91  			"cur": "USD"
    92  		  }
    93  		}
    94  	  }
    95  	],
    96  
    97  	"expectedBidResponses": [
    98  	  {
    99  		"currency": "USD",
   100  		"bids": [
   101  		  {
   102  			"bid": {
   103  			  "id": "7706636740145184841",
   104  			  "impid": "test-imp-id",
   105  			  "price": 0.5,
   106  			  "adm": "some-test-ad",
   107  			  "adid": "29681110",
   108  			  "adomain": ["appnexus.com"],
   109  			  "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
   110  			  "cid": "958",
   111  			  "crid": "29681110",
   112  			  "w": 300,
   113  			  "h": 250,
   114  			  "cat": ["IAB5-1"],
   115  			  "ext": {
   116  				"appnexus": {
   117  				  "brand_id": 9,
   118  					"brand_category_id": 9,
   119  				  "auction_id": 8189378542222915032,
   120  				  "bid_ad_type": 1,
   121  				  "bidder_id": 2,
   122  				  "ranking_price": 0.000000,
   123  				  "deal_priority": 5
   124  				}
   125  			  }
   126  			},
   127  			"type": "video"
   128  		  }
   129  		]
   130  	  }
   131  	]
   132    }