github.com/prebid/prebid-server/v2@v2.18.0/adapters/appnexus/appnexustest/supplemental/reserve-test.json (about)

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