Activities

andriyfm

andriyfm posted a new question

google-adsense-module •

The value of google_ad_client not detected

I try to follow the instruction to use this package, but why on my website source code not detect the adsense id (googleadclient), please can anyone explain this, because adsense warn me to add the script code into html head.

Expected:

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: "ca-pub-123456789",
    enable_page_level_ads: true
});
</script>

My website result:

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: "ca-google",
    enable_page_level_ads: true
});
</script>

My nuxt.config.js:

modules:[
    ...
    "@nuxtjs/google-adsense"
],

"google-adsense": {
    id: "ca-pub-1689261451013362",
    pageLevelAds: true,
    test: true
  },

i hope anyone can help and give me a solutions. thanks

ftpyz

ftpyz posted a new question

google-adsense-module •

adsbygoogle.push() error: problem

i add add <adsbygoogle/> tag but same page not showing ads and error in console

N {message: "adsbygoogle.push() error: All ins elements in the … with class=adsbygoogle already have ads in them.", name: "TagError", pbr: true, stack: "TagError: adsbygoogle.push() error: All ins elemen…takibi.net/_nuxt/698ebd7a4cc609cb3a99.js:2:11947)"}

https://kargotakibi.net/en-yakin-mng-kargo/adana-subeleri/adana-merkez-subesi

drossan

drossan posted a new question

google-adsense-module •

Support to auto ads

Hi,

¿This package hace support to auto ADS?

amritk

amritk posted a new question

google-adsense-module •

getPageCorrelator undefined in console

The module and everything works, but I am seeing this log in my console, both on development and production, sometimes the undefined is replaced by a number.

getPageCorrelator undefined     show_ads_impl.js:15 

Does anyone know what that means?

cliffordh

cliffordh posted a new question

google-adsense-module •

Can't set the ins class

I'm trying to use media query based classes, for example:

.example_responsive_1 {
  width: auto;
  height: 100px;
  max-height: 100px;
}
@media (min-width: 568px) {
  .example_responsive_1 {
    width: auto;
    height: 60px;
    max-height: 60px;
  }
}
@media (min-width: 800px) {
  .example_responsive_1 {
    width: auto;
    height: 90px;
    max-height: 90px;
  }

to control the size of the Google Ad. However, I can't find a way to make this work just using ad-style. Any suggestions?

manniL

manniL posted a new question

google-adsense-module •

Use analytics ID from https://github.com/nuxt-community/analytics-module if present
auedbaki

auedbaki posted a new question

google-adsense-module •

How to disable page level ads on some pages

Nothing to preview

maverickpravin

maverickpravin posted a new question

google-adsense-module •

Google AdSense module working abnormally - showing ads on each page

The nuxt ads module must show ads only on intended pages. But the ads are displayed on all pages in production. In development mode it works as expected.

maverickpravin

maverickpravin posted a new question

google-adsense-module •

Google adsense working abnormally

@tmorehouse
I am using
Nuxt version - latest
npm - latest
node - latest
the adsense module by nuxt works normally as it would in development mode. But in production mode the ads are being shown on each page.

maverickpravin

maverickpravin posted a new question

google-adsense-module •

This issue as been imported as [question](https://cmty.app/nuxt/google-adsense-module/issues/c15) since it does not respect [google-adsense-module issue template](https://cmty.app/nuxt/issues/new?repo=google-adsense-module). Only bug reports and feature requests stays open to reduce maintainers workload.

This issue as been imported as question since it does not respect google-adsense-module issue template. Only bug reports and feature requests stays open to reduce maintainers workload.
If your issue is not a question, please mention the repo admin or moderator to change its type and it will be re-opened automatically.
Your question is available at https://cmty.app/nuxt/google-adsense-module/issues/c15.

_Originally posted by @cmty in https://github.com/nuxt-community/google-adsense-module/issues/24#issuecomment-468136856_

sarthaksavvy

sarthaksavvy posted a new question

google-adsense-module •

Showing ad all over the website in production.

I can sucessfully added adsense ads to nuxt project but when I deploy it on server, then ads are showing on each of the page.

vaggelis2018

vaggelis2018 posted a new question

google-adsense-module •

Active

Is this module still active?

yoann54

yoann54 posted a new question

google-adsense-module •

Error adsbygoogle.push() error: No slot size for availableWidth=0

this error appear on my browser adsbygoogle.push() error: No slot size for availableWidth=0 but they appear well on the browser.

my ads are responsive, so maybe i didn't them them well. Does anyone has the same problem ?

jhd4tmr

jhd4tmr posted a new question

google-adsense-module •

Failed to load resource: the server responded with a status of 404 ()

tpc.googlesyndication.com/:1 404 error appears whenever i open a new web page using nuxt-link.

standfv

standfv posted a new question

google-adsense-module •

how to add crossorigin: 'anonymous' in script?

how to add crossorigin: 'anonymous' in script?

standfv

standfv posted a new question

google-adsense-module •

how to add crossorigin='anonymous' in <script>of adsense???

how to add crossorigin='anonymous' in <script>of adsense???

standfv

standfv posted a new question

google-adsense-module •

Failed to load resource: the server responded with a status of 403 () ads

Failed to load resource: the server responded with a status of 403 () ads

kruny1001

kruny1001 posted a new question

google-adsense-module •

nuxt generate

It seems spa version doesn't work.
adsbygoogle.push() error: Only one 'enablepagelevel_ads' allowed per page.

AlexLomm

AlexLomm posted a new question

google-adsense-module •

[Vue warn]: You are using the runtime-only build...

I'm getting the following error when trying to use this package (with nuxt):

screen shot 2018-01-23 at 10 16 44 pm

The issue is arised because templates should be precompiled before releasing dist, as is explained in the following issue: https://github.com/nuxt/nuxt.js/issues/1142#issuecomment-317273189

AlexLomm

AlexLomm posted a new question

google-adsense-module •

Cannot read property 'length' of undefined

Node: v8.9.4
npm: v5.6.0
google-adsense: v1.1.3

I'm getting the following error when running npm run dev against my nuxt project:

screen shot 2018-01-23 at 1 10 49 pm