Adsense blank ads

Hello Guys,
I have seen that ads in some of the page is not visible some times. Some times I have to reload multiple times to make it visible.

Sometimes like this:

Sometimes like this:

Need some help guys! Thanks

This is probably adsense related, not related to plugin.

Adsense sometimes places blank ads to analyse your audience etc. This should resolve soon.

Thanks for the reply.

inspect
What about this one? Is it normal ? Is there anything wrong from with my custom css?

That’s just a warning and shouldn’t impact the ad loading. You can defer it’s loading or maybe use async ad code.

I’m getting the same issue.

Sometimes all the ad units appear, but about two thirds of the time the slots are blank.
The slot has loaded, but no ad appears.

I can’t make heads or tails of it, but it’s certainly impacting revenue heavily.

I’m also getting that warning message “the resource… was preloaded using…”, but nothing else in console.

Discourse is sitting behind NGINX.

For how long have you had AdSense on your site? It took several weeks for me to get good coverage as they needed to index my content first.

Okay that would make sense.

I’ve had Adsense running for years but I recently migrated from Phpbb3 to discourse.

Thanks

I thought I’d provide an update on my experience with the Adsense plugin.

Unfortunately it hasn’t been great. Typically the ad slots fail to load any ad unit, so all I see is a blank space (or the ‘empty’ colour that I set for the ad unit). I’d say about only 40% of the time are ads actually servered. When they are, the “nth” post ad unit is still flakey, sometimes delivering an ad.

I thought it may be something to do with the way that the ads were being called, however I have a skyscraper ad on the side on my page (I used the Discourse Layouts plugin to achieve this), yet it is still hitting around the 50% mark.

Interestingly, older topics almost never have ads, while new topics are more likely to have them appear.

Sadly I’ve seen revenue drop considerably, even though impression counts haven’t really changed.
Further, jittery mobile experience (with the nth post ad slot) and the blank spaces make the site look unfinished. It’s getting to the point where I’m considering cutting my losses and going back to phpbb. It’s a shame because I’m a big advocate of Discourse and don’t want to change.

Would this kind of experience with the Adsense plugin be familiar to anyone?

I’m happy to share my forum URL (here --> http://weststigersforum.com) to demonstrate what I’ve just described.

Yep it’s a total disaster the metrics have collapsed and revenue accordingly.

I’d up your 40% to 80% at times being down on metrics and revenue. :flushed: This is also coming from a phpBB install.

Let that be a word of warning to anyone considering moving, needs to throughly understand the consequences and plan accordingly.

Impressions are wildly down, though we had probably over placed adverts to get that up, but it worked and the users never seem to complain despite it seemingly being overkill.

While googling this issue it’s apprenrlty similar also occurs for Wordpress (not sure if it wa plugin related). I briefly read something about Adsense not being able to find the right sized container and so it does not show an ad when this occurs. Is the same happening here?

I was making some mild CSS adjustments to .topic-body width and noticed when I did that seemed to push things wider and allow an advert suddenly pop into place. This advert was positioned at the bottom of a page, below the REPLY button array.

Is there something in the layout cascade and strucutrepreventing adverts appearing somethings. I have no idea. I could be assuming to much here and it could be coincidence. I’m simply noting what I observed.

Those more familiar with the way the pages are constructed and works together might have better insight.

It could also be a google thing where it doesn’t have the ad to display but it’s impossible to tell right now.

The plugin in my experience needs the following:

  • better settings interface UI
  • no. the ad units, helping cross reference.
  • GFX/Icons would really help to indicate position of ad (settings)
  • more positional controls or more positions to choose from.
  • Sometimes it’s ok to have 3 ads in one row on part of a forum.
  • Sometimes it’s ok to stack ads in 2 or more rows.
  • nth ad on latest page would be a help too (with no next page it’s really needed).
  • being also configurable separate to the topic nth.

Also to add, this is an early phpBB migration too and yes it’s understood traffic will drop (so no surprises here) but with redirects it hasn’t been as bad as expected on user traffic, getting very close to original pattern, maybe 10% lower daily user count (according to analytics) whereas adsense is very very very poor.

Maybe we made the mistake of making up a new ad unit for each entry/position in the adsense plugin (this was for easy of visible tracking for performance) but reverted to historical ad units after a few days. This helped a bit but it’s still 80% revenue drop problem.

Final note, adsense revenue trend was not great before, but this has made it worse so a portion of the issue could be changes on the google side. It’s hard for a Admin these days, so many things coming at ya! :hot_face:

Thus far things goeth:

  • Regular Traffic has come back reasonably well.

  • Indexing is still ongoing and looking way better, mobile friendly errors are falling by a ton!)

Yet, Ads do not load when they should. Reload page, ads appear!.

I don’t know yet if there is similarity or disparity between mobile & desktop serving.

All we know is it’s alarming to see how many ad servings are missing at this point and the real world problem it has created.

Solution?


Version: Discourse install is v2.2 (beta4), with plans to upgrade asap.

Your issues and experience and everything you detail here is identical to our own from beginning to end. (excluding the custom Layout)

Going back seems unthinkable, and is that even technically possible or cost effective. Maybe for some but is it worth the effort. Maybe going sideways into a similar platform is the best option but who wants to do that all over again, Discourse is a nice platform.

There is an important point here that maybe is being missed. I don’t fully know but it would seems that:

Site Admins would surely pay and easily justify the cost of a reasonable purchase fee for a fully functioning Adsense plugin if even it was a nominal fee. $10/20 with a lower renewal for any full point upgrades with maybe a 3/6 month trial for smaller sites with low traffic.

To support updates, fixes and new features too.

UPDATE Apr 3rd '19:

I wanted to add in this image of Pagew View, Impression & Click for the purposes of illustrating the trend of approx 12/13 days period.


Yellow - Impressions
Red - Page Views
Green - Clicks

It’s very obvious ot see where Discourse went live. :slight_smile:

There is the previous and very stable pattern before upgrade and the jump-off-cliff dive. :cry:

Page RPM, Active Viewable Area & Impression Rpm have performed better, a little erratic but also with some good peaks. Nothing like this trending drop of trailing the sea floor!

Generally site Traffic is performing fine and index errors are continuing to drop like flies with a real rise in valid indexing/coverage report and a vast improvement in mobile enhancement performance.

Naturally it takes time for users to grapple with the new UI and other initial issues but that point is passing now and traffic is really starting to conform to typical patterns, maybe still about 10% lower but the gap is closing, with some tentative signs of a rise in mobile traffic.

Impressions & Pages View if these are down then Clicks are going to collapse. That is the relationship. I you can’t see an ad, you don’t have a chance to click or record the impression.

Blank Ads, are still common and again going back through old threads. There can be no other reason and there is no signs of that improving based on the stats to date despite the recovery and beginning stabilisation of traffic.

Yea give it a bit more time but really I’ve played with Adsense for a long time and you can get results fast if you play and you see the changes within 3/4 days.

Maybe this is an indexing issue and is going to take much longer but I dunno yet. Seeing Blank Ads, Ads not loading but loading on a reload does not instil confidence.

My experience is the same.

Since switching the discourse traffic is about 90% compared to comparable periods yet revenue is down about 80-90%.

If I could have my time again I’d stay with PHPBB, even through discourse is a much better platform.

По-прежнему неясно, в чём именно заключается проблема. Мне приходится перезагружать страницу дважды, а иногда и трижды, чтобы появилось объявление. Даже если Google не блокирует рекламу, должен быть пустой контейнер, которого не хватает. Похоже на #баг.

Буду благодарен за любой ответ от команды Discourse. Это нормально?

Если вы недавно обновились, новые политики CSP могут вызывать проблемы. Чтобы снова видеть рекламу, вам нужно добавить домены Google в белый список (или отключить CSP).

Да, недавно я включил политики CSP, но эта проблема возникла даже до их включения. Как добавить Google в белый список? Вот мои текущие настройки CSP.

Вам нужно будет проверить каждый домен, который использует Google, и добавить его. По крайней мере, так я это понимаю.

Вы видите какие-либо ошибки в консоли JavaScript вашего браузера? Есть ли неудачные сетевые запросы к Google с ошибками 400 или подобными? Появляются ли какие-либо ошибки или предупреждения в вашей учетной записи AdSense?

В моём аккаунте AdSense пока нет ошибок или предупреждений.

Ошибки в моих логах:

(google_oauth2) Ошибка аутентификации! csrf_detected: OmniAuth::Strategies::OAuth2::CallbackError, csrf_detected | Обнаружен CSRF

14 янв 20:17

Необработанное исключение: TypeError: Нельзя преобразовать 'e.Mixin' в объект Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Позиция в окне: 

14 янв 20:20

e.Mixin не определён Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Позиция в окне: https://engineersasylum.com/t/differenc

14 янв 22:28

Необработанная ошибка TypeError: a.charCodeAt(...).toString(...).padStart не является функцией Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js

15 янв 03:36

Необработанная ошибка: не удалось найти модуль `preload-store`, импортируемый из `discourse/models/site` Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f6257

15 янв 08:20

Необработанная ошибка: маршрут с именем exception не найден Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js Строка: 1 Столбец: 509735 Позиция в окне

15 янв 08:22

2

Необработанная ошибка TypeError: нельзя прочитать свойство 'create' из undefined Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Столбец: 69 Win

15 янв 12:19

2

Необработанная ошибка TypeError: нельзя прочитать свойство 'create' из undefined Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Столбец: 69 Win

15 янв 12:19

3

Необработанная ошибка TypeError: нельзя прочитать свойство 'create' из undefined Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Столбец: 69 Win

15 янв 12:27

2

Необработанная ошибка TypeError: нельзя прочитать свойство 'create' из undefined Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Столбец: 69 Win

15 янв 12:27

4

Необработанная ошибка TypeError: нельзя прочитать свойство 'create' из undefined Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Столбец: 69 Win

15 янв 12:32

2

Необработанная ошибка TypeError: нельзя прочитать свойство 'create' из undefined Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Столбец: 69 Win

15 янв 12:44

Необработанная ошибка TypeError: a.charCodeAt(...).toString(...).padStart не является функцией Url: https://engineersasylum.com/assets/pretty-text-bundle-fa6ea00e2000bf2f9ed3f069be9253477fed5e7290b5d109a3e2d9498ac70e

15 янв 12:56

Необработанное исключение: TypeError: нельзя преобразовать 'e.Mixin' в объект Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Позиция в окне: 

15 янв 13:45

Необработанная ошибка SyntaxError: Объявления в блоке (let, const, function, class) пока не поддерживаются вне строгого режима Url: Строка: 6 Столбец: 10 Позиция в окне: https://engineersasylum.com/signup

15 янв 14:12

Необработанное исключение: TypeError: нельзя преобразовать 'e.Mixin' в объект Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Позиция в окне: 

15 янв 16:33

Нарушение CSP: 'https://engineersasylum.com/t/how-to-run-a-python-program-in-the-command-prompt-in-windows-10/77'

15 янв 19:15

2

TypeError: a.charCodeAt(...).toString(...).padStart не является функцией Url: https://engineersasylum.com/assets/pretty-text-bundle-fa6ea00e2000bf2f9ed3f069be9253477fed5e7290b5d109a3e2d9498ac70e81.js Строка

15 янв 19:17

Необработанная ошибка TypeError: нельзя прочитать свойство 'create' из undefined Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Столбец: 69 Win

15 янв 19:37

Необработанная ошибка SyntaxError: Объявления в блоке (let, const, function, class) пока не поддерживаются вне строгого режима Url: Строка: 10 Столбец: 10 Позиция в окне: https://engineersasylum.com/t/difference-

15 янв 20:03

Необработанная ошибка: маршрут с именем exception не найден Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js Строка: 1 Столбец: 509735 Позиция в окне

15 янв 20:08

2

Необработанная ошибка TypeError: нельзя прочитать свойство 'create' из undefined Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Столбец: 69 Win

16 янв 01:06

2

Необработанная ошибка TypeError: нельзя прочитать свойство 'create' из undefined Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Столбец: 69 Win

16 янв 04:30

Необработанная ошибка TypeError: нельзя прочитать свойство 'create' из undefined Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Столбец: 69 Win

16 янв 04:30

2

Необработанное исключение: TypeError: нельзя преобразовать 'e.Mixin' в объект Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Позиция в окне: 

16 янв 04:39

Необработанная ошибка NotFoundError: не удалось выполнить 'removeChild' на 'Node': удаляемый узел не является дочерним для этого узла. Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d

16 янв 04:52

Необработанная ошибка NotFoundError: не удалось выполнить 'removeChild' на 'Node': удаляемый узел не является дочерним для этого узла. Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d

16 янв 05:06

2

Нарушение CSP: 'http://10.228.78.43:15871'

16 янв 19:25

Ошибка: доступ к свойству «type» запрещён Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js Строка: 1 Столбец: 40504 Позиция в окне

17 янв 10:25

6

Нарушение CSP: 'https://engineersasylum.com/logs/report_js_error'

17 янв 10:25

29

Нарушение CSP: 'https://engineersasylum.com/t/how-to-run-a-python-program-in-the-command-prompt-in-windows-10/77'

17 янв 10:26

Необработанная ошибка TypeError: a.charCodeAt(...).toString(...).padStart не является функцией Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js

17 янв 11:56

8

Нарушение CSP: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'

17 янв 22:53

Необработанная ошибка TypeError: нельзя прочитать свойство 'create' из undefined Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Столбец: 69 Win

18 янв 01:17

Необработанная ошибка: не удалось найти модуль `pretty-text/censored-words`, импортируемый из `discourse/models/topic` Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a22

18 янв 07:18

Необработанная ошибка: маршрут с именем exception не найден Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js Строка: 1 Столбец: 508818 Позиция в окне

18 янв 07:19

Необработанная ошибка TypeError: a.charCodeAt(...).toString(...).padStart не является функцией Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js

Вс 19:05

32

Нарушение CSP: 'data'

Вс 19:26

18

Нарушение CSP: 'https://www.google-analytics.com/analytics.js'

Вс 21:18

79

Нарушение CSP: 'eval'

Пн 00:38

12

Нарушение CSP: 'about'

Пн 05:56

Необработанная ошибка [object Object] Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js Строка: 1 Столбец: 262002 Позиция в окне: https://engine

Пн 08:03

TypeError: a.charCodeAt(0).toString(16).padStart не является функцией. (В 'a.charCodeAt(0).toString(16).padStart(4,"0")', 'a.charCodeAt(0).toString(16).padStart' не определён) Url: https://engineersasyl

Пн 15:44

2

Необработанная ошибка TypeError: нельзя вызвать метод 'create' из undefined Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Столбец: 68 Windo

Пн 17:11

2

Необработанное исключение: TypeError: нельзя преобразовать 'e.Mixin' в объект Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Позиция в окне: 

Пн 17:36

4

Необработанная ошибка TypeError: нельзя прочитать свойство 'create' из undefined Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Столбец: 69 Win

Пн 17:56

2

Необработанная ошибка TypeError: a.charCodeAt(...).toString(...).padStart не является функцией Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js

Пн 20:02

4

Необработанная ошибка TypeError: нельзя прочитать свойство 'create' из undefined Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Столбец: 69 Win

Пн 21:12

6

Необработанная ошибка TypeError: нельзя прочитать свойство 'create' из undefined Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js Строка: 1 Столбец: 69 Win

Пн 21:38

TypeError: a.charCodeAt(0).toString(16).padStart не является функцией. (В 'a.charCodeAt(0).toString(16).padStart(4,"0")', 'a.charCodeAt(0).toString(16).padStart' не определён) Url: https://engineersasyl

Сейчас я отключил CSP для своего сайта.