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.

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.
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:
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! 
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.
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. ![]()
There is the previous and very stable pattern before upgrade and the jump-off-cliff dive. ![]()
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.
إذا قمت بتحديث النظام مؤخرًا، فقد تتسبب سياسات CSP الجديدة في حدوث مشاكل. تحتاج إلى إضافة نطاقات Google إلى القائمة البيضاء لتمكين عرض الإعلانات مرة أخرى (أو تعطيل CSP).
ستحتاج إلى التحقق من كل نطاق تستخدمه Google وإضافته، على حد علمي على الأقل.
هل ترى أي أخطاء في وحدة تحكم JavaScript في متصفحك؟ هل تفشل أي طلبات شبكة إلى Google بأخطاء 400 أو ما شابه؟ هل تظهر أي أخطاء أو تحذيرات في حساب AdSense الخاص بك؟
لا توجد أخطاء أو تحذيرات في حسابي في Google AdSense حتى الآن.
الأخطاء في سجلاتي:
(google_oauth2) فشل المصادقة! csrf_detected: OmniAuth::Strategies::OAuth2::CallbackError, csrf_detected | تم اكتشاف CSRF
14 يناير 8:17 مساءً
استثناء غير مُلتقط: TypeError: لا يمكن تحويل 'e.Mixin' إلى كائن Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js السطر: 1 موقع النافذة
14 يناير 8:20 مساءً
e.Mixin غير مُعرّف Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js السطر: 1 موقع النافذة: https://engineersasylum.com/t/differenc
14 يناير 10:28 مساءً
استثناء غير مُلتقط من نوع TypeError: a.charCodeAt(...).toString(...).padStart ليس دالة Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js
15 يناير 3:36 صباحًا
استثناء غير مُلتقط: خطأ: لم يتم العثور على الوحدة `preload-store` المستوردة من `discourse/models/site` Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f6257
15 يناير 8:20 صباحًا
استثناء غير مُلتقط: خطأ: لا توجد مسارات باسم exception Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js السطر: 1 العمود: 509735 النافذة
15 يناير 8:22 صباحًا
2
استثناء غير مُلتقط من نوع TypeError: لا يمكن قراءة الخاصية 'create' من كائن غير مُعرّف Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js السطر: 1 العمود: 69 Win
15 يناير 12:19 ظهرًا
2
استثناء غير مُلتقط من نوع TypeError: لا يمكن قراءة الخاصية 'create' من كائن غير مُعرّف Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js السطر: 1 العمود: 69 Win
15 يناير 12:19 ظهرًا
3
استثناء غير مُلتقط من نوع TypeError: لا يمكن قراءة الخاصية 'create' من كائن غير مُعرّف Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js السطر: 1 العمود: 69 Win
15 يناير 12:27 ظهرًا
2
استثناء غير مُلتقط من نوع TypeError: لا يمكن قراءة الخاصية 'create' من كائن غير مُعرّف Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js السطر: 1 العمود: 69 Win
15 يناير 12:27 ظهرًا
4
استثناء غير مُلتقط من نوع TypeError: لا يمكن قراءة الخاصية 'create' من كائن غير مُعرّف Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js السطر: 1 العمود: 69 Win
15 يناير 12:32 ظهرًا
2
استثناء غير مُلتقط من نوع TypeError: لا يمكن قراءة الخاصية 'create' من كائن غير مُعرّف 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 يناير 1:45 ظهرًا
استثناء غير مُلتقط من نوع SyntaxError: لم يتم دعم الإعلانات ذات النطاق الكتلي (let, const, function, class) بعد خارج وضع الصارم Url: السطر: 6 العمود: 10 موقع النافذة: https://engineersasylum.com/signup
15 يناير 2:12 ظهرًا
استثناء غير مُلتقط: TypeError: لا يمكن تحويل 'e.Mixin' إلى كائن Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js السطر: 1 موقع النافذة
15 يناير 4:33 مساءً
انتهاك CSP: 'https://engineersasylum.com/t/how-to-run-a-python-program-in-the-command-prompt-in-windows-10/77'
15 يناير 7:15 مساءً
2
TypeError: a.charCodeAt(...).toString(...).padStart ليس دالة Url: https://engineersasylum.com/assets/pretty-text-bundle-fa6ea00e2000bf2f9ed3f069be9253477fed5e7290b5d109a3e2d9498ac70e81.js السطر
15 يناير 7:17 مساءً
استثناء غير مُلتقط من نوع TypeError: لا يمكن قراءة الخاصية 'create' من كائن غير مُعرّف Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js السطر: 1 العمود: 69 Win
15 يناير 7:37 مساءً
استثناء غير مُلتقط من نوع SyntaxError: لم يتم دعم الإعلانات ذات النطاق الكتلي (let, const, function, class) بعد خارج وضع الصارم Url: السطر: 10 العمود: 10 موقع النافذة: https://engineersasylum.com/t/difference-
15 يناير 8:03 مساءً
استثناء غير مُلتقط: خطأ: لا توجد مسارات باسم exception Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js السطر: 1 العمود: 509735 النافذة
15 يناير 8:08 مساءً
2
استثناء غير مُلتقط من نوع TypeError: لا يمكن قراءة الخاصية 'create' من كائن غير مُعرّف Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js السطر: 1 العمود: 69 Win
16 يناير 1:06 صباحًا
2
استثناء غير مُلتقط من نوع TypeError: لا يمكن قراءة الخاصية 'create' من كائن غير مُعرّف Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js السطر: 1 العمود: 69 Win
16 يناير 4:30 صباحًا
استثناء غير مُلتقط من نوع TypeError: لا يمكن قراءة الخاصية 'create' من كائن غير مُعرّف Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js السطر: 1 العمود: 69 Win
16 يناير 4:30 صباحًا
2
استثناء غير مُلتقط: TypeError: لا يمكن تحويل 'e.Mixin' إلى كائن Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js السطر: 1 موقع النافذة
16 يناير 4:39 صباحًا
استثناء غير مُلتقط NotFoundError: فشل تنفيذ 'removeChild' على 'Node': العقدة المراد إزالتها ليست تابعة لهذه العقدة. Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d
16 يناير 4:52 صباحًا
استثناء غير مُلتقط NotFoundError: فشل تنفيذ 'removeChild' على 'Node': العقدة المراد إزالتها ليست تابعة لهذه العقدة. Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d
16 يناير 5:06 صباحًا
2
انتهاك CSP: 'http://10.228.78.43:15871'
16 يناير 7: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 يناير 10:53 مساءً
استثناء غير مُلتقط من نوع TypeError: لا يمكن قراءة الخاصية 'create' من كائن غير مُعرّف Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js السطر: 1 العمود: 69 Win
18 يناير 1:17 صباحًا
استثناء غير مُلتقط: خطأ: لم يتم العثور على الوحدة `pretty-text/censored-words` المستوردة من `discourse/models/topic` Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a22
18 يناير 7:18 صباحًا
استثناء غير مُلتقط: خطأ: لا توجد مسارات باسم exception Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js السطر: 1 العمود: 508818 النافذة
18 يناير 7:19 صباحًا
استثناء غير مُلتقط من نوع TypeError: a.charCodeAt(...).toString(...).padStart ليس دالة Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js
الأحد 7:05 مساءً
32
انتهاك CSP: 'data'
الأحد 7:26 مساءً
18
انتهاك CSP: 'https://www.google-analytics.com/analytics.js'
الأحد 9:18 مساءً
79
انتهاك CSP: 'eval'
الاثنين 12:38 صباحًا
12
انتهاك CSP: 'about'
الاثنين 5:56 صباحًا
استثناء غير مُلتقط [object Object] Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js السطر: 1 العمود: 262002 موقع النافذة: https://engine
الاثنين 8: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
الاثنين 3:44 مساءً
2
استثناء غير مُلتقط من نوع TypeError: لا يمكن استدعاء الدالة 'create' من كائن غير مُعرّف Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js السطر: 1 العمود: 68 Windo
الاثنين 5:11 مساءً
2
استثناء غير مُلتقط: TypeError: لا يمكن تحويل 'e.Mixin' إلى كائن Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js السطر: 1 موقع النافذة
الاثنين 5:36 مساءً
4
استثناء غير مُلتقط من نوع TypeError: لا يمكن قراءة الخاصية 'create' من كائن غير مُعرّف Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js السطر: 1 العمود: 69 Win
الاثنين 5:56 مساءً
2
استثناء غير مُلتقط من نوع TypeError: a.charCodeAt(...).toString(...).padStart ليس دالة Url: https://engineersasylum.com/assets/ember_jquery-c2cca4a19fd4c70eabc95b010a6d7643955ec2a2251aeb1d70f625773eebea21.js
الاثنين 8:02 مساءً
4
استثناء غير مُلتقط من نوع TypeError: لا يمكن قراءة الخاصية 'create' من كائن غير مُعرّف Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js السطر: 1 العمود: 69 Win
الاثنين 9:12 مساءً
6
استثناء غير مُلتقط من نوع TypeError: لا يمكن قراءة الخاصية 'create' من كائن غير مُعرّف Url: https://engineersasylum.com/assets/vendor-3b0a3ac5e0bc628422d6e99d3563fad4c474398644f70683eff0893b7a241513.js السطر: 1 العمود: 69 Win
الاثنين 9: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 لموقعي.