github.com/prebid/prebid-server@v0.275.0/adapters/applogy/applogytest/supplemental/invalid-params.json (about)

     1  {
     2  	"mockBidRequest": {
     3  		"id": "test-request-id",
     4  		"imp": [{
     5  			"id": "test-impression-id-1",
     6  			"banner": {}
     7  		}, {
     8  			"id": "test-impression-id-2",
     9  			"banner": {
    10  				"w": 300,
    11  				"h": 250
    12  			}
    13  		}, {
    14  			"id": "test-impression-id-3",
    15  			"banner": {
    16  				"w": 300,
    17  				"h": 250
    18  			},
    19  			"ext": {}
    20  		}, {
    21  			"id": "test-impression-id-4"
    22  		}, {
    23  			"id": "test-impression-id-5",
    24  			"banner": {
    25  				"w": 300,
    26  				"h": 250
    27  			},
    28  			"ext": {
    29  				"bidder": {
    30  					"token": "test-token-5"
    31  				}
    32  			}
    33  		}, {
    34  			"id": "test-impression-id-0",
    35  			"banner": {
    36  				"w": 300,
    37  				"h": 250
    38  			},
    39  			"ext": {
    40  				"bidder": "invalid bidder"
    41  			}
    42  		}, {
    43  			"id": "test-impression-id-0",
    44  			"banner": {
    45  				"w": 300,
    46  				"h": 250
    47  			},
    48  			"ext": {
    49  				"bidder": {}
    50  			}
    51  		}, {
    52  			"id": "test-impression-id-0",
    53  			"banner": {
    54  				"w": 300,
    55  				"h": 250
    56  			},
    57  			"ext": "invalid ext"
    58  		}]
    59  	},
    60  	"httpCalls": [{
    61  		"expectedRequest": {
    62  			"uri": "http://example.com/prebid/test-token-5",
    63  			"body": {
    64  				"id": "test-request-id",
    65  				"imp": [{
    66  					"id": "test-impression-id-5",
    67  					"banner": {
    68  						"h": 250,
    69  						"w": 300
    70  					},
    71  					"ext": {
    72  						"bidder": {
    73  							"token": "test-token-5"
    74  						}
    75  					}
    76  				}]
    77  			}
    78  		},
    79  		"mockResponse": {
    80  			"status": 200,
    81  			"body": {
    82  				"id": "test-response-id",
    83  				"seatbid": [{
    84  					"bid": [{
    85  						"id": "test-bid-id-5",
    86  						"impid": "test-impression-id-5",
    87  						"price": 5
    88  					}, {
    89  						"id": "test-bid-id-6",
    90  						"impid": "test-impression-id-6",
    91  						"price": 6
    92  					}]
    93  				}]
    94  			}
    95  		}
    96  	}],
    97  	"expectedBidResponses": [{
    98  		"bids": [{
    99  			"bid": {
   100  				"id": "test-bid-id-5",
   101  				"impid": "test-impression-id-5",
   102  				"price": 5
   103  			},
   104  			"type": "banner"
   105  		}]
   106  	}],
   107  	"expectedMakeRequestsErrors": [{
   108  		"value": "banner size information missing",
   109  		"comparison": "literal"
   110  	}, {
   111  		"value": "impression extensions required",
   112  		"comparison": "literal"
   113  	}, {
   114  		"value": "bidder required",
   115  		"comparison": "literal"
   116  	}, {
   117  		"value": "Applogy only supports banner, video or native ads",
   118  		"comparison": "literal"
   119  	}, {
   120  		"value": "json: cannot unmarshal string into Go value of type openrtb_ext.ExtImpApplogy",
   121  		"comparison": "literal"
   122  	}, {
   123  		"value": "Applogy token required",
   124  		"comparison": "literal"
   125  	}, {
   126  		"value": "json: cannot unmarshal string into Go value of type adapters.ExtImpBidder",
   127  		"comparison": "literal"
   128  	}],
   129  	"expectedMakeBidsErrors": [{
   130  		"value": "ignoring bid id=test-bid-id-6, request doesn't contain any valid impression with id=test-impression-id-6",
   131  		"comparison": "literal"
   132  	}]
   133  }