seeden/react-google-publisher-tag

googletag.pubads().disableInitialLoad()

Opened this issue · 0 comments

Hello,

I'm trying to add a 3rd part script that also uses google adsense but it's not displaying the banner.
After debugging, it looks like the googletag.pubads().disableInitialLoad() from react-google-publisher-tag is blocking the loading of the banner.

If i comment the googletag.pubads().disableInitialLoad() line, all the banners works perfectly, at least it seems to. My question is, does it really need the set googletag.pubads().disableInitialLoad()? There is any workaround without having to modify react-google-publisher-tag code?

Edit: I'm using the version 1.0.4