github.com/prebid/prebid-server/v2@v2.18.0/adapters/adocean/adoceantest/supplemental/bad-response.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "9ed903f4-383d-406b-8011-4f06526cb02c",
     4      "source": {
     5        "tid": "9ed903f4-383d-406b-8011-4f06526cb02c"
     6      },
     7      "tmax": 1000,
     8      "imp": [
     9        {
    10          "id": "ao-test",
    11          "ext": {
    12            "bidder": {
    13              "emitterPrefix": "myao",
    14              "masterId": "tmYF.DMl7ZBq.Nqt2Bq4FutQTJfTpxCOmtNPZoQUDcL.G7",
    15              "slaveId": "adoceanmyaozpniqismex"
    16            }
    17          },
    18          "banner": {
    19            "format": [
    20              {
    21                "w": 300,
    22                "h": 250
    23              }
    24            ]
    25          }
    26        }
    27      ],
    28      "test": 1,
    29      "ext": {
    30        "prebid": {
    31          "targeting": {
    32            "includewinners": true,
    33            "includebidderkeys": false
    34          }
    35        }
    36      },
    37      "site": {
    38        "publisher": {
    39          "id": "1"
    40        },
    41        "page": "http://example.com/test.html"
    42      },
    43      "device": {
    44        "w": 1280,
    45        "h": 720,
    46        "ip": "192.168.1.1"
    47      }
    48    },
    49    "httpCalls": [
    50      {
    51          "expectedRequest": {
    52            "uri": "https://myao.adocean.pl/_10000000/ad.json?aid=adoceanmyaozpniqismex%3Aao-test&aosspsizes=myaozpniqismex~300x250&devmake=&devmodel=&devos=&devosv=&dpidmd5=&id=tmYF.DMl7ZBq.Nqt2Bq4FutQTJfTpxCOmtNPZoQUDcL.G7&nc=1&nosecure=1&pbsrv_v=1.3.0",
    53            "impIDs":["ao-test"]
    54          },
    55        "mockResponse": {
    56          "status": 200,
    57          "body": "{ key: nil }"
    58        }
    59      }
    60    ],
    61    "expectedMakeBidsErrors": [
    62      {
    63        "value": "json: cannot unmarshal string into Go value of type []adocean.ResponseAdUnit",
    64        "comparison": "literal"
    65      }
    66    ]
    67  }