github.com/prebid/prebid-server/v2@v2.18.0/exchange/exchangetest/mediatypepricegranularity-banner-video-native.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                              }
    23                          }
    24                      }
    25                  },
    26                  {
    27                      "id": "imp-id-2",
    28                      "video": {
    29                          "mimes": [
    30                              "video/mp4"
    31                          ]
    32                      },
    33                      "ext": {
    34                          "prebid": {
    35                              "bidder": {
    36                                  "appnexus": {
    37                                      "placementId": 1
    38                                  }
    39                              }
    40                          }
    41                      }
    42                  },
    43                  {
    44                      "id": "imp-id-3",
    45                      "video": {
    46                          "mimes": [
    47                              "video/mp4"
    48                          ]
    49                      },
    50                      "ext": {
    51                          "prebid": {
    52                              "bidder": {
    53                                  "appnexus": {
    54                                      "placementId": 1
    55                                  }
    56                              }
    57                          }
    58                      }
    59                  }
    60              ],
    61              "ext": {
    62                  "prebid": {
    63                      "targeting": {
    64                          "includebrandcategory": {
    65                              "primaryadserver": 1,
    66                              "publisher": "",
    67                              "withcategory": true
    68                          },
    69                          "pricegranularity": {
    70                              "precision": 2,
    71                              "ranges": [
    72                                  {
    73                                      "min": 0,
    74                                      "max": 20,
    75                                      "increment": 2
    76                                  }
    77                              ]
    78                          },
    79                          "mediatypepricegranularity": {
    80                              "banner": {
    81                                  "precision": 3,
    82                                  "ranges": [
    83                                      {
    84                                          "max": 20,
    85                                          "increment": 4.5
    86                                      }
    87                                  ]
    88                              },
    89                              "video": {
    90                                  "precision": 4,
    91                                  "ranges": [
    92                                      {
    93                                          "min": 10,
    94                                          "max": 30,
    95                                          "increment": 1.5
    96                                      }
    97                                  ]
    98                              },
    99                              "native": {
   100                                  "precision": 5,
   101                                  "ranges": [
   102                                      {
   103                                          "max": 30,
   104                                          "increment": 1.8
   105                                      }
   106                                  ]
   107                              }
   108                          },
   109                          "includewinners": true,
   110                          "includebidderkeys": true,
   111                          "appendbiddernames": true
   112                      }
   113                  }
   114              }
   115          },
   116          "usersyncs": {
   117              "appnexus": "123"
   118          }
   119      },
   120      "outgoingRequests": {
   121          "appnexus": {
   122              "mockResponse": {
   123                  "pbsSeatBids": [
   124                      {
   125                          "pbsBids": [
   126                              {
   127                                  "ortbBid": {
   128                                      "id": "apn-bid",
   129                                      "impid": "my-imp-id",
   130                                      "price": 15,
   131                                      "w": 200,
   132                                      "h": 250,
   133                                      "crid": "creative-1",
   134                                      "cat": [
   135                                          "IAB1-1"
   136                                      ],
   137                                      "mtype": 1
   138                                  },
   139                                  "bidType": "banner"
   140                              },
   141                              {
   142                                  "ortbBid": {
   143                                      "id": "apn-other-bid",
   144                                      "impid": "imp-id-2",
   145                                      "price": 18,
   146                                      "w": 300,
   147                                      "h": 500,
   148                                      "crid": "creative-3",
   149                                      "cat": [
   150                                          "IAB1-2"
   151                                      ],
   152                                      "mtype": 2
   153                                  },
   154                                  "bidType": "video"
   155                              },
   156                              {
   157                                  "ortbBid": {
   158                                      "id": "apn-native-bid",
   159                                      "impid": "imp-id-3",
   160                                      "price": 29,
   161                                      "w": 300,
   162                                      "h": 500,
   163                                      "crid": "creative-3",
   164                                      "cat": [
   165                                          "IAB1-4"
   166                                      ],
   167                                      "mtype": 4
   168                                  },
   169                                  "bidType": "native"
   170                              }
   171                          ],
   172                          "seat": "appnexus"
   173                      }
   174                  ]
   175              }
   176          }
   177      },
   178      "response": {
   179          "bids": {
   180              "id": "some-request-id",
   181              "seatbid": [
   182                  {
   183                      "seat": "appnexus",
   184                      "bid": [
   185                          {
   186                              "id": "apn-bid",
   187                              "impid": "my-imp-id",
   188                              "price": 15,
   189                              "w": 200,
   190                              "h": 250,
   191                              "crid": "creative-1",
   192                              "cat": [
   193                                  "IAB1-1"
   194                              ],
   195                              "mtype": 1,
   196                              "ext": {
   197                                  "origbidcpm": 15,
   198                                  "prebid": {
   199                                      "meta": {
   200                                      },
   201                                      "type": "banner",
   202                                      "targeting": {
   203                                          "hb_bidder": "appnexus",
   204                                          "hb_bidder_appnexus": "appnexus",
   205                                          "hb_cache_host": "www.pbcserver.com",
   206                                          "hb_cache_host_appnex": "www.pbcserver.com",
   207                                          "hb_cache_path": "/pbcache/endpoint",
   208                                          "hb_cache_path_appnex": "/pbcache/endpoint",
   209                                          "hb_pb": "13.500",
   210                                          "hb_pb_appnexus": "13.500",
   211                                          "hb_pb_cat_dur": "13.500_VideoGames_0s_appnexus",
   212                                          "hb_pb_cat_dur_appnex": "13.500_VideoGames_0s_appnexus",
   213                                          "hb_size": "200x250",
   214                                          "hb_size_appnexus": "200x250"
   215                                      }
   216                                  }
   217                              }
   218                          },
   219                          {
   220                              "cat": [
   221                                  "IAB1-2"
   222                              ],
   223                              "crid": "creative-3",
   224                              "mtype": 2,
   225                              "ext": {
   226                                  "origbidcpm": 18,
   227                                  "prebid": {
   228                                      "meta": {
   229                                      },
   230                                      "targeting": {
   231                                          "hb_bidder": "appnexus",
   232                                          "hb_bidder_appnexus": "appnexus",
   233                                          "hb_cache_host": "www.pbcserver.com",
   234                                          "hb_cache_host_appnex": "www.pbcserver.com",
   235                                          "hb_cache_path": "/pbcache/endpoint",
   236                                          "hb_cache_path_appnex": "/pbcache/endpoint",
   237                                          "hb_pb": "17.5000",
   238                                          "hb_pb_appnexus": "17.5000",
   239                                          "hb_pb_cat_dur": "17.5000_HomeDecor_0s_appnexus",
   240                                          "hb_pb_cat_dur_appnex": "17.5000_HomeDecor_0s_appnexus",
   241                                          "hb_size": "300x500",
   242                                          "hb_size_appnexus": "300x500"
   243                                      },
   244                                      "type": "video"
   245                                  }
   246                              },
   247                              "h": 500,
   248                              "id": "apn-other-bid",
   249                              "impid": "imp-id-2",
   250                              "price": 18,
   251                              "w": 300
   252                          },
   253                          {
   254                              "cat": [
   255                                  "IAB1-4"
   256                              ],
   257                              "crid": "creative-3",
   258                              "mtype": 4,
   259                              "ext": {
   260                                  "origbidcpm": 29,
   261                                  "prebid": {
   262                                      "meta": {
   263                                      },
   264                                      "targeting": {
   265                                          "hb_bidder": "appnexus",
   266                                          "hb_bidder_appnexus": "appnexus",
   267                                          "hb_cache_host": "www.pbcserver.com",
   268                                          "hb_cache_host_appnex": "www.pbcserver.com",
   269                                          "hb_cache_path": "/pbcache/endpoint",
   270                                          "hb_cache_path_appnex": "/pbcache/endpoint",
   271                                          "hb_pb": "28.80000",
   272                                          "hb_pb_appnexus": "28.80000",
   273                                          "hb_pb_cat_dur": "28.80000_Sports_0s_appnexus",
   274                                          "hb_pb_cat_dur_appnex": "28.80000_Sports_0s_appnexus",
   275                                          "hb_size": "300x500",
   276                                          "hb_size_appnexus": "300x500"
   277                                      },
   278                                      "type": "native"
   279                                  }
   280                              },
   281                              "h": 500,
   282                              "id": "apn-native-bid",
   283                              "impid": "imp-id-3",
   284                              "price": 29,
   285                              "w": 300
   286                          }
   287                      ]
   288                  }
   289              ]
   290          }
   291      }
   292  }