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

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