This page describes step by step how to set up Prebid Mobile line items for MoPub to serve ads on app with the Prebid SDK. It is using the Universal Prebid Creative.
For each level of pricing granularity you need, you will have to set up one line item/creative pair.
Line items must be set up to target custom keywords that include bid price information. The bid price keywords tell you how much the buyer bid on the impression.
Prebid Mobile will send the highest bid price to DFP using the keyword
hb_pb but will also pass the keys
hb_pb_BIDDERCODE. You can decide to create one set of line items for all bidders or one set of line items for each bidder.
Banner creatives must be HTML banners with the Format set to Banner that include the code shown below.
The hb_cache_id variable stands for the cache id that will load the ad markup from the bid from Prebid Cache. Within each line item, for each ad unit size there should be one creative with this content.
You can always get the latest version of the creative code below from the Mobile example creative file in our GitHub repo.
Duplicate your line items according to your price granularity setting.