Open kieron opened 3 years ago
I was getting the same error, and the error went away when I changed 'isNewAdsCode' to be false. Alternatively, you could remove that parameter from the 'use' call entirely, as if defaults to false.
I got the same error and used the solution proposed by @JessePost1 The error is probably because the Auto Ads Components pushes the code after the script loads. I think the conflict is that probably the new way of loading the library (by sending the published ID) does the same thing.
Hello, I am receiving the following console error:
Picture of the error if it's easier:
I have my
main.js
set up like this, and this is the only code I have added, relating to this ad package, so hopefully I am not just missing something silly :)I was hoping to just try these auto-ads out, and let Google do its thing & see what happens, so I enabled Auto ads on the AdSense side of things, but yeah currently getting this.
I can censor my ad ID's but I guess they're public anyway in the source of the site.
Thanks in advance!