{
    "mockBidRequest": {
        "id": "test-request-id",
        "site": {
            "page": "https://good.site/url",
            "domain": "good.site",
            "publisher": {
                "id": "uniq_pub_id"
            },
            "keywords": "omgword",
            "ext": {
                "amp": 0
            }
        },
        "imp": [
            {
                "id": "test-imp-id-banner",
                "banner": {
                    "format": [
                        {
                            "w": 300,
                            "h": 250
                        }
                    ]
                },
                "ext": {
                    "bidder": {
                        "placementId": 13245
                    }
                }
            },
            {
                "id": "test-imp-id-video",
                "video": {
                    "mimes": ["video/mp4"],
                    "protocols": [2, 5],
                    "w": 1920,
                    "h": 1080
                },
                "ext": {
                    "bidder": {
                        "placementId": 13244
                    }
                }
            },
            {
                "id": "test-multi-format-id-with-mtype",
                "banner": {
                    "format": [
                        {
                            "w": 300,
                            "h": 250
                        }
                    ]
                },
                "video": {
                    "mimes": ["video/mp4"],
                    "protocols": [2, 5],
                    "w": 1920,
                    "h": 1080
                },
                "ext": {
                    "bidder": {
                        "placementId": 13245
                    }
                }
            }
        ]
    },

    "httpCalls": [
        {
            "expectedRequest": {
                "uri": "http://localhost/pbs",
                "body": {
                    "id": "test-request-id",
                    "site": {
                        "page": "https://good.site/url",
                        "domain": "good.site",
                        "publisher": {
                            "id": "uniq_pub_id"
                        },
                        "keywords": "omgword",
                        "ext": {
                            "amp": 0
                        }
                    },
                    "imp": [
                        {
                            "id": "test-imp-id-banner",
                            "banner": {
                                "format": [
                                    {
                                        "w": 300,
                                        "h": 250
                                    }
                                ]
                            },
                            "ext": {
                                "bidder": {
                                    "placementId": 13245
                                }
                            }
                        }
                    ]
                },
                "impIDs":["test-imp-id-banner"]
            },
            "mockResponse": {
                "status": 200,
                "body": {
                    "id": "test-request-id",
                    "seatbid": [
                        {
                            "seat": "improvedigital",
                            "bid": [
                                {
                                    "id": "randomid1",
                                    "impid": "test-imp-id-banner",
                                    "price": 0.5,
                                    "adid": "12345678",
                                    "adm": "some-test-ad-html",
                                    "cid": "987",
                                    "crid": "12345678",
                                    "h": 250,
                                    "w": 300
                                }
                            ]
                        }
                    ],
                    "cur": "USD"
                }
            }
        },
        {
            "expectedRequest": {
                "uri": "http://localhost/pbs",
                "body": {
                    "id": "test-request-id",
                    "site": {
                        "page": "https://good.site/url",
                        "domain": "good.site",
                        "publisher": {
                            "id": "uniq_pub_id"
                        },
                        "keywords": "omgword",
                        "ext": {
                            "amp": 0
                        }
                    },
                    "imp": [
                        {
                            "id": "test-imp-id-video",
                            "video": {
                                "mimes": ["video/mp4"],
                                "protocols": [2, 5],
                                "w": 1920,
                                "h": 1080
                            },
                            "ext": {
                                "bidder": {
                                    "placementId": 13244
                                }
                            }
                        }
                    ]
                },
                "impIDs":["test-imp-id-video"]
            },
            "mockResponse": {
                "status": 200,
                "body": {
                    "id": "test-request-id",
                    "seatbid": [
                        {
                            "seat": "improvedigital",
                            "bid": [
                                {
                                    "id": "randomid2",
                                    "impid": "test-imp-id-video",
                                    "price": 0.5,
                                    "adm": "some-test-ad-vast",
                                    "crid": "1234567",
                                    "w": 1920,
                                    "h": 1080
                                }
                            ]
                        }
                    ],
                    "cur": "USD"
                }
            }
        },
        {
            "expectedRequest": {
                "uri": "http://localhost/pbs",
                "body": {
                    "id": "test-request-id",
                    "site": {
                        "page": "https://good.site/url",
                        "domain": "good.site",
                        "publisher": {
                            "id": "uniq_pub_id"
                        },
                        "keywords": "omgword",
                        "ext": {
                            "amp": 0
                        }
                    },
                    "imp": [
                        {
                            "id": "test-multi-format-id-with-mtype",
                            "banner": {
                                "format": [
                                    {
                                        "w": 300,
                                        "h": 250
                                    }
                                ]
                            },
                            "video": {
                                "mimes": ["video/mp4"],
                                "protocols": [2, 5],
                                "w": 1920,
                                "h": 1080
                            },
                            "ext": {
                                "bidder": {
                                    "placementId": 13245
                                }
                            }
                        }
                    ]
                },
                "impIDs":["test-multi-format-id-with-mtype"]
            },
            "mockResponse": {
                "status": 200,
                "body": {
                    "id": "test-request-id",
                    "seatbid": [
                        {
                            "seat": "improvedigital",
                            "bid": [
                                {
                                    "id": "randomid1",
                                    "impid": "test-multi-format-id-with-mtype",
                                    "price": 0.5,
                                    "adid": "12345678",
                                    "adm": "some-test-ad-html",
                                    "cid": "987",
                                    "crid": "12345678",
                                    "h": 250,
                                    "w": 300,
                                    "mtype": 1
                                }
                            ]
                        }
                    ],
                    "cur": "USD"
                }
            }
        }
    ],

    "expectedBidResponses": [
        {
            "currency": "USD",
            "bids": [
                {
                    "bid": {
                        "id": "randomid1",
                        "impid": "test-imp-id-banner",
                        "price": 0.5,
                        "adm": "some-test-ad-html",
                        "adid": "12345678",
                        "cid": "987",
                        "crid": "12345678",
                        "w": 300,
                        "h": 250
                    },
                    "type": "banner"
                }
            ]
        },
        {
            "currency": "USD",
            "bids": [
                {
                    "bid": {
                        "id": "randomid2",
                        "impid": "test-imp-id-video",
                        "price": 0.5,
                        "adm": "some-test-ad-vast",
                        "crid": "1234567",
                        "w": 1920,
                        "h": 1080
                    },
                    "type": "video"
                }
            ]
        },
        {
            "currency": "USD",
            "bids": [
                {
                    "bid": {
                        "id": "randomid1",
                        "impid": "test-multi-format-id-with-mtype",
                        "price": 0.5,
                        "adm": "some-test-ad-html",
                        "adid": "12345678",
                        "cid": "987",
                        "crid": "12345678",
                        "w": 300,
                        "h": 250,
                        "mtype": 1
                    },
                    "type": "banner"
                }
            ]
        }
    ]
}
