github.com/prebid/prebid-server/v2@v2.18.0/adapters/openx/openxtest/supplemental/multi-imp.json (about)

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