Bid Response JSON Examples

Native Response

{
    "id":"d7d1e107-987h",
    "cur":"usd",
    "ext":{
        "protocol":"6.0"
    },
    "seatbid":[
        {
            "seat":"4",
            "bid":[
                {
                    "id":"qwerty-098765",
                    "item":"asdf-7890",
                    "price":1.45,
                    "cid":"app-mraid-campaign-3442",
                    "burl":"https://adserver.com/winnotice?impid=102&winprice=${AUCTION_PRICE}",
                    "macro":[
                        {
                            "key":"TIMESTAMP",
                            "value":"1127987134"
                        }
                    ],
                    "ext":{
                        "agency_id":"agency_123",
                        "advertiser_name":"example advertiser"
                    },
                    "media":{
                        "ad":{
                            "id":"creative_id_1234",
                            "adomain":[
                                "example.com",
                                "example.io"
                            ],
                            "cat":[
                                "cat_1",
                                "cat_2"
                            ],
                            "lang":"en",
                            "attr":[
                                3,
                                7
                            ]
                        },
                        "secure":1,
                        "display":{
                            "ctype":4,
                            "event":[
                                {
                                    "type":1,
                                    "method":2,
                                    "url":"http://www.mytracker.com/tracker.js"
                                },
                                {
                                    "type":2,
                                    "method":1,
                                    "url":"http://www.example.com/tracker.php"
                                }
                            ],
                            "native":{
                                "asset":[
                                    {
                                        "id":1,
                                        "title":{
                                            "text":"JSON Arthouse Expos"
                                        }
                                    },
                                    {
                                        "id":2,
                                        "img":"example.com/pic.png",
                                        "w":250,
                                        "h":320
                                    },
                                    {
                                        "id":3,
                                        "video":{
                                            "curl":"example.com/video-link.mp4"
                                        }
                                    },
                                    {
                                        "id":4,
                                        "data":"Some additional data"
                                    },
                                    {
                                        "id":5,
                                        "link":{
                                            "url":"example.come",
                                            "trkr":[
                                                "example.tracker.url_1/?fire=123",
                                                "example.tracker.url_2/?fire=321"
                                            ]
                                        }
                                    }
                                ]
                            }
                        }
                    }
                }
            ]
        }
    ]
}

Video Response

{
    "id":"d7d1e107-987h",
    "cur":"usd",
    "ext":{
        "protocol":"6.0"
    },
    "seatbid":[
        {
            "seat":"4",
            "bid":[
                {
                    "id":"qwerty-098765",
                    "item":"asdf-7890",
                    "price":1.45,
                    "cid":"app-mraid-campaign-3442",
                    "burl":"https://adserver.com/winnotice?impid=102&winprice=${AUCTION_PRICE}",
                    "macro":[
                        {
                            "key":"TIMESTAMP",
                            "value":"1127987134"
                        }
                    ],
                    "ext":{
                        "agency_id":"agency_123",
                        "advertiser_name":"example advertiser"
                    },
                    "media":{
                        "ad":{
                            "id":"creative_id_1234",
                            "adomain":[
                                "example.com",
                                "example.io"
                            ],
                            "cat":[
                                "cat_1",
                                "cat_2"
                            ],
                            "lang":"en",
                            "attr":[
                                3,
                                7
                            ]
                        },
                        "secure":1,
                        "video":{
                            "dur":15,
                            "curl":"https://example-vast.com/vast/some-vast.xml",
                            "api":[
                                3,
                                6,
                                7
                            ],
                            "ctype":[
                                7,
                                8
                            ]
                        }
                    }
                }
            ]
        }
    ]
}

Audio Response

{
    "id":"d7d1e107-987h",
    "cur":"usd",
    "ext":{
        "protocol":"6.0"
    },
    "seatbid":[
        {
            "seat":"4",
            "bid":[
                {
                    "id":"qwerty-098765",
                    "item":"asdf-7890",
                    "price":1.45,
                    "cid":"app-mraid-campaign-3442",
                    "burl":"https://adserver.com/winnotice?impid=102&winprice=${AUCTION_PRICE}",
                    "macro":[
                        {
                            "key":"TIMESTAMP",
                            "value":"1127987134"
                        }
                    ],
                    "ext":{
                        "agency_id":"agency_123",
                        "advertiser_name":"example advertiser"
                    },
                    "media":{
                        "ad":{
                            "id":"creative_id_1234",
                            "adomain":[
                                "example.com",
                                "example.io"
                            ],
                            "cat":[
                                "cat_1",
                                "cat_2"
                            ],
                            "lang":"en",
                            "attr":[
                                3,
                                7
                            ]
                        },
                        "secure":1,
                        "audio":{
                            "curl":"http://adserver.com/vast?impid=1234",
                            "ctype":[
                                9,
                                10
                            ]
                        }
                    }
                }
            ]
        }
    ]
}

Display Response

{
    "id":"d7d1e107-987h",
    "cur":"usd",
    "ext":{
        "protocol":"6.0"
    },
    "seatbid":[
        {
            "seat":"4",
            "bid":[
                {
                    "id":"qwerty-098765",
                    "item":"asdf-7890",
                    "price":1.45,
                    "cid":"app-mraid-campaign-3442",
                    "burl":"https://adserver.com/winnotice?impid=102&winprice=${AUCTION_PRICE}",
                    "macro":[
                        {
                            "key":"TIMESTAMP",
                            "value":"1127987134"
                        }
                    ],
                    "ext":{
                        "agency_id":"agency_123",
                        "advertiser_name":"example advertiser"
                    },
                    "media":{
                        "ad":{
                            "id":"creative_id_1234",
                            "adomain":[
                                "example.com",
                                "example.io"
                            ],
                            "cat":[
                                "cat_1",
                                "cat_2"
                            ],
                            "lang":"en",
                            "attr":[
                                3,
                                7
                            ]
                        },
                        "secure":1,
                        "display":{
                            "ctype":1,
                            "adm":"<a href=\"http://adserver.com/click?adid=125&tracker=${CLICK_URL:URLENCODE}\"> <img src=\"http://image1.cdn.com/impid=102\"/></a>",
                            "event":[
                                {
                                    "type":1,
                                    "method":2,
                                    "url":"http://www.mytracker.com/tracker.js"
                                },
                                {
                                    "type":2,
                                    "method":1,
                                    "url":"http://www.example.com/tracker.php"
                                }
                            ]
                        }
                    }
                }
            ]
        }
    ]
}