You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am opening this issue to initiate a discussion regarding the implementation of support for a dynamic renderer within the Prebid Server bid adapter.
This proposed feature aims to enable the inclusion of a renderer URL within the bid response. With the presence of this field, the necessity for defining the renderer at the ad unit level would be eliminated. Consequently, the validation criteria for a valid bid would need to be adjusted to accommodate this new field.
To implement this, the process of setting the renderer on the bid requires updates. During a local POC I updated the getPreparedBidForAuction function in auction.js, this was updated to set the bid.renderer function, using the new renderer url that was passed in via the bid response.
It's important to note that supporting a dynamic renderer and incorporating bid renderer installation into the core of Prebid.js would necessitate a standardized API for each renderer. Currently, different adapters have varying methods for rendering an outstream video player.
An example of standardization for custom renderers for native ad units is in the linked documentation. The same API could be required in supporting this feature, that is required in the native ad unit case.
Type of issue
Feature Request
Description
I am opening this issue to initiate a discussion regarding the implementation of support for a dynamic renderer within the Prebid Server bid adapter.
This proposed feature aims to enable the inclusion of a renderer URL within the bid response. With the presence of this field, the necessity for defining the renderer at the ad unit level would be eliminated. Consequently, the validation criteria for a valid bid would need to be adjusted to accommodate this new field.
To implement this, the process of setting the renderer on the bid requires updates. During a local POC I updated the
getPreparedBidForAuction
function inauction.js
, this was updated to set the bid.renderer function, using the new renderer url that was passed in via the bid response.It's important to note that supporting a dynamic renderer and incorporating bid renderer installation into the core of Prebid.js would necessitate a standardized API for each renderer. Currently, different adapters have varying methods for rendering an outstream video player.
An example of standardization for custom renderers for native ad units is in the linked documentation. The same API could be required in supporting this feature, that is required in the native ad unit case.
https://docs.prebid.org/prebid/native-implementation.html#43-implementing-the-custom-renderer-scenario
I am seeking feedback on this requested feature.
I am also attaching a draft PR that shows an example implementation of the above described feature:
#10433
The text was updated successfully, but these errors were encountered: