github.com/prebid/prebid-server/v2@v2.18.0/adapters/adocean/adoceantest/supplemental/encode-error.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": [
    58            {
    59              "id": "adoceanmyaozpniqismex",
    60              "price": "1",
    61              "winurl": "",
    62              "statsUrl": "",
    63              "code": " <!-- code 1 --> %a",
    64              "currency": "EUR",
    65              "minFloorPrice": "0.01",
    66              "width": "300",
    67              "height": "250",
    68              "crid": "0af345b42983cc4bc0",
    69              "ttl": "300"
    70            }
    71          ]
    72        }
    73      }
    74    ],
    75    "expectedBidResponses": [{"currency":"USD","bids":[]}],
    76    "expectedMakeBidsErrors": [
    77      {
    78        "value": "invalid URL escape \"%a\"",
    79        "comparison": "literal"
    80      }
    81    ]
    82  }