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