github.com/prebid/prebid-server@v0.275.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        },
    65        "mockResponse": {
    66          "status": 200,
    67          "body": {
    68            "id": "test-request-id",
    69            "seatbid": [
    70              {
    71                "seat": "958",
    72                "bid": [{
    73                  "id": "7706636740145184841",
    74                  "impid": "test-imp-id",
    75                  "price": 0.500000,
    76                  "adid": "29681110",
    77                  "adm": "some-test-ad",
    78                  "adomain": ["appnexus.com"],
    79                  "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
    80                  "cid": "958",
    81                  "crid": "29681110",
    82                  "h": 250,
    83                  "w": 300,
    84                  "ext": {
    85                    "appnexus": {
    86                      "brand_id": 1,
    87                      "brand_category_id": 1,
    88                      "auction_id": 8189378542222915032,
    89                      "bid_ad_type": 0,
    90                      "bidder_id": 2,
    91                      "ranking_price": 0.000000,
    92                      "deal_priority": 4
    93                    }
    94                  }
    95                },
    96                {
    97                  "id": "7706636740145184842",
    98                  "impid": "test-imp-id",
    99                  "price": 0.400000,
   100                  "adid": "29681110",
   101                  "adm": "some-test-ad",
   102                  "adomain": ["appnexus.com"],
   103                  "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
   104                  "cid": "958",
   105                  "crid": "29681110",
   106                  "h": 250,
   107                  "w": 300,
   108                  "ext": {
   109                    "appnexus": {
   110                      "brand_id": 1,
   111                      "brand_category_id": 1,
   112                      "auction_id": 8189378542222915032,
   113                      "bid_ad_type": 0,
   114                      "bidder_id": 2,
   115                      "ranking_price": 0.000000,
   116                      "deal_priority": 5
   117                    }
   118                  }
   119                }]
   120              }
   121            ],
   122            "bidid": "5778926625248726496",
   123            "cur": "USD"
   124          }
   125        }
   126      }
   127    ],
   128  
   129    "expectedBidResponses": [
   130      {
   131        "currency": "USD",
   132        "bids": [
   133          {
   134            "bid": {
   135              "id": "7706636740145184841",
   136              "impid": "test-imp-id",
   137              "price": 0.5,
   138              "adm": "some-test-ad",
   139              "adid": "29681110",
   140              "adomain": ["appnexus.com"],
   141              "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
   142              "cid": "958",
   143              "crid": "29681110",
   144              "w": 300,
   145              "h": 250,
   146              "cat": ["IAB20-3"],
   147              "ext": {
   148                "appnexus": {
   149                  "brand_id": 1,
   150                  "brand_category_id": 1,
   151                  "auction_id": 8189378542222915032,
   152                  "bid_ad_type": 0,
   153                  "bidder_id": 2,
   154                  "ranking_price": 0.000000,
   155                  "deal_priority": 4
   156                }
   157              }
   158            },
   159            "type": "banner"
   160          },
   161          {
   162            "bid": {
   163              "id": "7706636740145184842",
   164              "impid": "test-imp-id",
   165              "price": 0.400000,
   166              "adid": "29681110",
   167              "adm": "some-test-ad",
   168              "adomain": ["appnexus.com"],
   169              "iurl": "http://nym1-ib.adnxs.com/cr?id=29681110",
   170              "cid": "958",
   171              "crid": "29681110",
   172              "h": 250,
   173              "w": 300,
   174              "cat": ["IAB20-3"],
   175              "ext": {
   176                "appnexus": {
   177                  "brand_id": 1,
   178                  "brand_category_id": 1,
   179                  "auction_id": 8189378542222915032,
   180                  "bid_ad_type": 0,
   181                  "bidder_id": 2,
   182                  "ranking_price": 0.000000,
   183                  "deal_priority": 5
   184                }
   185              }
   186            },
   187            "type": "banner"
   188          }
   189        ]
   190      }
   191    ]
   192  }