Activities

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

rlam3

rlam3 posted a new question

google-adsense-module •

Would love a working example.

Would love a working example as reference.

Been trying to get mine code working but it doesn't seem to work show anything in page.
It shows up the tag of

tag of <adsbygoogle/>

Console error:

[Vue warn]: Unknown custom element: <adsbygoogle> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

but nothing to show for it.

Thanks!

lunafi-evan

lunafi-evan posted a new question

google-adsense-module •

not detected by Google Adsense application

I've enabled this module in a production website that's hosted using a static nuxt deployment. I tried applying to Google Adsense twice and both times the application failed because they were unable to detect the code on the website. I can look at the sources and see the code in an included <script> tag, but Google doesn't detect it.

lunafi-evan

lunafi-evan posted a new question

google-adsense-module •

Error: Cannot find module './package.json'

To recreate this I did:

  • vue init nuxt-community/starter-template vue-adsense-test
  • cd vue-adsense-test
  • npm i
  • npm i -S @nuxtjs/google-adsense

* added adsense module to nuxt.config.js

After installing 1.0.1 and adding this to my nuxt.config.js

    ['@nuxtjs/google-adsense', { id: '<my id>' }],    

This is logged to the terminal while nuxt is starting up

> [email protected]1.0.0 dev /home/evan/devel/temp/vue-adsense-test
> nuxt

{ Error: Cannot find module './package.json'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/evan/devel/temp/vue-adsense-test/node_modules/@nuxtjs/google-adsense/lib/module.js:61:23)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at ModuleContainer._callee2$ (/home/evan/devel/temp/vue-adsense-test/node_modules/nuxt/lib/core/module.js:108:16)
    at tryCatch (/home/evan/devel/temp/vue-adsense-test/node_modules/nuxt/node_modules/regenerator-runtime/runtime.js:65:40)
    at Generator.invoke [as _invoke] (/home/evan/devel/temp/vue-adsense-test/node_modules/nuxt/node_modules/regenerator-runtime/runtime.js:299:22)
    at Generator.prototype.(anonymous function) [as next] (/home/evan/devel/temp/vue-adsense-test/node_modules/nuxt/node_modules/regenerator-runtime/runtime.js:117:21) code: 'MODULE_NOT_FOUND' }
  nuxt:build App root: /home/evan/devel/temp/vue-adsense-test +0ms

I get this in the browser: Cannot GET / and this in the browser console (Chrome):

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