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

     1  {
     2      "bidIDGenerator": {
     3          "generateBidID": true,
     4          "returnError": true
     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                                      "type": "video",
   113                                      "targeting": {
   114                                          "hb_bidder": "appnexus",
   115                                          "hb_bidder_appnexus": "appnexus",
   116                                          "hb_cache_host": "www.pbcserver.com",
   117                                          "hb_cache_host_appnex": "www.pbcserver.com",
   118                                          "hb_cache_path": "/pbcache/endpoint",
   119                                          "hb_cache_path_appnex": "/pbcache/endpoint",
   120                                          "hb_pb": "0.20",
   121                                          "hb_pb_appnexus": "0.20",
   122                                          "hb_pb_cat_dur": "0.20_VideoGames_0s_appnexus",
   123                                          "hb_pb_cat_dur_appnex": "0.20_VideoGames_0s_appnexus",
   124                                          "hb_size": "200x250",
   125                                          "hb_size_appnexus": "200x250"
   126                                      }
   127                                  }
   128                              }
   129                          }
   130                      ]
   131                  }
   132              ]
   133          },
   134          "ext": {
   135              "debug": {
   136                  "resolvedrequest": {
   137                      "id": "some-request-id",
   138                      "imp": [
   139                          {
   140                              "id": "my-imp-id",
   141                              "video": {
   142                                  "mimes": [
   143                                      "video/mp4"
   144                                  ]
   145                              },
   146                              "ext": {
   147                                  "prebid": {
   148                                      "bidder": {
   149                                          "appnexus": {
   150                                              "placementId": 1
   151                                          }
   152                                      }
   153                                  }
   154                              }
   155                          }
   156                      ],
   157                      "site": {
   158                          "page": "test.somepage.com"
   159                      },
   160                      "test": 1,
   161                      "ext": {
   162                          "prebid": {
   163                              "targeting": {
   164                                  "includebrandcategory": {
   165                                      "primaryadserver": 1,
   166                                      "publisher": "",
   167                                      "withcategory": true
   168                                  },
   169                                  "pricegranularity": {
   170                                      "precision": 2,
   171                                      "ranges": [
   172                                          {
   173                                              "min": 0,
   174                                              "max": 20,
   175                                              "increment": 0.1
   176                                          }
   177                                      ]
   178                                  },
   179                                  "includewinners": true,
   180                                  "includebidderkeys": true,
   181                                  "appendbiddernames": true
   182                              }
   183                          }
   184                      }
   185                  }
   186              },
   187              "errors": {
   188                  "prebid": [
   189                      {
   190                          "code": 999,
   191                          "message": "Error generating bid.ext.prebid.bidid"
   192                      }
   193                  ]
   194              }
   195          }
   196      }
   197  }