github.com/prebid/prebid-server@v0.275.0/adapters/adnuntius/adnuntiustest/supplemental/width-error.json (about)

     1  {
     2  	"mockBidRequest": {
     3  		"id": "test-request-id",
     4  		"site": {
     5  			"page": "prebid.org"
     6  		},
     7  		"imp": [
     8  			{
     9  				"id": "test-imp-id",
    10  				"banner": {
    11  					"format": [
    12  						{
    13  							"w": 300,
    14  							"h": 250
    15  						},
    16  						{
    17  							"w": 300,
    18  							"h": 600
    19  						}
    20  					]
    21  				},
    22  				"ext": {
    23  					"bidder": {
    24  						"auId": "123"
    25  					}
    26  				}
    27  			}
    28  		]
    29  	},
    30  	"httpCalls": [
    31  		{
    32  			"expectedRequest": {
    33  				"uri": "http://whatever.url?format=json&tzo=0",
    34  				"body": {
    35  					"adUnits": [
    36  						{
    37  							"auId": "123",
    38  							"targetId": "123-test-imp-id",
    39  							"dimensions": [[300,250],[300,600]]
    40  						}
    41  					],
    42  					"context": "prebid.org",
    43  					"metaData": {
    44  
    45  					}
    46  				}
    47  			},
    48  			"mockResponse": {
    49  				"status": 200,
    50  				"body": {
    51  					"adUnits": [
    52  						{
    53  							"auId": "0000000000000123",
    54  							"targetId": "123-test-imp-id",
    55  							"html": "<ADCODE>",
    56  							"responseId": "adn-rsp-900646517",
    57  							"ads": [
    58  								{
    59  									"destinationUrls": {
    60  										"url": "http://www.google.com"
    61  									},
    62  									"bid": {
    63  										"amount": 20.0,
    64  										"currency": "NOK"
    65  									},
    66  									"adId": "adn-id-1559784094",
    67  									"creativeWidth": 980,
    68  									"creativeHeight": "abc",
    69  									"creativeId": "jn9hpzvlsf8cpdmm",
    70  									"lineItemId": "q7y9qm5b0xt9htrv"
    71  								}
    72  							]
    73  						}
    74  					]
    75  				}
    76  			}
    77  		}
    78  	],
    79  	"expectedBidResponses": [
    80  
    81  	],
    82  	"expectedMakeBidsErrors": [
    83  		{
    84  			"value": "json: cannot unmarshal number into Go struct field Ad.AdUnits.Ads.CreativeWidth of type string",
    85  			"comparison": "literal"
    86  		}
    87  	]
    88  }