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

     1  {
     2      "description": "Verifies only allowed bid.request.ext.prebid values are passed to the bidder, leaving other ext fields untouched.",
     3      "incomingRequest": {
     4          "ortbRequest": {
     5              "id": "test-request-id",
     6              "site": {
     7                  "page": "test.testpage.com"
     8              },
     9              "imp": [
    10                  {
    11                      "id": "imp-id",
    12                      "video": {
    13                          "mimes": [
    14                              "video/mp4"
    15                          ]
    16                      },
    17                      "ext": {
    18                          "prebid": {
    19                              "bidder": {
    20                                  "appnexus": {
    21                                      "placementId": 1
    22                                  }
    23                              }
    24                          }
    25                      }
    26                  }
    27              ],
    28              "ext": {
    29                  "other": "test-other",
    30                  "prebid": {
    31                      "data": {
    32                          "eidpermissions": [
    33                              {
    34                                  "source": "test-source",
    35                                  "bidders": [
    36                                      "appnexus"
    37                                  ]
    38                              }
    39                          ]
    40                      },
    41                      "integration": "test-integration",
    42                      "channel": {
    43                          "name": "test-name",
    44                          "version": "test-version"
    45                      },
    46                      "debug": true,
    47                      "currency": {
    48                          "rates": {
    49                              "FOO": {
    50                                  "BAR": 42
    51                              }
    52                          },
    53                          "usepbsrates": true
    54                      },
    55                      "bidderparams": {
    56                          "appnexus": {
    57                              "param1": 1,
    58                              "paramA": "A"
    59                          },
    60                          "rubicon": {
    61                              "not": "permitted-for-appnexus"
    62                          }
    63                      },
    64                      "sdk": {
    65                          "renderers": [
    66                              {
    67                                  "name": "test-name",
    68                                  "version": "test-version",
    69                                  "data" : {
    70                                      "complex": "data"
    71                                  }
    72                              }
    73                          ]
    74                      }
    75                  }
    76              }
    77          }
    78      },
    79      "outgoingRequests": {
    80          "appnexus": {
    81              "expectRequest": {
    82                  "ortbRequest": {
    83                      "id": "test-request-id",
    84                      "site": {
    85                          "page": "test.testpage.com"
    86                      },
    87                      "imp": [
    88                          {
    89                              "id": "imp-id",
    90                              "video": {
    91                                  "mimes": [
    92                                      "video/mp4"
    93                                  ]
    94                              },
    95                              "ext": {
    96                                  "bidder": {
    97                                      "placementId": 1
    98                                  }
    99                              }
   100                          }
   101                      ],
   102                      "ext": {
   103                          "other": "test-other",
   104                          "prebid": {
   105                              "integration": "test-integration",
   106                              "channel": {
   107                                  "name": "test-name",
   108                                  "version": "test-version"
   109                              },
   110                              "debug": true,
   111                              "currency": {
   112                                  "rates": {
   113                                      "FOO": {
   114                                          "BAR": 42
   115                                      }
   116                                  },
   117                                  "usepbsrates": true
   118                              },
   119                              "bidderparams": {
   120                                  "param1": 1,
   121                                  "paramA": "A"
   122                              },
   123                              "sdk": {
   124                                  "renderers": [
   125                                      {
   126                                          "name": "test-name",
   127                                          "version": "test-version",
   128                                          "data": {
   129                                              "complex": "data"
   130                                          }
   131                                      }
   132                                  ]
   133                              }
   134                          }
   135                      }
   136                  }
   137              },
   138              "mockResponse": {
   139                  "pbsSeatBids": [
   140                      {
   141                          "pbsBids": [
   142                              {
   143                                  "ortbBid": {
   144                                      "id": "apn-bid",
   145                                      "impid": "imp-id",
   146                                      "price": 0.3,
   147                                      "w": 200,
   148                                      "h": 250,
   149                                      "crid": "creative-1"
   150                                  },
   151                                  "bidType": "video"
   152                              }
   153                          ],
   154                          "seat": "appnexus"
   155                      }
   156                  ]
   157              }
   158          }
   159      },
   160      "response": {
   161          "bids": {
   162              "id": "test-request-id",
   163              "seatbid": [
   164                  {
   165                      "seat": "appnexus",
   166                      "bid": [
   167                          {
   168                              "id": "apn-bid",
   169                              "impid": "imp-id",
   170                              "price": 0.3,
   171                              "w": 200,
   172                              "h": 250,
   173                              "crid": "creative-1",
   174                              "ext": {
   175                                  "origbidcpm": 0.3,
   176                                  "prebid": {
   177                                      "meta": {
   178                                      },
   179                                      "type": "video"
   180                                  }
   181                              }
   182                          }
   183                      ]
   184                  }
   185              ]
   186          }
   187      }
   188  }