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

     1  {
     2      "floors_enabled": true,
     3      "account_floors_enabled": true,
     4      "account_enforce_deal_floors": true,
     5      "incomingRequest": {
     6        "ortbRequest": {
     7          "id": "request-id",
     8          "site": {
     9            "page": "test.somepage.com"
    10          },
    11          "imp": [
    12            {
    13              "id": "imp-id",
    14              "video": {
    15                "mimes": [
    16                  "video/mp4"
    17                ]
    18              },
    19              "bidfloor": 20,
    20              "bidfloorcur": "USD",
    21              "ext": {
    22                "prebid": {
    23                  "bidder": {
    24                    "appnexus": {
    25                      "placementId": 1
    26                    },
    27                    "pubmatic": {
    28                      "publisherId": "1234"
    29                    }
    30                  }
    31                }
    32              }
    33            }
    34          ],
    35          "ext": {
    36            "prebid": {
    37              "floors": {
    38                "enabled": true,
    39                "enforcement": {
    40                  "floordeals": true,
    41                  "enforcerate": 100
    42                }
    43              }
    44            }
    45          }
    46        }
    47      },
    48      "outgoingRequests": {
    49        "appnexus": {
    50          "mockResponse": {
    51            "pbsSeatBids": [
    52              {
    53                "pbsBids": [
    54                  {
    55                    "ortbBid": {
    56                      "id": "apnx-bid-id",
    57                      "dealid": "apnx-deal-id",
    58                      "impid": "imp-id",
    59                      "price": 5,
    60                      "w": 200,
    61                      "h": 250,
    62                      "crid": "creative-1"
    63                    }
    64                  }
    65                ],
    66                "seat": "appnexus",
    67                "currency": "USD"
    68              }
    69            ]
    70          }
    71        },
    72        "pubmatic": {
    73          "mockResponse": {
    74            "pbsSeatBids": [
    75              {
    76                "pbsBids": [
    77                  {
    78                    "ortbBid": {
    79                      "id": "pubm-bid-id",
    80                      "impid": "imp-id",
    81                      "price": 10,
    82                      "w": 200,
    83                      "h": 250,
    84                      "crid": "creative-1"
    85                    }
    86                  }
    87                ],
    88                "seat": "pubmatic",
    89                "currency": "USD"
    90              }
    91            ]
    92          }
    93        }
    94      },
    95      "response": {
    96        "bids": {},
    97        "ext": {
    98          "prebid": {
    99            "seatnonbid": [
   100             {
   101              "nonbid": [
   102                {
   103                  "impid": "imp-id",
   104                  "statuscode": 304,
   105                  "ext": {
   106                    "prebid": {
   107                      "bid": {
   108                        "price": 5,
   109                        "w": 200,
   110                        "h": 250,
   111                        "crid": "creative-1",
   112                        "origbidcpm": 5,
   113                        "dealid": "apnx-deal-id"
   114                      }
   115                    }
   116                  }
   117                }
   118              ],
   119              "seat": "appnexus",
   120              "ext": null
   121            },
   122            {
   123              "nonbid": [
   124                {
   125                  "impid": "imp-id",
   126                  "statuscode": 301,
   127                  "ext": {
   128                    "prebid": {
   129                      "bid": {
   130                        "price": 10,
   131                        "w": 200,
   132                        "h": 250,
   133                        "crid": "creative-1",
   134                        "origbidcpm": 10
   135                      }
   136                    }
   137                  }
   138                }
   139              ],
   140              "seat": "pubmatic",
   141              "ext": null
   142            }
   143          ]
   144        }
   145       }
   146      }
   147    }