I am working on a JS wrapper with prebid.js and googletags, and I am having a very weird issue. I am new to prebid and googletags and ads, so I might just be missing a small detail, but here we go:
I noticed that prebid didnt seem to get any response when running pbjs.requestBids()
. It also never times out, even with the timeout set very low.
I tried to isolate the problem from my wrappers code, so I took the example code prebid has in their docs, and simply inserted my values into the adUnits
variable. Even tho everything looks right, it still causes the same issue as before. No response, no timeout. Nothing. It eventually results to timing out all of prebid with the-
// in case PBJS doesn't load
setTimeout(function() {
initAdserver();
}, FAILSAFE_TIMEOUT);
-section.
I have installed the Professor Prebid extention, and there is absolutely nothing in there. Looks like prebid did not even start, but the console clearly shows that it has started up.
I have tried using only one single bidder in my Prebid.js, same issue.
The rest of the example code is left unmodified, and it works with the default values, so it must be something in my adunit code causing the weird issue, right?
TLDR:
Is there a known issue that can cause pbjs.requestBids()
to not respond at all?