github.com/prebid/prebid-server/v2@v2.18.0/adapters/undertone/undertonetest/exemplary/multi-imp-app-request.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-banner-id",
     7          "banner": {
     8            "format": [
     9              {
    10                "w": 300,
    11                "h": 250
    12              },
    13              {
    14                "w": 300,
    15                "h": 300
    16              }
    17            ]
    18          },
    19          "ext": {
    20            "bidder": {
    21              "publisherId": 1234,
    22              "placementId": 12345
    23            }
    24          }
    25        },
    26        {
    27          "id": "test-imp-video-id",
    28          "video": {
    29            "mimes": [
    30              "video/mp4"
    31            ],
    32            "minduration": 1,
    33            "maxduration": 2,
    34            "protocols": [
    35              1,
    36              2,
    37              5
    38            ],
    39            "w": 1020,
    40            "h": 780,
    41            "startdelay": 1,
    42            "placement": 1,
    43            "playbackmethod": [
    44              2
    45            ],
    46            "api": [
    47              1,
    48              2,
    49              3,
    50              4
    51            ]
    52          },
    53          "ext": {
    54            "bidder": {
    55              "publisherId": 1234,
    56              "placementId": 123456
    57            },
    58            "gpid": "gpid-value"
    59          }
    60        }
    61      ],
    62      "app": {
    63        "domain": "www.example.com",
    64        "storeurl": "http://www.example.com",
    65        "publisher": {
    66          "domain": "example.com"
    67        }
    68      }
    69    },
    70    "httpCalls": [
    71      {
    72        "expectedRequest": {
    73          "uri": "http://undertone-test/bid",
    74          "body": {
    75            "id": "test-request-id",
    76            "imp": [
    77              {
    78                "id": "test-imp-banner-id",
    79                "banner": {
    80                  "format": [
    81                    {
    82                      "w": 300,
    83                      "h": 250
    84                    },
    85                    {
    86                      "w": 300,
    87                      "h": 300
    88                    }
    89                  ]
    90                },
    91                "tagid": "12345"
    92              },
    93              {
    94                "id": "test-imp-video-id",
    95                "video": {
    96                  "mimes": [
    97                    "video/mp4"
    98                  ],
    99                  "minduration": 1,
   100                  "maxduration": 2,
   101                  "protocols": [
   102                    1,
   103                    2,
   104                    5
   105                  ],
   106                  "w": 1020,
   107                  "h": 780,
   108                  "startdelay": 1,
   109                  "placement": 1,
   110                  "playbackmethod": [
   111                    2
   112                  ],
   113                  "api": [
   114                    1,
   115                    2,
   116                    3,
   117                    4
   118                  ]
   119                },
   120                "tagid": "123456",
   121                "ext": {
   122                  "gpid": "gpid-value"
   123                }
   124              }
   125            ],
   126            "app": {
   127              "domain": "www.example.com",
   128              "storeurl": "http://www.example.com",
   129              "publisher": {
   130                "id": "1234",
   131                "domain": "example.com"
   132              }
   133            },
   134            "ext": {
   135              "id": 4,
   136              "version": "1.0.0"
   137            }
   138          },
   139          "impIDs":["test-imp-banner-id","test-imp-video-id"]
   140        },
   141        "mockResponse": {
   142          "status": 200,
   143          "body": {
   144            "id": "test-request-id",
   145            "seatbid": [
   146              {
   147                "seat": "958",
   148                "bid": [
   149                  {
   150                    "id": "7706636740145184841",
   151                    "impid": "test-imp-video-id",
   152                    "price": 0.500000,
   153                    "adid": "29681110",
   154                    "adm": "some-test-ad-video",
   155                    "adomain": [
   156                      "undertone.com"
   157                    ],
   158                    "cid": "958",
   159                    "crid": "29681110",
   160                    "h": 576,
   161                    "w": 1024
   162                  },
   163                  {
   164                    "id": "8706636740145184841",
   165                    "impid": "test-imp-banner-id",
   166                    "price": 0.400000,
   167                    "adid": "39681110",
   168                    "adm": "some-test-ad-banner",
   169                    "adomain": [
   170                      "undertone.com"
   171                    ],
   172                    "cid": "958",
   173                    "crid": "29681110",
   174                    "h": 576,
   175                    "w": 1024
   176                  }
   177                ]
   178              }
   179            ],
   180            "bidid": "5778926625248726496",
   181            "cur": "USD"
   182          }
   183        }
   184      }
   185    ],
   186    "expectedBidResponses": [
   187      {
   188        "bids": [
   189          {
   190            "bid": {
   191              "id": "7706636740145184841",
   192              "impid": "test-imp-video-id",
   193              "price": 0.5,
   194              "adm": "some-test-ad-video",
   195              "adid": "29681110",
   196              "adomain": [
   197                "undertone.com"
   198              ],
   199              "cid": "958",
   200              "crid": "29681110",
   201              "w": 1024,
   202              "h": 576
   203            },
   204            "type": "video"
   205          },
   206          {
   207            "bid": {
   208              "id": "8706636740145184841",
   209              "impid": "test-imp-banner-id",
   210              "price": 0.4,
   211              "adm": "some-test-ad-banner",
   212              "adid": "39681110",
   213              "adomain": [
   214                "undertone.com"
   215              ],
   216              "cid": "958",
   217              "crid": "29681110",
   218              "w": 1024,
   219              "h": 576
   220            },
   221            "type": "banner"
   222          }
   223        ]
   224      }
   225    ]
   226  }