To integrate the Prebid demand you have to create a Line Items with a specific price and targeting keywords.
Even though a Line Item can be named in any way, we strongly recommend to use the price or targeting keyword in the name. It will help to navigate through hundreds of them.
Create a Line Item depending on the type of expected creative kind:
Set sizes respectively to expected creatives.
The Line Item price should be chosen according to the price granularity policy.
The Custom targeting property should contain a special keyword with the price of winning bid. The same as a Rate of the Line Item.
The Prebid SDK integrates with GAM basing on App Events feature, almost for all ad formats. That means that creative should contain a special tag that will be processed by Prebid’s GAM Event Handlers.
If GAM Event Handler receives the
PrebidAppEvent event it will render the winning bid. Otherwise the control will be passed to the GAM Ad View and it will render the received creative.
Prebid rendering for Rewarded video ads is based on the OnAdMetadataChangedListener. So you need to set up a special VAST tag in the creative.
If GAM Event Handler receives the tag’s info it will render the winning bid. Otherwise the control will be passed to the GAM Ad View and it will render the received creative.