github.com/prebid/prebid-server/v2@v2.18.0/exchange/exchangetest/events-bid-account-on-request-off.json (about)

     1  {
     2    "events_enabled": true,
     3    "start_time_ms": 1234567890,
     4    "incomingRequest": {
     5      "ortbRequest": {
     6        "id": "some-request-id",
     7        "site": {
     8          "id": "some-site"
     9        },
    10        "imp": [
    11          {
    12            "id": "my-imp-id",
    13            "banner": {},
    14            "ext": {
    15              "prebid": {
    16                "bidder": {
    17                  "appnexus": {
    18                    "placementId": 1
    19                  }
    20                }
    21              }
    22            }
    23          }
    24        ],
    25        "ext": {
    26          "prebid": {
    27            "integration": "testIntegrationType"
    28          }
    29        }
    30      }
    31    },
    32    "outgoingRequests": {
    33      "appnexus": {
    34        "mockResponse": {
    35          "pbsSeatBids": [
    36            {
    37              "pbsBids": [
    38                {
    39                  "ortbBid": {
    40                    "id": "winning-bid",
    41                    "impid": "my-imp-id",
    42                    "price": 0.71,
    43                    "w": 200,
    44                    "h": 250,
    45                    "crid": "creative-1"
    46                  },
    47                  "bidType": "banner"
    48                },
    49                {
    50                  "ortbBid": {
    51                    "id": "losing-bid",
    52                    "impid": "my-imp-id",
    53                    "price": 0.21,
    54                    "w": 200,
    55                    "h": 250,
    56                    "crid": "creative-2"
    57                  },
    58                  "bidType": "banner"
    59                }
    60              ],
    61              "seat": "appnexus"
    62            }
    63          ]
    64        }
    65      }
    66    },
    67    "response": {
    68      "bids": {
    69        "id": "some-request-id",
    70        "seatbid": [
    71          {
    72            "seat": "appnexus",
    73            "bid": [
    74              {
    75                "id": "winning-bid",
    76                "impid": "my-imp-id",
    77                "price": 0.71,
    78                "w": 200,
    79                "h": 250,
    80                "crid": "creative-1",
    81                "ext": {
    82                  "origbidcpm": 0.71,
    83                  "prebid": {
    84                    "meta": {
    85                    },
    86                    "type": "banner",
    87                    "events": {
    88                      "imp": "http://localhost/event?t=imp&b=winning-bid&a=testaccount&bidder=appnexus&int=testIntegrationType&ts=1234567890",
    89                      "win": "http://localhost/event?t=win&b=winning-bid&a=testaccount&bidder=appnexus&int=testIntegrationType&ts=1234567890"
    90                    }
    91                  }
    92                }
    93              },
    94              {
    95                "id": "losing-bid",
    96                "impid": "my-imp-id",
    97                "price": 0.21,
    98                "w": 200,
    99                "h": 250,
   100                "crid": "creative-2",
   101                "ext": {
   102                  "origbidcpm": 0.21,
   103                  "prebid": {
   104                    "meta": {
   105                    },
   106                    "type": "banner",
   107                    "events": {
   108                      "imp": "http://localhost/event?t=imp&b=losing-bid&a=testaccount&bidder=appnexus&int=testIntegrationType&ts=1234567890",
   109                      "win": "http://localhost/event?t=win&b=losing-bid&a=testaccount&bidder=appnexus&int=testIntegrationType&ts=1234567890"
   110                    }
   111                  }
   112                }
   113              }
   114            ]
   115          }
   116        ]
   117      }
   118    }
   119  }