github.com/prebid/prebid-server/v2@v2.18.0/exchange/exchangetest/targeting-only-winners.json (about)

     1  {
     2    "incomingRequest": {
     3      "ortbRequest": {
     4        "id": "some-request-id",
     5        "site": {
     6          "page": "test.somepage.com"
     7        },
     8        "imp": [
     9          {
    10            "id": "my-imp-id",
    11            "video": {
    12              "mimes": [
    13                "video/mp4"
    14              ]
    15            },
    16            "ext": {
    17              "prebid": {
    18                "bidder": {
    19                  "appnexus": {
    20                    "placementId": 1
    21                  },
    22                  "audienceNetwork": {
    23                    "placementId": "some-placement"
    24                  }
    25                }
    26              }
    27            }
    28          },
    29          {
    30            "id": "imp-id-2",
    31            "video": {
    32              "mimes": [
    33                "video/mp4"
    34              ]
    35            },
    36            "ext": {
    37              "prebid": {
    38                "bidder": {
    39                  "appnexus": {
    40                    "placementId": 2
    41                  },
    42                  "audienceNetwork": {
    43                    "placementId": "some-other-placement"
    44                  }
    45                }
    46              }
    47            }
    48          }
    49        ],
    50        "ext": {
    51          "prebid": {
    52            "targeting": {
    53              "pricegranularity": {
    54                "precision": 2,
    55                "ranges": [
    56                  {
    57                    "min": 0,
    58                    "max": 20,
    59                    "increment": 0.1
    60                  }
    61                ]
    62              },
    63              "includewinners": true,
    64              "includebidderkeys": false
    65            }
    66          }
    67        }
    68      }
    69    },
    70    "outgoingRequests": {
    71      "appnexus": {
    72        "mockResponse": {
    73          "pbsSeatBids": [
    74            {
    75              "pbsBids": [
    76                {
    77                  "ortbBid": {
    78                    "id": "winning-bid",
    79                    "impid": "my-imp-id",
    80                    "price": 0.71,
    81                    "w": 200,
    82                    "h": 250,
    83                    "crid": "creative-1"
    84                  },
    85                  "bidType": "video"
    86                },
    87                {
    88                  "ortbBid": {
    89                    "id": "losing-bid",
    90                    "impid": "my-imp-id",
    91                    "price": 0.21,
    92                    "w": 200,
    93                    "h": 250,
    94                    "crid": "creative-2"
    95                  },
    96                  "bidType": "video"
    97                },
    98                {
    99                  "ortbBid": {
   100                    "id": "other-bid",
   101                    "impid": "imp-id-2",
   102                    "price": 0.61,
   103                    "w": 300,
   104                    "h": 500,
   105                    "crid": "creative-3"
   106                  },
   107                  "bidType": "video"
   108                }
   109              ],
   110              "seat": "appnexus"
   111            }
   112          ]
   113        }
   114      },
   115      "audienceNetwork": {
   116        "mockResponse": {
   117          "pbsSeatBids": [
   118            {
   119              "pbsBids": [
   120                {
   121                  "ortbBid": {
   122                    "id": "contending-bid",
   123                    "impid": "my-imp-id",
   124                    "price": 0.51,
   125                    "w": 200,
   126                    "h": 250,
   127                    "crid": "creative-4"
   128                  },
   129                  "bidType": "video"
   130                }
   131              ],
   132              "seat": "audienceNetwork"
   133            }
   134          ]
   135        }
   136      }
   137    },
   138    "response": {
   139      "bids": {
   140        "id": "some-request-id",
   141        "seatbid": [
   142          {
   143            "seat": "audienceNetwork",
   144            "bid": [
   145              {
   146                "id": "contending-bid",
   147                "impid": "my-imp-id",
   148                "price": 0.51,
   149                "w": 200,
   150                "h": 250,
   151                "crid": "creative-4",
   152                "ext": {
   153                  "origbidcpm": 0.51,
   154                  "prebid": {
   155                    "meta": {
   156                    },
   157                    "type": "video"
   158                  }
   159                }
   160              }
   161            ]
   162          },
   163          {
   164            "seat": "appnexus",
   165            "bid": [
   166              {
   167                "id": "winning-bid",
   168                "impid": "my-imp-id",
   169                "price": 0.71,
   170                "w": 200,
   171                "h": 250,
   172                "crid": "creative-1",
   173                "ext": {
   174                  "origbidcpm": 0.71,
   175                  "prebid": {
   176                    "meta": {
   177                    },
   178                    "type": "video",
   179                    "targeting": {
   180                      "hb_bidder": "appnexus",
   181                      "hb_cache_host": "www.pbcserver.com",
   182                      "hb_cache_path": "/pbcache/endpoint",
   183                      "hb_pb": "0.70",
   184                      "hb_size": "200x250"
   185                    }
   186                  }
   187                }
   188              },
   189              {
   190                "id": "losing-bid",
   191                "impid": "my-imp-id",
   192                "price": 0.21,
   193                "w": 200,
   194                "h": 250,
   195                "crid": "creative-2",
   196                "ext": {
   197                  "origbidcpm": 0.21,
   198                  "prebid": {
   199                    "meta": {
   200                    },
   201                    "type": "video"
   202                  }
   203                }
   204              },
   205              {
   206                "id": "other-bid",
   207                "impid": "imp-id-2",
   208                "price": 0.61,
   209                "w": 300,
   210                "h": 500,
   211                "crid": "creative-3",
   212                "ext": {
   213                  "origbidcpm": 0.61,
   214                  "prebid": {
   215                    "meta": {
   216                    },
   217                    "type": "video",
   218                    "targeting": {
   219                      "hb_bidder": "appnexus",
   220                      "hb_cache_host": "www.pbcserver.com",
   221                      "hb_cache_path": "/pbcache/endpoint",
   222                      "hb_pb": "0.60",
   223                      "hb_size": "300x500"
   224                    }
   225                  }
   226                }
   227              }
   228            ]
   229          }
   230        ]
   231      }
   232    }
   233  }