github.com/prebid/prebid-server/v2@v2.18.0/adapters/improvedigital/improvedigitaltest/exemplary/site-multi.json (about)

     1  {
     2      "mockBidRequest": {
     3          "id": "test-request-id",
     4          "site": {
     5              "page": "https://good.site/url",
     6              "domain": "good.site",
     7              "publisher": {
     8                  "id": "uniq_pub_id"
     9              },
    10              "keywords": "omgword",
    11              "ext": {
    12                  "amp": 0
    13              }
    14          },
    15          "imp": [
    16              {
    17                  "id": "test-imp-id-banner",
    18                  "banner": {
    19                      "format": [
    20                          {
    21                              "w": 300,
    22                              "h": 250
    23                          }
    24                      ]
    25                  },
    26                  "ext": {
    27                      "bidder": {
    28                          "placementId": 13245
    29                      }
    30                  }
    31              },
    32              {
    33                  "id": "test-imp-id-video",
    34                  "video": {
    35                      "mimes": ["video/mp4"],
    36                      "protocols": [2, 5],
    37                      "w": 1920,
    38                      "h": 1080
    39                  },
    40                  "ext": {
    41                      "bidder": {
    42                          "placementId": 13244
    43                      }
    44                  }
    45              },
    46              {
    47                  "id": "test-multi-format-id-with-mtype",
    48                  "banner": {
    49                      "format": [
    50                          {
    51                              "w": 300,
    52                              "h": 250
    53                          }
    54                      ]
    55                  },
    56                  "video": {
    57                      "mimes": ["video/mp4"],
    58                      "protocols": [2, 5],
    59                      "w": 1920,
    60                      "h": 1080
    61                  },
    62                  "ext": {
    63                      "bidder": {
    64                          "placementId": 13245
    65                      }
    66                  }
    67              }
    68          ]
    69      },
    70  
    71      "httpCalls": [
    72          {
    73              "expectedRequest": {
    74                  "uri": "http://localhost/pbs",
    75                  "body": {
    76                      "id": "test-request-id",
    77                      "site": {
    78                          "page": "https://good.site/url",
    79                          "domain": "good.site",
    80                          "publisher": {
    81                              "id": "uniq_pub_id"
    82                          },
    83                          "keywords": "omgword",
    84                          "ext": {
    85                              "amp": 0
    86                          }
    87                      },
    88                      "imp": [
    89                          {
    90                              "id": "test-imp-id-banner",
    91                              "banner": {
    92                                  "format": [
    93                                      {
    94                                          "w": 300,
    95                                          "h": 250
    96                                      }
    97                                  ]
    98                              },
    99                              "ext": {
   100                                  "bidder": {
   101                                      "placementId": 13245
   102                                  }
   103                              }
   104                          }
   105                      ]
   106                  },
   107                  "impIDs":["test-imp-id-banner"]
   108              },
   109              "mockResponse": {
   110                  "status": 200,
   111                  "body": {
   112                      "id": "test-request-id",
   113                      "seatbid": [
   114                          {
   115                              "seat": "improvedigital",
   116                              "bid": [
   117                                  {
   118                                      "id": "randomid1",
   119                                      "impid": "test-imp-id-banner",
   120                                      "price": 0.5,
   121                                      "adid": "12345678",
   122                                      "adm": "some-test-ad-html",
   123                                      "cid": "987",
   124                                      "crid": "12345678",
   125                                      "h": 250,
   126                                      "w": 300
   127                                  }
   128                              ]
   129                          }
   130                      ],
   131                      "cur": "USD"
   132                  }
   133              }
   134          },
   135          {
   136              "expectedRequest": {
   137                  "uri": "http://localhost/pbs",
   138                  "body": {
   139                      "id": "test-request-id",
   140                      "site": {
   141                          "page": "https://good.site/url",
   142                          "domain": "good.site",
   143                          "publisher": {
   144                              "id": "uniq_pub_id"
   145                          },
   146                          "keywords": "omgword",
   147                          "ext": {
   148                              "amp": 0
   149                          }
   150                      },
   151                      "imp": [
   152                          {
   153                              "id": "test-imp-id-video",
   154                              "video": {
   155                                  "mimes": ["video/mp4"],
   156                                  "protocols": [2, 5],
   157                                  "w": 1920,
   158                                  "h": 1080
   159                              },
   160                              "ext": {
   161                                  "bidder": {
   162                                      "placementId": 13244
   163                                  }
   164                              }
   165                          }
   166                      ]
   167                  },
   168                  "impIDs":["test-imp-id-video"]
   169              },
   170              "mockResponse": {
   171                  "status": 200,
   172                  "body": {
   173                      "id": "test-request-id",
   174                      "seatbid": [
   175                          {
   176                              "seat": "improvedigital",
   177                              "bid": [
   178                                  {
   179                                      "id": "randomid2",
   180                                      "impid": "test-imp-id-video",
   181                                      "price": 0.5,
   182                                      "adm": "some-test-ad-vast",
   183                                      "crid": "1234567",
   184                                      "w": 1920,
   185                                      "h": 1080
   186                                  }
   187                              ]
   188                          }
   189                      ],
   190                      "cur": "USD"
   191                  }
   192              }
   193          },
   194          {
   195              "expectedRequest": {
   196                  "uri": "http://localhost/pbs",
   197                  "body": {
   198                      "id": "test-request-id",
   199                      "site": {
   200                          "page": "https://good.site/url",
   201                          "domain": "good.site",
   202                          "publisher": {
   203                              "id": "uniq_pub_id"
   204                          },
   205                          "keywords": "omgword",
   206                          "ext": {
   207                              "amp": 0
   208                          }
   209                      },
   210                      "imp": [
   211                          {
   212                              "id": "test-multi-format-id-with-mtype",
   213                              "banner": {
   214                                  "format": [
   215                                      {
   216                                          "w": 300,
   217                                          "h": 250
   218                                      }
   219                                  ]
   220                              },
   221                              "video": {
   222                                  "mimes": ["video/mp4"],
   223                                  "protocols": [2, 5],
   224                                  "w": 1920,
   225                                  "h": 1080
   226                              },
   227                              "ext": {
   228                                  "bidder": {
   229                                      "placementId": 13245
   230                                  }
   231                              }
   232                          }
   233                      ]
   234                  },
   235                  "impIDs":["test-multi-format-id-with-mtype"]
   236              },
   237              "mockResponse": {
   238                  "status": 200,
   239                  "body": {
   240                      "id": "test-request-id",
   241                      "seatbid": [
   242                          {
   243                              "seat": "improvedigital",
   244                              "bid": [
   245                                  {
   246                                      "id": "randomid1",
   247                                      "impid": "test-multi-format-id-with-mtype",
   248                                      "price": 0.5,
   249                                      "adid": "12345678",
   250                                      "adm": "some-test-ad-html",
   251                                      "cid": "987",
   252                                      "crid": "12345678",
   253                                      "h": 250,
   254                                      "w": 300,
   255                                      "mtype": 1
   256                                  }
   257                              ]
   258                          }
   259                      ],
   260                      "cur": "USD"
   261                  }
   262              }
   263          }
   264      ],
   265  
   266      "expectedBidResponses": [
   267          {
   268              "currency": "USD",
   269              "bids": [
   270                  {
   271                      "bid": {
   272                          "id": "randomid1",
   273                          "impid": "test-imp-id-banner",
   274                          "price": 0.5,
   275                          "adm": "some-test-ad-html",
   276                          "adid": "12345678",
   277                          "cid": "987",
   278                          "crid": "12345678",
   279                          "w": 300,
   280                          "h": 250
   281                      },
   282                      "type": "banner"
   283                  }
   284              ]
   285          },
   286          {
   287              "currency": "USD",
   288              "bids": [
   289                  {
   290                      "bid": {
   291                          "id": "randomid2",
   292                          "impid": "test-imp-id-video",
   293                          "price": 0.5,
   294                          "adm": "some-test-ad-vast",
   295                          "crid": "1234567",
   296                          "w": 1920,
   297                          "h": 1080
   298                      },
   299                      "type": "video"
   300                  }
   301              ]
   302          },
   303          {
   304              "currency": "USD",
   305              "bids": [
   306                  {
   307                      "bid": {
   308                          "id": "randomid1",
   309                          "impid": "test-multi-format-id-with-mtype",
   310                          "price": 0.5,
   311                          "adm": "some-test-ad-html",
   312                          "adid": "12345678",
   313                          "cid": "987",
   314                          "crid": "12345678",
   315                          "w": 300,
   316                          "h": 250,
   317                          "mtype": 1
   318                      },
   319                      "type": "banner"
   320                  }
   321              ]
   322          }
   323      ]
   324  }