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

     1  {
     2    "description": "Auction request rejected at bidder-level stage",
     3    "config": {
     4      "mockBidders": [
     5        {"bidderName": "appnexus", "currency": "USD", "price": 0.00},
     6        {"bidderName": "rubicon", "currency": "USD", "price": 0.00}
     7      ]
     8    },
     9    "mockBidRequest": {
    10      "id": "some-request-id",
    11      "site": {
    12        "page": "prebid.org"
    13      },
    14      "imp": [
    15        {
    16          "id": "some-impression-id",
    17          "banner": {
    18            "format": [
    19              {
    20                "w": 300,
    21                "h": 250
    22              }
    23            ]
    24          },
    25          "ext": {
    26            "appnexus": {
    27              "placementId": 12883451
    28            },
    29            "rubicon": {
    30              "placementId": 12883451
    31            }
    32          }
    33        }
    34      ],
    35      "tmax": 500,
    36      "test": 1,
    37      "ext": {
    38        "prebid": {
    39          "trace": "verbose"
    40        }
    41      }
    42    },
    43    "expectedBidResponse": {
    44      "id":"some-request-id",
    45      "bidid":"test bid id",
    46      "cur":"USD",
    47      "nbr":null,
    48      "seatbid": [
    49        {
    50          "bid": [
    51            {
    52              "id": "rubicon-bid",
    53              "impid": "some-impression-id",
    54              "price": 0
    55            }
    56          ],
    57          "seat": "rubicon"
    58        }
    59      ],
    60      "ext": {
    61        "warnings": {
    62          "appnexus": [
    63            {
    64              "code": 11,
    65              "message": "Module foobar (hook: foo) rejected request with code 123 at raw_bidder_response stage"
    66            }
    67          ]
    68        },
    69        "prebid": {
    70          "modules": {
    71            "errors": {
    72              "foobar": {
    73                "foo": [
    74                  "Module foobar (hook: foo) rejected request with code 123 at raw_bidder_response stage"
    75                ]
    76              }
    77            },
    78            "trace": {
    79              "stages": [
    80                {
    81                  "outcomes": [
    82                    {
    83                      "entity": "appnexus",
    84                      "groups": [
    85                        {
    86                          "invocation_results": [
    87                            {
    88                              "action": "reject",
    89                              "analytics_tags": {},
    90                              "hook_id": {
    91                                "hook_impl_code": "foo",
    92                                "module_code": "foobar"
    93                              },
    94                              "message": "",
    95                              "status": "success"
    96                            }
    97                          ]
    98                        }
    99                      ]
   100                    },
   101                    {
   102                      "entity": "rubicon",
   103                      "groups": [
   104                        {
   105                          "invocation_results": [
   106                            {
   107                              "action": "no_action",
   108                              "analytics_tags": {},
   109                              "hook_id": {
   110                                "hook_impl_code": "foo",
   111                                "module_code": "foobar"
   112                              },
   113                              "message": "",
   114                              "status": "success"
   115                            }
   116                          ]
   117                        }
   118                      ]
   119                    }
   120                  ],
   121                  "stage": "raw_bidder_response"
   122                }
   123              ]
   124            }
   125          }
   126        }
   127      }
   128    },
   129    "expectedReturnCode": 200
   130  }