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

     1  {
     2    "description": "Amp request rejected",
     3    "query": "tag_id=101",
     4    "config": {
     5      "mockBidders": [
     6        {"bidderName": "appnexus", "currency": "USD", "price": 2}
     7      ]
     8    },
     9    "mockBidRequest": {
    10      "id": "my-req-id",
    11      "site": {
    12        "page": "test.somepage.com"
    13      },
    14      "imp": [
    15        {
    16          "id": "my-imp-id",
    17          "banner": {
    18            "format": [
    19              {
    20                "w": 300,
    21                "h": 600
    22              }
    23            ]
    24          },
    25          "ext": {
    26            "prebid": {
    27              "bidder": {
    28                "appnexus": {
    29                  "placementId": 12883451
    30                }
    31              }
    32            }
    33          }
    34        }
    35      ],
    36      "ext": {
    37        "prebid": {
    38          "trace": "verbose",
    39          "aliases": {
    40            "unknown": "appnexus"
    41          }
    42        }
    43      }
    44    },
    45    "expectedAmpResponse": {
    46      "targeting": {},
    47      "ortb2": {
    48        "ext": {
    49          "prebid": {
    50            "modules": {
    51              "trace": {
    52                "stages": [
    53                  {
    54                    "stage": "processed_auction_request",
    55                    "outcomes": [
    56                      {
    57                        "entity": "auction-request",
    58                        "groups": [
    59                          {
    60                            "invocation_results": [
    61                              {
    62                                "analytics_tags": {},
    63                                "hook_id": {
    64                                  "module_code": "foobar",
    65                                  "hook_impl_code": "foo"
    66                                },
    67                                "status": "success",
    68                                "action": "reject",
    69                                "message": ""
    70                              }
    71                            ]
    72                          }
    73                        ]
    74                      }
    75                    ]
    76                  }
    77                ]
    78              }
    79            }
    80          }
    81        }
    82      }
    83    },
    84    "expectedReturnCode": 200
    85  }