Prebid.js icon indicating copy to clipboard operation
Prebid.js copied to clipboard

Ad Units for Infinite Scroll page

Open yogeshadsparc opened this issue 8 years ago • 2 comments

Hi @mkendall07 , Is there any way to create or assign adunits to dynamically created div on the page? e.g on mobile view on every scroll new adslot is generated dynamically, how can add or setup bid to that adslot?

I tried with replacing div id with adunit path in prebid adunit setup, but it's not working for me. e.g ref. https://github.com/prebid/Prebid.js/blob/master/integrationExamples/gpt/pbjs_partial_refresh_gpt.html

Please let me know how can I implement this with prebid.

yogeshadsparc avatar Feb 22 '18 17:02 yogeshadsparc

The best way is to add an additional adUnit and requestBids again. you can copy the old adUnit if you want and just update the adUnit.code.

mkendall07 avatar Feb 22 '18 21:02 mkendall07

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 08 '18 22:03 stale[bot]