github.com/prebid/prebid-server@v0.275.0/adapters/sharethrough/sharethroughtest/supplemental/multi-imp.json (about)

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