github.com/prebid/prebid-server/v2@v2.18.0/endpoints/openrtb2/sample-requests/hooks/auction_raw_auction_request_reject.json (about)

     1  {
     2    "description": "Auction request rejected",
     3    "config": {
     4      "mockBidders": [
     5        {"bidderName": "appnexus", "currency": "USD", "price": 0.00}
     6      ]
     7    },
     8    "mockBidRequest": {
     9      "id": "some-request-id",
    10      "site": {
    11        "page": "prebid.org"
    12      },
    13      "imp": [
    14        {
    15          "id": "some-impression-id",
    16          "banner": {
    17            "format": [
    18              {
    19                "w": 300,
    20                "h": 250
    21              }
    22            ]
    23          },
    24          "ext": {
    25            "appnexus": {
    26              "placementId": 12883451
    27            }
    28          }
    29        }
    30      ],
    31      "tmax": 500,
    32      "ext": {
    33        "prebid": {
    34          "trace": "verbose"
    35        }
    36      }
    37    },
    38    "expectedBidResponse": {
    39      "id": "some-request-id",
    40      "nbr": 123,
    41      "ext": {
    42        "prebid": {
    43          "modules": {
    44            "trace": {
    45              "stages": [
    46                {
    47                  "stage": "raw_auction_request",
    48                  "outcomes": [
    49                    {
    50                      "entity": "auction-request",
    51                      "groups": [
    52                        {
    53                          "invocation_results": [
    54                            {
    55                              "analytics_tags": {},
    56                              "hook_id": {
    57                                "module_code": "foobar",
    58                                "hook_impl_code": "foo"
    59                              },
    60                              "status": "success",
    61                              "action": "reject",
    62                              "message": ""
    63                            }
    64                          ]
    65                        }
    66                      ]
    67                    }
    68                  ]
    69                }
    70              ]
    71            }
    72          }
    73        }
    74      }
    75    },
    76    "expectedReturnCode": 200
    77  }