github.com/prebid/prebid-server/v2@v2.18.0/adapters/definemedia/definemediatest/supplemental/unmarshal-error.json (about)

     1  {
     2      "mockBidRequest": {
     3        "imp": [
     4          {
     5            "ext": {
     6              "tid": "397962d3-47a1-4634-9cb7-78597b01d9a9",
     7              "prebid": {
     8                "bidder": {
     9                  "definemedia": {}
    10                }
    11              }
    12            },
    13            "id": "div-gpt-ad-1460505748561-0",
    14            "banner": {
    15              "topframe": 1,
    16              "format": [
    17                {
    18                  "w": 300,
    19                  "h": 250
    20                }
    21              ]
    22            }
    23          }
    24        ],
    25        "site": {
    26          "page": "http://localhost:8080/prebidServer_example.html?pbjs_debug=true",
    27          "domain": "localhost:8080",
    28          "publisher": {
    29            "domain": "localhost:8080",
    30            "id": "1"
    31          }
    32        },
    33        "device": {
    34          "w": 1098,
    35          "h": 1169,
    36          "dnt": 0,
    37          "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
    38          "language": "de",
    39          "sua": {
    40            "source": 2,
    41            "platform": {
    42              "brand": "macOS",
    43              "version": [
    44                "12",
    45                "3",
    46                "1"
    47              ]
    48            },
    49            "browsers": [
    50              {
    51                "brand": "Not?A_Brand",
    52                "version": [
    53                  "8",
    54                  "0",
    55                  "0",
    56                  "0"
    57                ]
    58              },
    59              {
    60                "brand": "Chromium",
    61                "version": [
    62                  "108",
    63                  "0",
    64                  "5359",
    65                  "124"
    66                ]
    67              },
    68              {
    69                "brand": "Google Chrome",
    70                "version": [
    71                  "108",
    72                  "0",
    73                  "5359",
    74                  "124"
    75                ]
    76              }
    77            ],
    78            "mobile": 0,
    79            "model": "",
    80            "bitness": "64",
    81            "architecture": "x86"
    82          }
    83        },
    84        "id": "ceb63773-4280-45f2-a684-94cf6a3b8fcf",
    85        "test": 0,
    86        "source": {
    87          "tid": "ceb63773-4280-45f2-a684-94cf6a3b8fcf"
    88        },
    89        "ext": {
    90          "prebid": {
    91            "auctiontimestamp": 1671449004622,
    92            "targeting": {
    93              "includewinners": true,
    94              "includebidderkeys": false
    95            },
    96            "debug": true,
    97            "channel": {
    98              "name": "pbjs",
    99              "version": "v7.28.0"
   100            }
   101          }
   102        },
   103        "tmax": 1000
   104      },
   105      "httpCalls": [
   106        {
   107          "expectedRequest": {
   108            "uri": "https://rtb.conative.network/openrtb2/auction",
   109            "body": {
   110              "id": "ceb63773-4280-45f2-a684-94cf6a3b8fcf",
   111              "imp": [
   112                {
   113                  "id": "div-gpt-ad-1460505748561-0",
   114                  "banner": {
   115                    "format": [
   116                      {
   117                        "w": 300,
   118                        "h": 250
   119                      }
   120                    ],
   121                    "topframe": 1
   122                  },
   123                  "ext": {
   124                    "prebid": {
   125                      "bidder": {
   126                        "definemedia": {}
   127                      }
   128                    },
   129                    "tid": "397962d3-47a1-4634-9cb7-78597b01d9a9"
   130                  }
   131                }
   132              ],
   133              "site": {
   134                "domain": "localhost:8080",
   135                "page": "http://localhost:8080/prebidServer_example.html?pbjs_debug=true",
   136                "publisher": {
   137                  "id": "1",
   138                  "domain": "localhost:8080"
   139                }
   140              },
   141              "device": {
   142                "dnt": 0,
   143                "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
   144                "sua": {
   145                  "browsers": [
   146                    {
   147                      "brand": "Not?A_Brand",
   148                      "version": [
   149                        "8",
   150                        "0",
   151                        "0",
   152                        "0"
   153                      ]
   154                    },
   155                    {
   156                      "brand": "Chromium",
   157                      "version": [
   158                        "108",
   159                        "0",
   160                        "5359",
   161                        "124"
   162                      ]
   163                    },
   164                    {
   165                      "brand": "Google Chrome",
   166                      "version": [
   167                        "108",
   168                        "0",
   169                        "5359",
   170                        "124"
   171                      ]
   172                    }
   173                  ],
   174                  "platform": {
   175                    "brand": "macOS",
   176                    "version": [
   177                      "12",
   178                      "3",
   179                      "1"
   180                    ]
   181                  },
   182                  "mobile": 0,
   183                  "architecture": "x86",
   184                  "bitness": "64",
   185                  "source": 2
   186                },
   187                "h": 1169,
   188                "w": 1098,
   189                "language": "de"
   190              },
   191              "tmax": 1000,
   192              "source": {
   193                "tid": "ceb63773-4280-45f2-a684-94cf6a3b8fcf"
   194              },
   195              "ext": {
   196                "prebid": {
   197                  "auctiontimestamp": 1.671449004622e+12,
   198                  "channel": {
   199                    "name": "pbjs",
   200                    "version": "v7.28.0"
   201                  },
   202                  "debug": true,
   203                  "targeting": {
   204                    "includebidderkeys": false,
   205                    "includewinners": true
   206                  }
   207                }
   208              }
   209            },
   210            "impIDs":["div-gpt-ad-1460505748561-0"]
   211          },
   212          "mockResponse": {
   213            "status": 200,
   214            "body": "fail for unmarshall"
   215          }
   216        }
   217      ],
   218      "expectedBidResponses": [],
   219      "expectedMakeBidsErrors": [
   220          {
   221              "value": "json: cannot unmarshal string into Go value of type openrtb2.BidResponse",
   222              "comparison": "literal"
   223          }
   224      ]
   225    }