Closed Rubioli closed 7 years ago
1) yes postbid is a good way to go but you can also write your own code.
2) You need to close your iframe document after your done writing, otherwise the browser doesn't receive the signal that the iframe is loaded.
iframeDoc.close()
;
Thanks a bunch @mkendall07
Regarding writing my own code, is it any good sources so I can read over and write what I need?
Appreciate your help!
I think you've got already what you need? There isn't any other examples except what is published on Prebid.org.
I dont use DFP in my application for prebid and because of that I use Postbid Example from prebid.org.
One of the reasons I used that example is since I can do PassBacks without needing DFP and this is what I do to get the passback:
And here is my whole code PS: I already add the prebid.js in
<head>
:When page is loading, if there is a header bidding ad from one of our partners, everything goes fine, BUT if it goes to the PassBack, that page never stop loading and it just keep loading and loading.
I have a 2 part question: 1) If I don't use DFP, is Postbid Example best way to go or there is other way to do so like using Basic Prebid.js Example and fix it for none DFP?
2) Why the page keeps loading when it goes to PassBack (have tried
iframe
&<script>
with same result) and how to fix it?Any help is much appreciated