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

     1  {
     2    "incomingRequest": {
     3      "ortbRequest": {
     4        "id": "some-request-id",
     5        "app": {
     6          "id": "some-app"
     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": true
    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                    "targeting": {
   159                      "hb_bidder_audienceNe": "audienceNetwork",
   160                      "hb_cache_host_audien": "www.pbcserver.com",
   161                      "hb_cache_path_audien": "/pbcache/endpoint",
   162                      "hb_pb_audienceNetwor": "0.50",
   163                      "hb_size_audienceNetw": "200x250",
   164                      "hb_env_audienceNetwo": "mobile-app"
   165                    }
   166                  }
   167                }
   168              }
   169            ]
   170          },
   171          {
   172            "seat": "appnexus",
   173            "bid": [
   174              {
   175                "id": "winning-bid",
   176                "impid": "my-imp-id",
   177                "price": 0.71,
   178                "w": 200,
   179                "h": 250,
   180                "crid": "creative-1",
   181                "ext": {
   182                  "origbidcpm": 0.71,
   183                  "prebid": {
   184                    "meta": {
   185                    },
   186                    "type": "video",
   187                    "targeting": {
   188                      "hb_bidder": "appnexus",
   189                      "hb_cache_host": "www.pbcserver.com",
   190                      "hb_cache_host_appnex": "www.pbcserver.com",
   191                      "hb_cache_path": "/pbcache/endpoint",
   192                      "hb_cache_path_appnex": "/pbcache/endpoint",
   193                      "hb_bidder_appnexus": "appnexus",
   194                      "hb_pb": "0.70",
   195                      "hb_pb_appnexus": "0.70",
   196                      "hb_size": "200x250",
   197                      "hb_size_appnexus": "200x250",
   198                      "hb_env": "mobile-app",
   199                      "hb_env_appnexus": "mobile-app"
   200                    }
   201                  }
   202                }
   203              },
   204              {
   205                "id": "losing-bid",
   206                "impid": "my-imp-id",
   207                "price": 0.21,
   208                "w": 200,
   209                "h": 250,
   210                "crid": "creative-2",
   211                "ext": {
   212                  "origbidcpm": 0.21,
   213                  "prebid": {
   214                    "meta": {
   215                    },
   216                    "type": "video"
   217                  }
   218                }
   219              },
   220              {
   221                "id": "other-bid",
   222                "impid": "imp-id-2",
   223                "price": 0.61,
   224                "w": 300,
   225                "h": 500,
   226                "crid": "creative-3",
   227                "ext": {
   228                  "origbidcpm": 0.61,
   229                  "prebid": {
   230                    "meta": {
   231                    },
   232                    "type": "video",
   233                    "targeting": {
   234                      "hb_bidder": "appnexus",
   235                      "hb_cache_host": "www.pbcserver.com",
   236                      "hb_cache_host_appnex": "www.pbcserver.com",
   237                      "hb_cache_path": "/pbcache/endpoint",
   238                      "hb_cache_path_appnex": "/pbcache/endpoint",
   239                      "hb_bidder_appnexus": "appnexus",
   240                      "hb_pb": "0.60",
   241                      "hb_pb_appnexus": "0.60",
   242                      "hb_size": "300x500",
   243                      "hb_size_appnexus": "300x500",
   244                      "hb_env": "mobile-app",
   245                      "hb_env_appnexus": "mobile-app"
   246                    }
   247                  }
   248                }
   249              }
   250            ]
   251          }
   252        ]
   253      }
   254    }
   255  }