github.com/prebid/prebid-server@v0.275.0/exchange/exchangetest/bid-id-valid.json (about)

     1  {
     2      "bidIDGenerator": {
     3          "generateBidID": true,
     4          "returnError": false
     5      },
     6      "incomingRequest": {
     7          "ortbRequest": {
     8              "id": "some-request-id",
     9              "site": {
    10                  "page": "test.somepage.com"
    11              },
    12              "imp": [
    13                  {
    14                      "id": "my-imp-id",
    15                      "video": {
    16                          "mimes": [
    17                              "video/mp4"
    18                          ]
    19                      },
    20                      "ext": {
    21                          "prebid": {
    22                              "bidder": {
    23                                  "appnexus": {
    24                                      "placementId": 1
    25                                  }
    26                              }
    27                          }
    28                      }
    29                  }
    30              ],
    31              "test": 1,
    32              "ext": {
    33                  "prebid": {
    34                      "targeting": {
    35                          "includebrandcategory": {
    36                              "primaryadserver": 1,
    37                              "publisher": "",
    38                              "withcategory": true
    39                          },
    40                          "pricegranularity": {
    41                              "precision": 2,
    42                              "ranges": [
    43                                  {
    44                                      "min": 0,
    45                                      "max": 20,
    46                                      "increment": 0.1
    47                                  }
    48                              ]
    49                          },
    50                          "includewinners": true,
    51                          "includebidderkeys": true,
    52                          "appendbiddernames": true
    53                      }
    54                  }
    55              }
    56          },
    57          "usersyncs": {
    58              "appnexus": "123"
    59          }
    60      },
    61      "outgoingRequests": {
    62          "appnexus": {
    63              "mockResponse": {
    64                  "pbsSeatBids": [
    65                      {
    66                          "pbsBids": [
    67                              {
    68                                  "ortbBid": {
    69                                      "id": "apn-bid",
    70                                      "impid": "my-imp-id",
    71                                      "price": 0.3,
    72                                      "w": 200,
    73                                      "h": 250,
    74                                      "crid": "creative-1",
    75                                      "cat": [
    76                                          "IAB1-1"
    77                                      ]
    78                                  },
    79                                  "bidType": "video",
    80                                  "bidVideo": {
    81                                      "duration": 30,
    82                                      "PrimaryCategory": ""
    83                                  }
    84                              }
    85                          ],
    86                          "seat": "appnexus"
    87                      }
    88                  ]
    89              }
    90          }
    91      },
    92      "response": {
    93          "bids": {
    94              "id": "some-request-id",
    95              "seatbid": [
    96                  {
    97                      "seat": "appnexus",
    98                      "bid": [
    99                          {
   100                              "id": "apn-bid",
   101                              "impid": "my-imp-id",
   102                              "price": 0.3,
   103                              "w": 200,
   104                              "h": 250,
   105                              "crid": "creative-1",
   106                              "cat": [
   107                                  "IAB1-1"
   108                              ],
   109                              "ext": {
   110                                  "origbidcpm": 0.3,
   111                                  "prebid": {
   112                                      "bidid": "mock_uuid",
   113                                      "type": "video",
   114                                      "targeting": {
   115                                          "hb_bidder": "appnexus",
   116                                          "hb_bidder_appnexus": "appnexus",
   117                                          "hb_cache_host": "www.pbcserver.com",
   118                                          "hb_cache_host_appnex": "www.pbcserver.com",
   119                                          "hb_cache_path": "/pbcache/endpoint",
   120                                          "hb_cache_path_appnex": "/pbcache/endpoint",
   121                                          "hb_pb": "0.20",
   122                                          "hb_pb_appnexus": "0.20",
   123                                          "hb_pb_cat_dur": "0.20_VideoGames_0s_appnexus",
   124                                          "hb_pb_cat_dur_appnex": "0.20_VideoGames_0s_appnexus",
   125                                          "hb_size": "200x250",
   126                                          "hb_size_appnexus": "200x250"
   127                                      }
   128                                  }
   129                              }
   130                          }
   131                      ]
   132                  }
   133              ]
   134          },
   135          "ext": {
   136              "debug": {
   137                  "resolvedrequest": {
   138                      "id": "some-request-id",
   139                      "imp": [
   140                          {
   141                              "id": "my-imp-id",
   142                              "video": {
   143                                  "mimes": [
   144                                      "video/mp4"
   145                                  ]
   146                              },
   147                              "ext": {
   148                                  "prebid": {
   149                                      "bidder": {
   150                                          "appnexus": {
   151                                              "placementId": 1
   152                                          }
   153                                      }
   154                                  }
   155                              }
   156                          }
   157                      ],
   158                      "site": {
   159                          "page": "test.somepage.com"
   160                      },
   161                      "test": 1,
   162                      "ext": {
   163                          "prebid": {
   164                              "targeting": {
   165                                  "pricegranularity": {
   166                                      "precision": 2,
   167                                      "ranges": [
   168                                          {
   169                                              "min": 0,
   170                                              "max": 20,
   171                                              "increment": 0.1
   172                                          }
   173                                      ]
   174                                  },
   175                                  "includewinners": true,
   176                                  "includebidderkeys": true,
   177                                  "includebrandcategory": {
   178                                      "primaryadserver": 1,
   179                                      "publisher": "",
   180                                      "withcategory": true
   181                                  },
   182                                  "appendbiddernames": true
   183                              }
   184                          }
   185                      }
   186                  }
   187              }
   188          }
   189      }
   190  }