For line items that target browsers only, you may use Prebid.js dynamic creatives as an alternative to Prebid Universal Creative. The former provides slightly better performance and ease of use, but relies on Prebid.js, meaning that it does not support non-JS use cases (such as mobile apps or AMP).
A creative set up to use Prebid Universal Creative:
A Prebid.js dynamic creative:
Dynamic creatives require Prebid.js version 8.36 or higher.
Set up the creative following this example. If you are not using GAM, replace the macros in the second script tag with appropriate equivalents.
Since Prebid.js 11.27, any fields passed to pbRender besides adId and pubUrl are forwarded to Prebid.js as render options. The example passes the GAM view-tracking URL as viewUrl: "%%VIEW_URL_UNESC%%"; Prebid.js stores it on the rendered bid as bid.viewUrl but does not fire it.
To render native ads, you also need to include the nativeRendering module in your Prebid.js bundle.