-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TagError: adsbygoogle.push() error: All ins elements in the DOM with class=adsbygoogle already have ads in them. #179
Comments
I have the same error. |
hope we get fix for it cuz what i see there is no response from them |
also same error |
This is still very much the case. Has anyone figured out the reason it happens? |
We are using this module and don't have this error. Must be a config issue? |
Same error. |
same error here too. |
Same error |
I had |
Same error. Is there any solution? |
Do you have an adblocker on by chance? |
No, I'm still in dev mode and don't have adblock enabled |
can you share a reproduction without your adsense acct creds? |
@kylegl I think it's coming from the querySelector looking only for class adsbygoogle. I've done a pull request #192 |
I just install with yarn and add modules in nuxt.config. export default defineNuxtConfig({
...,
modules: [
...,
'@nuxtjs/google-adsense'
],
googleAdsense: {
id: 'ca-pub-XXXXXXX',
test: true
}
}) When I run
|
I think @jbmolle found the issue. If i understand it correctly, if you have no ads on the page, the script still tries to push an ad. |
The problem is solved If you just configure it as shown below, export default defineNuxtConfig({
...,
modules: [
...,
'@nuxtjs/google-adsense'
],
googleAdsense: {
id: 'ca-pub-XXXXXXX',
test: true
}
}) but do not insert the component |
Same error. How can I fix that? |
Same error here |
Got the same problem |
same error |
Dear Support Team,
I am writing to you because I am experiencing an issue with the
@nuxtjs/google-adsense
library that I am using on my website. Specifically, I am seeing the following error message in my console:TagError: adsbygoogle.push() error: All ins elements in the DOM with class=adsbygoogle already have ads in them.
I believe this error is related to the
adsbygoogle
tags that I am using in my HTML code to display ads on my site. However, I am unsure how to resolve this issue.i want to load multi tags in one page, and I believe there is a way to make it right.
Could you please provide any additional guidance on how to troubleshoot this issue? I would greatly appreciate any assistance you can provide.
Thank you for your time and attention to this matter.
Best regards,
Yazan Alhaffar
The text was updated successfully, but these errors were encountered: