prebid/professor-prebid

Halt further auctions & refreshes button

Opened this issue · 1 comments

It would be great if we could halt the refresh of ads, additional auctions, insertion of additional units via a button. Often times freezing state can allow one to diagnose an issue deeply.

Some ideas:
To block GAM we could perhaps try to override the pubads.refresh fucntion: googletag.pubads().refresh = function(a){ console.log('gam refresh:',a)}
To block Prebid auctions, we could try to leverage the beforeRequestBids event:

https://docs.prebid.org/dev-docs/publisher-api-reference/onEvent.html