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