github.com/prebid/prebid-server/v2@v2.18.0/adapters/appnexus/appnexustest/supplemental/multi-bid.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            }
    23          }
    24        }
    25      ]
    26    },
    27  
    28    "httpCalls": [
    29      {
    30        "expectedRequest": {
    31          "uri": "http://ib.adnxs.com/openrtb2",
    32          "body": {
    33            "id": "test-request-id",
    34            "ext": {
    35              "appnexus": {
    36                "hb_source": 5
    37              }
    38            },
    39            "imp": [
    40              {
    41                "id": "test-imp-id",
    42                "banner": {
    43                  "format": [
    44                    {
    45                      "w": 300,
    46                      "h": 250
    47                    },
    48                    {
    49                      "w": 300,
    50                      "h": 600
    51                    }
    52                  ],
    53                  "w": 300,
    54                  "h": 250
    55                },
    56                "ext": {
    57                  "appnexus": {
    58                    "placement_id": 1
    59                  }
    60                }
    61              }
    62            ]
    63          },
    64          "impIDs":["test-imp-id"]
    65        },
    66        "mockResponse": {
    67          "status": 200,
    68          "body": {
    69            "id": "test-request-id",
    70            "seatbid": [
    71              {
    72                "seat": "958",
    73                "bid": [{
    74                  "id": "7706636740145184841",
    75                  "impid": "test-imp-id",
    76                  "price": 0.500000,
    77                  "adid": "29681110",
    78                  "adm": "some-test-ad",
    79                  "adomain": ["appnexus.com"],
    80                  "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
    81                  "cid": "958",
    82                  "crid": "29681110",
    83                  "h": 250,
    84                  "w": 300,
    85                  "ext": {
    86                    "appnexus": {
    87                      "brand_id": 1,
    88                      "brand_category_id": 1,
    89                      "auction_id": 8189378542222915032,
    90                      "bid_ad_type": 0,
    91                      "bidder_id": 2,
    92                      "ranking_price": 0.000000,
    93                      "deal_priority": 4
    94                    }
    95                  }
    96                },
    97                {
    98                  "id": "7706636740145184842",
    99                  "impid": "test-imp-id",
   100                  "price": 0.400000,
   101                  "adid": "29681110",
   102                  "adm": "some-test-ad",
   103                  "adomain": ["appnexus.com"],
   104                  "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
   105                  "cid": "958",
   106                  "crid": "29681110",
   107                  "h": 250,
   108                  "w": 300,
   109                  "ext": {
   110                    "appnexus": {
   111                      "brand_id": 1,
   112                      "brand_category_id": 1,
   113                      "auction_id": 8189378542222915032,
   114                      "bid_ad_type": 0,
   115                      "bidder_id": 2,
   116                      "ranking_price": 0.000000,
   117                      "deal_priority": 5
   118                    }
   119                  }
   120                }]
   121              }
   122            ],
   123            "bidid": "5778926625248726496",
   124            "cur": "USD"
   125          }
   126        }
   127      }
   128    ],
   129  
   130    "expectedBidResponses": [
   131      {
   132        "currency": "USD",
   133        "bids": [
   134          {
   135            "bid": {
   136              "id": "7706636740145184841",
   137              "impid": "test-imp-id",
   138              "price": 0.5,
   139              "adm": "some-test-ad",
   140              "adid": "29681110",
   141              "adomain": ["appnexus.com"],
   142              "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
   143              "cid": "958",
   144              "crid": "29681110",
   145              "w": 300,
   146              "h": 250,
   147              "cat": ["IAB20-3"],
   148              "ext": {
   149                "appnexus": {
   150                  "brand_id": 1,
   151                  "brand_category_id": 1,
   152                  "auction_id": 8189378542222915032,
   153                  "bid_ad_type": 0,
   154                  "bidder_id": 2,
   155                  "ranking_price": 0.000000,
   156                  "deal_priority": 4
   157                }
   158              }
   159            },
   160            "type": "banner"
   161          },
   162          {
   163            "bid": {
   164              "id": "7706636740145184842",
   165              "impid": "test-imp-id",
   166              "price": 0.400000,
   167              "adid": "29681110",
   168              "adm": "some-test-ad",
   169              "adomain": ["appnexus.com"],
   170              "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
   171              "cid": "958",
   172              "crid": "29681110",
   173              "h": 250,
   174              "w": 300,
   175              "cat": ["IAB20-3"],
   176              "ext": {
   177                "appnexus": {
   178                  "brand_id": 1,
   179                  "brand_category_id": 1,
   180                  "auction_id": 8189378542222915032,
   181                  "bid_ad_type": 0,
   182                  "bidder_id": 2,
   183                  "ranking_price": 0.000000,
   184                  "deal_priority": 5
   185                }
   186              }
   187            },
   188            "type": "banner"
   189          }
   190        ]
   191      }
   192    ]
   193  }