github.com/prebid/prebid-server@v0.275.0/adapters/aax/aaxtest/supplemental/invalid-resp-multi-imp-type.json (about)

     1  {
     2      "mockBidRequest": {
     3          "id": "test-request-id",
     4          "imp": [
     5              {
     6                  "id": "test-imp-id",
     7                  "banner": {
     8                      "w": 300,
     9                      "h": 250
    10                  },
    11                  "video": {
    12                      "mimes": [
    13                          "video/mp4"
    14                      ],
    15                      "w": 640,
    16                      "h": 480,
    17                      "minduration": 120,
    18                      "maxduration": 150
    19                  },
    20                  "native": {
    21                      "ver": "1.1",
    22                      "request": "{\"adunit\":2,\"assets\":[{\"id\":3,\"img\":{\"h\":120,\"hmin\":0,\"type\":3,\"w\":180,\"wmin\":0},\"required\":1},{\"id\":0,\"required\":1,\"title\":{\"len\":25}},{\"data\":{\"len\":25,\"type\":1},\"id\":4,\"required\":1},{\"data\":{\"len\":140,\"type\":2},\"id\":6,\"required\":1}],\"context\":1,\"layout\":1,\"contextsubtype\":11,\"plcmtcnt\":1,\"plcmttype\":2,\"ver\":\"1.1\",\"ext\":{\"banner\":{\"w\":320,\"h\":50}}}"
    23                  },
    24                  "ext": {
    25                      "bidder": {
    26                          "cid": "TCID",
    27                          "crid": "1234"
    28                      }
    29                  }
    30              }
    31          ],
    32          "site": {
    33              "domain": "www.example.com",
    34              "page": "http://www.example.com",
    35              "publisher": {
    36                  "domain": "example.com"
    37              },
    38              "ext": {
    39                  "amp": 0
    40              }
    41          },
    42          "device": {
    43              "ua": "userAgent",
    44              "ip": "193.168.244.1"
    45          },
    46          "at": 1,
    47          "tmax": 5000,
    48          "cur": [
    49              "USD"
    50          ],
    51          "regs": {
    52              "ext": {
    53                  "gdpr": 0
    54              }
    55          }
    56      },
    57      "httpCalls": [
    58          {
    59              "expectedRequest": {
    60                  "uri": "https://example.aax.media/rtb/prebid?src=http%3A%2F%2Flocalhost%3A8080%2Fextrnal_url",
    61                  "body": {
    62                      "id": "test-request-id",
    63                      "imp": [
    64                          {
    65                              "id": "test-imp-id",
    66                              "banner": {
    67                                  "w": 300,
    68                                  "h": 250
    69                              },
    70                              "video": {
    71                                  "mimes": [
    72                                      "video/mp4"
    73                                  ],
    74                                  "w": 640,
    75                                  "h": 480,
    76                                  "minduration": 120,
    77                                  "maxduration": 150
    78                              },
    79                              "native": {
    80                                  "ver": "1.1",
    81                                  "request": "{\"adunit\":2,\"assets\":[{\"id\":3,\"img\":{\"h\":120,\"hmin\":0,\"type\":3,\"w\":180,\"wmin\":0},\"required\":1},{\"id\":0,\"required\":1,\"title\":{\"len\":25}},{\"data\":{\"len\":25,\"type\":1},\"id\":4,\"required\":1},{\"data\":{\"len\":140,\"type\":2},\"id\":6,\"required\":1}],\"context\":1,\"layout\":1,\"contextsubtype\":11,\"plcmtcnt\":1,\"plcmttype\":2,\"ver\":\"1.1\",\"ext\":{\"banner\":{\"w\":320,\"h\":50}}}"
    82                              },
    83                              "ext": {
    84                                  "bidder": {
    85                                      "cid": "TCID",
    86                                      "crid": "1234"
    87                                  }
    88                              }
    89                          }
    90                      ],
    91                      "site": {
    92                          "domain": "www.example.com",
    93                          "page": "http://www.example.com",
    94                          "publisher": {
    95                              "domain": "example.com"
    96                          },
    97                          "ext": {
    98                              "amp": 0
    99                          }
   100                      },
   101                      "device": {
   102                          "ua": "userAgent",
   103                          "ip": "193.168.244.1"
   104                      },
   105                      "at": 1,
   106                      "tmax": 5000,
   107                      "cur": [
   108                          "USD"
   109                      ],
   110                      "regs": {
   111                          "ext": {
   112                              "gdpr": 0
   113                          }
   114                      }
   115                  }
   116              },
   117              "mockResponse": {
   118                  "status": 200,
   119                  "body": {
   120                      "id": "tid",
   121                      "seatbid": [
   122                          {
   123                              "seat": "aax",
   124                              "bid": [
   125                                  {
   126                                      "id": "randomid",
   127                                      "impid": "test-imp-id",
   128                                      "price": 0.500000,
   129                                      "adid": "12345678",
   130                                      "adm": "some-test-ad",
   131                                      "cid": "987",
   132                                      "crid": "12345678",
   133                                      "h": 250,
   134                                      "w": 300
   135                                  }
   136                              ]
   137                          }
   138                      ],
   139                      "bidid": "bid01"
   140                  }
   141              }
   142          }
   143      ],
   144      "expectedBidResponses": [{"currency":"USD","bids":[]}],
   145      "expectedMakeBidsErrors": [
   146          {
   147              "value": "unable to fetch mediaType in multi-format: test-imp-id",
   148              "comparison": "literal"
   149          }
   150      ]
   151  }