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

     1  {
     2      "floors_enabled": true,
     3      "account_floors_enabled": true,
     4      "incomingRequest": {
     5        "ortbRequest": {
     6          "id": "some-request-id",
     7          "site": {
     8            "page": "test.somepage.com"
     9          },
    10          "imp": [
    11            {
    12              "id": "my-imp-id",
    13              "video": {
    14                "mimes": [
    15                  "video/mp4"
    16                ]
    17              },
    18              "ext": {
    19                "prebid": {
    20                  "bidder": {
    21                    "appnexus": {
    22                      "placementId": 1
    23                    },
    24                    "audienceNetwork": {
    25                      "placementId": "some-placement"
    26                    }
    27                  }
    28                }
    29              }
    30            }
    31          ],
    32          "ext": {
    33            "prebid": {
    34              "floors": {
    35                "data": {
    36                  "modelgroups": [
    37                    {
    38                      "currency": "USD",
    39                      "modelversion": "version1",
    40                      "default": 5,
    41                      "values": {
    42                        "banner|www.website.com": 3,
    43                        "video|www.website.com": 7,
    44                        "*|*": 11
    45                      },
    46                      "schema": {
    47                        "fields": [
    48                          "mediaType",
    49                          "domain"
    50                        ],
    51                        "delimiter": "|"
    52                      }
    53                    }
    54                  ]
    55                },
    56                "enabled": true,
    57                "enforcement": {
    58                  "enforcepbs": true,
    59                  "floordeals": true,
    60                  "enforcerate": 100
    61                }
    62              }
    63            }
    64          }
    65        }
    66      },
    67      "outgoingRequests": {
    68        "appnexus": {
    69          "mockResponse": {
    70            "pbsSeatBids": [
    71              {
    72                "pbsBids": [
    73                  {
    74                    "ortbBid": {
    75                      "id": "winning-bid1",
    76                      "impid": "my-imp-id",
    77                      "price": 12,
    78                      "w": 200,
    79                      "h": 250,
    80                      "crid": "creative-1",
    81                      "cat": [
    82                        "IAB1-1"
    83                      ]
    84                    }
    85                  }
    86                ],
    87                "seat": "appnexus",
    88                "currency": "USD"
    89              }
    90            ]
    91          }
    92        },
    93        "audienceNetwork": {
    94          "mockResponse": {
    95            "pbsSeatBids": [
    96              {
    97                "pbsBids": [
    98                  {
    99                    "ortbBid": {
   100                      "id": "winning-bid2",
   101                      "impid": "my-imp-id",
   102                      "price": 7,
   103                      "w": 200,
   104                      "h": 250,
   105                      "crid": "creative-1",
   106                      "cat": [
   107                        "IAB1-1"
   108                      ]
   109                    }
   110                  }
   111                ],
   112                "seat": "audienceNetwork",
   113                "currency": "USD"
   114              }
   115            ]
   116          }
   117        }
   118      },
   119      "response": {
   120        "bids": {
   121          "id": "some-request-id",
   122          "seatbid": [
   123            {
   124              "seat": "appnexus",
   125              "bid": [
   126                {
   127                  "id": "winning-bid1",
   128                  "impid": "my-imp-id",
   129                  "price": 12,
   130                  "w": 200,
   131                  "h": 250,
   132                  "crid": "creative-1",
   133                  "cat": [
   134                    "IAB1-1"
   135                  ],
   136                  "ext": {
   137                    "origbidcpm": 12,
   138                    "prebid": {
   139                      "meta": {
   140                      },
   141                      "floors": {
   142                        "floorCurrency": "USD",
   143                        "floorRule": "*|*",
   144                        "floorRuleValue": 11,
   145                        "floorValue": 11
   146                      }
   147                    }
   148                  }
   149                }
   150              ]
   151            }
   152          ]
   153        },
   154        "ext": {
   155          "prebid": {
   156            "seatnonbid": [
   157             {
   158              "nonbid": [
   159                {
   160                  "impid": "my-imp-id",
   161                  "statuscode": 301,
   162                  "ext": {
   163                    "prebid": {
   164                      "bid": {
   165                        "price": 7,
   166                        "w": 200,
   167                        "h": 250,
   168                        "origbidcpm": 7,
   169                        "cat": [
   170                          "IAB1-1"
   171                        ]
   172                      }
   173                    }
   174                  }
   175                }
   176              ],
   177              "seat": "audienceNetwork",
   178              "ext": null
   179            }
   180          ]
   181        }
   182       }
   183      }
   184    }