github.com/prebid/prebid-server/v2@v2.18.0/adapters/ix/ixtest/exemplary/multi-imp-requests.json (about)

     1  {
     2      "mockBidRequest": {
     3          "id": "test-request-id",
     4          "imp": [
     5              {
     6                  "id": "test-imp-id-1",
     7                  "banner": {
     8                      "format": [
     9                          {
    10                              "w": 300,
    11                              "h": 250
    12                          }
    13                      ]
    14                  },
    15                  "ext": {
    16                      "bidder": {
    17                          "siteId": "569749"
    18                      }
    19                  }
    20              },
    21              {
    22                  "id": "test-imp-id-2",
    23                  "video": {
    24                      "mimes": [
    25                          "video/mp4"
    26                      ],
    27                      "minduration": 15,
    28                      "maxduration": 30,
    29                      "protocols": [
    30                          2,
    31                          3,
    32                          5,
    33                          6,
    34                          7,
    35                          8
    36                      ],
    37                      "w": 940,
    38                      "h": 560
    39                  },
    40                  "ext": {
    41                      "bidder": {
    42                          "siteId": "569749"
    43                      }
    44                  }
    45              },
    46              {
    47                  "id": "test-imp-id-3",
    48                  "banner": {
    49                      "format": [
    50                          {
    51                              "w": 300,
    52                              "h": 600
    53                          }
    54                      ]
    55                  },
    56                  "ext": {
    57                      "bidder": {
    58                          "siteId": "569749"
    59                      }
    60                  }
    61              },
    62              {
    63                  "id": "test-imp-id-4",
    64                  "banner": {
    65                      "format": [
    66                          {
    67                              "w": 300,
    68                              "h": 250
    69                          }
    70                      ]
    71                  },
    72                  "ext": {
    73                      "bidder": {
    74                          "siteId": "569749"
    75                      }
    76                  }
    77              },
    78              {
    79                  "id": "test-imp-id-5",
    80                  "banner": {
    81                      "format": [
    82                          {
    83                              "w": 300,
    84                              "h": 250
    85                          }
    86                      ]
    87                  },
    88                  "ext": {
    89                      "bidder": {
    90                          "siteId": "569749"
    91                      }
    92                  }
    93              }
    94          ]
    95      },
    96      "httpCalls": [
    97          {
    98              "expectedRequest": {
    99                  "uri": "http://host/endpoint",
   100                  "body": {
   101                      "id": "test-request-id",
   102                      "imp": [
   103                          {
   104                              "id": "test-imp-id-1",
   105                              "banner": {
   106                                  "format": [
   107                                      {
   108                                          "w": 300,
   109                                          "h": 250
   110                                      }
   111                                  ],
   112                                  "w": 300,
   113                                  "h": 250
   114                              },
   115                              "ext": {
   116                                  "bidder": {
   117                                      "siteId": "569749"
   118                                  }
   119                              }
   120                          },
   121                          {
   122                              "id": "test-imp-id-2",
   123                              "video": {
   124                                  "mimes": [
   125                                      "video/mp4"
   126                                  ],
   127                                  "minduration": 15,
   128                                  "maxduration": 30,
   129                                  "protocols": [
   130                                      2,
   131                                      3,
   132                                      5,
   133                                      6,
   134                                      7,
   135                                      8
   136                                  ],
   137                                  "w": 940,
   138                                  "h": 560
   139                              },
   140                              "ext": {
   141                                  "bidder": {
   142                                      "siteId": "569749"
   143                                  }
   144                              }
   145                          },
   146                          {
   147                              "banner": {
   148                                "format": [
   149                                  {
   150                                    "h": 600,
   151                                    "w": 300
   152                                  }
   153                                ],
   154                                "h": 600,
   155                                "w": 300
   156                              },
   157                              "ext": {
   158                                "bidder": {
   159                                  "siteId": "569749"
   160                                }
   161                              },
   162                              "id": "test-imp-id-3"
   163                          },
   164                          {
   165                              "id": "test-imp-id-4",
   166                              "banner": {
   167                                  "format": [
   168                                      {
   169                                          "w": 300,
   170                                          "h": 250
   171                                      }
   172                                  ],
   173                                  "w": 300,
   174                                  "h": 250
   175                              },
   176                              "ext": {
   177                                  "bidder": {
   178                                      "siteId": "569749"
   179                                  }
   180                              }
   181                          },
   182                          {
   183                              "id": "test-imp-id-5",
   184                              "banner": {
   185                                  "format": [
   186                                      {
   187                                          "w": 300,
   188                                          "h": 250
   189                                      }
   190                                  ],
   191                                  "w": 300,
   192                                  "h": 250
   193                              },
   194                              "ext": {
   195                                  "bidder": {
   196                                      "siteId": "569749"
   197                                  }
   198                              }
   199                          }
   200                      ]
   201                  },
   202                  "impIDs":["test-imp-id-1","test-imp-id-2","test-imp-id-3","test-imp-id-4","test-imp-id-5"]
   203              },
   204              "mockResponse": {
   205                  "status": 200,
   206                  "body": {
   207                      "id": "test-request-id",
   208                      "seatbid": [
   209                          {
   210                              "seat": "958",
   211                              "bid": [
   212                                  {
   213                                      "id": "7706636740145184841",
   214                                      "impid": "test-imp-id-1",
   215                                      "price": 0.5,
   216                                      "adid": "29681110",
   217                                      "adm": "some-test-ad",
   218                                      "adomain": [
   219                                          "https://advertiser.example.com"
   220                                      ],
   221                                      "cid": "958",
   222                                      "crid": "29681110",
   223                                      "h": 250,
   224                                      "w": 300,
   225                                      "ext": {
   226                                          "ix": {}
   227                                      }
   228                                  }
   229                              ]
   230                          }
   231                      ],
   232                      "bidid": "5778926625248726496",
   233                      "cur": "USD"
   234                  }
   235              }
   236          }
   237      ],
   238      "expectedBidResponses": [
   239          {
   240              "currency": "USD",
   241              "bids": [
   242                  {
   243                      "bid": {
   244                          "id": "7706636740145184841",
   245                          "impid": "test-imp-id-1",
   246                          "price": 0.5,
   247                          "adm": "some-test-ad",
   248                          "adid": "29681110",
   249                          "adomain": [
   250                              "https://advertiser.example.com"
   251                          ],
   252                          "cid": "958",
   253                          "crid": "29681110",
   254                          "w": 300,
   255                          "h": 250,
   256                          "ext": {
   257                              "ix": {}
   258                          }
   259                      },
   260                      "type": "banner"
   261                  }
   262              ]
   263          }
   264      ]
   265  }