github.com/prebid/prebid-server/v2@v2.18.0/exchange/exchangetest/bid_response_validation_enforce_one_bid_rejected.json (about)

     1  {
     2      "host_bid_validations": {
     3          "banner_creative_max_size": "enforce",
     4          "secure_markup": "skip",
     5          "max_creative_width": 100,
     6          "max_creative_height": 100
     7      },
     8      "incomingRequest": {
     9          "ortbRequest": {
    10              "id": "some-request-id",
    11              "site": {
    12                  "page": "test.somepage.com"
    13              },
    14              "imp": [
    15                  {
    16                      "id": "some-imp-id",
    17                      "banner": {
    18                          "format": [
    19                              {
    20                                  "w": 600,
    21                                  "h": 500
    22                              },
    23                              {
    24                                  "w": 300,
    25                                  "h": 600
    26                              }
    27                          ]
    28                      },
    29                      "ext": {
    30                          "prebid": {
    31                              "bidder": {
    32                                  "appnexus": {
    33                                      "placementId": 1
    34                                  },
    35                                  "rubicon": {
    36                                      "accountId": 1,
    37                                      "siteId": 2,
    38                                      "zoneId": 3
    39                                  }
    40                              }
    41                          }
    42                      }
    43                  }
    44              ]
    45          }
    46      },
    47      "outgoingRequests": {
    48          "appnexus": {
    49              "expectRequest": {
    50                  "ortbRequest": {
    51                      "id": "some-request-id",
    52                      "site": {
    53                          "page": "test.somepage.com"
    54                      },
    55                      "imp": [
    56                          {
    57                              "id": "some-imp-id",
    58                              "banner": {
    59                                  "format": [
    60                                      {
    61                                          "w": 600,
    62                                          "h": 500
    63                                      },
    64                                      {
    65                                          "w": 300,
    66                                          "h": 600
    67                                      }
    68                                  ]
    69                              },
    70                              "ext": {
    71                                  "bidder": {
    72                                      "placementId": 1
    73                                  }
    74                              }
    75                          }
    76                      ]
    77                  }
    78              },
    79              "mockResponse": {
    80                  "pbsSeatBids": [
    81                      {
    82                          "pbsBids": [
    83                              {
    84                                  "ortbBid": {
    85                                      "id": "apn-bid",
    86                                      "impid": "some-imp-id",
    87                                      "price": 0.3,
    88                                      "w": 200,
    89                                      "h": 500,
    90                                      "crid": "creative-1"
    91                                  },
    92                                  "bidType": "banner"
    93                              }
    94                          ],
    95                          "seat": "appnexus"
    96                      }
    97                  ]
    98              }
    99          },
   100          "rubicon": {
   101              "expectRequest": {
   102                  "ortbRequest": {
   103                      "id": "some-request-id",
   104                      "site": {
   105                          "page": "test.somepage.com"
   106                      },
   107                      "imp": [
   108                          {
   109                              "id": "some-imp-id",
   110                              "banner": {
   111                                  "format": [
   112                                      {
   113                                          "w": 600,
   114                                          "h": 500
   115                                      },
   116                                      {
   117                                          "w": 300,
   118                                          "h": 600
   119                                      }
   120                                  ]
   121                              },
   122                              "ext": {
   123                                  "bidder": {
   124                                      "accountId": 1,
   125                                      "siteId": 2,
   126                                      "zoneId": 3
   127                                  }
   128                              }
   129                          }
   130                      ]
   131                  }
   132              },
   133              "mockResponse": {
   134                  "pbsSeatBids": [
   135                      {
   136                          "pbsBids": [
   137                              {
   138                                  "ortbBid": {
   139                                      "id": "rubi-bid",
   140                                      "impid": "some-imp-id",
   141                                      "price": 0.4,
   142                                      "w": 20,
   143                                      "h": 50,
   144                                      "crid": "creative-2"
   145                                  },
   146                                  "bidType": "banner"
   147                              }
   148                          ],
   149                          "seat": "rubicon"
   150                      }
   151                  ]
   152              }
   153          }
   154      },
   155      "response": {
   156          "bids": {
   157              "id": "some-request-id",
   158              "seatbid": [
   159                  {
   160                      "seat": "appnexus",
   161                      "bid": []
   162                  },
   163                  {
   164                      "seat": "rubicon",
   165                      "bid": [
   166                          {
   167                              "id": "rubi-bid",
   168                              "impid": "some-imp-id",
   169                              "price": 0.4,
   170                              "w": 20,
   171                              "h": 50,
   172                              "crid": "creative-2",
   173                              "ext": {
   174                                  "origbidcpm": 0.4,
   175                                  "prebid": {
   176                                      "meta": {
   177                                      },
   178                                      "type": "banner"
   179                                  }
   180                              }
   181                          }
   182                      ]
   183                  }
   184              ]
   185          },
   186          "ext": {
   187              "errors": {
   188                  "appnexus": [
   189                      {
   190                          "code": 4,
   191                          "message": "bidResponse rejected: size WxH"
   192                      }
   193                  ]
   194              },
   195              "prebid": {
   196                  "seatnonbid": [
   197                      {
   198                          "nonbid": [
   199                              {
   200                                  "impid": "some-imp-id",
   201                                  "statuscode": 351,
   202                                  "ext": {
   203                                      "prebid": {
   204                                          "bid": {
   205                                              "price": 0.3,
   206                                              "w": 200,
   207                                              "h": 500,
   208                                              "origbidcpm": 0.3
   209                                          }
   210                                      }
   211                                  }
   212                              }
   213                          ],
   214                          "seat": "appnexus",
   215                          "ext": null
   216                      }
   217                  ]
   218              }
   219          }
   220      }
   221  }