github.com/prebid/prebid-server@v0.275.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  		},
    55  		"mockResponse": {
    56  		  "status": 200,
    57  		  "body": {
    58  			"id": "test-request-id",
    59  			"seatbid": [
    60  			  {
    61  				"seat": "958",
    62  				"bid": [{
    63  				  "id": "7706636740145184841",
    64  				  "impid": "test-imp-id",
    65  				  "price": 0.500000,
    66  				  "adid": "29681110",
    67  				  "adm": "some-test-ad",
    68  				  "adomain": ["appnexus.com"],
    69  				  "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
    70  				  "cid": "958",
    71  				  "crid": "29681110",
    72  				  "h": 250,
    73  					"w": 300,
    74  					"cat": ["IAB9-1"],
    75  				  "ext": {
    76  					"appnexus": {
    77  					  "brand_id": 9,
    78  						"brand_category_id": 9,
    79  					  "auction_id": 8189378542222915032,
    80  					  "bid_ad_type": 1,
    81  					  "bidder_id": 2,
    82  					  "ranking_price": 0.000000,
    83  					  "deal_priority": 5
    84  					}
    85  				  }
    86  				}]
    87  			  }
    88  			],
    89  			"bidid": "5778926625248726496",
    90  			"cur": "USD"
    91  		  }
    92  		}
    93  	  }
    94  	],
    95  
    96  	"expectedBidResponses": [
    97  	  {
    98  		"currency": "USD",
    99  		"bids": [
   100  		  {
   101  			"bid": {
   102  			  "id": "7706636740145184841",
   103  			  "impid": "test-imp-id",
   104  			  "price": 0.5,
   105  			  "adm": "some-test-ad",
   106  			  "adid": "29681110",
   107  			  "adomain": ["appnexus.com"],
   108  			  "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
   109  			  "cid": "958",
   110  			  "crid": "29681110",
   111  			  "w": 300,
   112  			  "h": 250,
   113  			  "cat": ["IAB5-1"],
   114  			  "ext": {
   115  				"appnexus": {
   116  				  "brand_id": 9,
   117  					"brand_category_id": 9,
   118  				  "auction_id": 8189378542222915032,
   119  				  "bid_ad_type": 1,
   120  				  "bidder_id": 2,
   121  				  "ranking_price": 0.000000,
   122  				  "deal_priority": 5
   123  				}
   124  			  }
   125  			},
   126  			"type": "video"
   127  		  }
   128  		]
   129  	  }
   130  	]
   131    }