Quick Help

The knowledgebase is a categorized collection of answers to frequently asked questions (FAQ) and articles. You can read articles in this category or select a subcategory that you are interested in.



 Video Ad Unit Configuration

Solution

To enable video demand via PixFuture, publishers need to properly configure their Prebid ad units for video inventory.

Below is an example of a correct configuration for instream video:


var adUnits = [
{
    code: 'video-ad-unit-1',
    mediaTypes: {
        video: {
            context: 'instream',
            playerSize: [[640, 320]],
            mimes: ['video/mp4'],
            protocols: [2, 3, 5, 6],
            playbackmethod: [2],
            api: [2],
            placement: 1
        }
    },
    bids: [
        {
            bidder: 'pixfuture',
            params: {
                pix_id: '12345'
            }
        }
    ]
}
];

Key Requirements

  • Make sure you are using Prebid.js version 11.5 or higher, as video support for PixFuture requires this version or above.
  • The mediaTypes.video object must be properly defined (context, player size, protocols, etc.).
  • The pix_id should match the one provided to you (e.g., 12345).

Notes

  • This setup enables the PixFuture adapter to participate in instream video auctions.
  • The adapter will return VAST responses that can be rendered using VAST-compatible video players such as Google IMA SDK or Video.js.