This page shows how to set up your ad server so that you can serve multi-format ads.
Multi-Format ads allow you to declare multiple media types on a single ad unit. For example, you can set up one ad on the page that could show a banner, native, or outstream video ad, depending on which had the highest bid.
For instructions on how to set up multi-format ads from the engineering side, see Show Multi-Format Ads with Prebid.js.
In DFP, create an ad unit.
Decide what combination of formats will be permitted on the ad unit. This will determine what sizes you allow to serve. The ad unit’s sizes must be configured properly to support the combination of formats that will be permitted.
If your ad unit will support native ads, you may want to create a custom Prebid Native Format and at least one Prebid Native Style. Examples of each are given in Setting up Prebid Native in DFP.
In DFP, create a new order. This order will be associated with the multiple line items needed to run multi-format auctions.
Multi-format ad units which support native require at least two distinct sets of line items and creatives:
One for banners and/or outstream video. Banners and outstream videos will serve into a DFP banner creative.
One for native. Native ads will serve into a native creative with native format and styles.
Follow the instructions for creating line items and creatives in Send all bids to the ad server, with the following changes:
Follow the instructions for creating line items, creatives, custom native formats, and native styles in Show Native Ads, with the following changes:
Add key-value targeting for ‘hb_format’ is ‘native’
Make sure you’re targeting the right sizes for the native ads you want to serve: