Inline AdSense ads not showing

Posted in: Newspaper
Post count: 500

AdSense inline ads in template post content are not showing, for example: https://jazzjournal.co.uk/2020/06/17/obituary-keith-tippett/

(1) An ad hosted in media file, placed in ARTICLE INLINE AD 1 field is fine:

<div style=”width:320px”>

</div>

(2) Ads using AdSense code in ARTICLE INLINE AD 2 and 3 fields are not showing, for example:

<div style=”width:320px”>
<script async src=”https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script&gt;
<!– JJ display 1 –>
<ins class=”adsbygoogle”
style=”display:block”
data-ad-client=”ca-pub-7426344127145001″
data-ad-slot=”3267840445″
data-ad-format=”auto”
data-full-width-responsive=”true”></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>

(3) AdSense ads positioned outside Post Content using Ad Box and the same code (minus <div style=”width:320px”> and </div>) are showing ok.

So there is no problem with the code. There does seem to be a problem with the Single Post Content element, and others with Single Post elements in general.

These templates seem to have so many problems compared to defaults, and suck up so much admin time…

Post count: 500

Google say (https://support.google.com/adsense/answer/9189018?hl=en-GB&ref_topic=28893) “Your ad code should appear exactly as it does in your AdSense account”

I notice in page source Newspaper is adding code, namely, data-adsbygoogle-status=”done”

<script async=”” src=”https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script&gt;
<ins class=”adsbygoogle”
style=”display:block; text-align:center;”
data-ad-layout=”in-article”
data-ad-format=”fluid”
data-ad-client=”ca-pub-7426344127145001″
data-ad-slot=”4341442480″ data-adsbygoogle-status=”done”></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

Significant?

Post count: 500

Now I see that Single Post Content AdSense ads are appearing erratically – typically absent – in Safari and Firefox but seem to appear consistently well in Chrome.

As I say, same AdSense code works fine in Ad Boxes. And non-AdSense ads hosted in Media appear fine in Single Post Content.

Does Single Post Content have a special problem with Safari and Firefox?

Post count: 35449

Hi,

As I can see the ads on chrome are displaying -> https://i.imgur.com/HdGjmg2.png
But in most cases is look that the problem is with inline ads, these are not displaying inside the articles.
Please make a test, set the code in a div with a width for inline ads and check the results.
-> https://i.imgur.com/421qX6d.png
<div style=”width:720px”>
</div>
Also I made a not to our developers to check if the code that is set by our theme is affecting the ads or not.

Let me know the results!
Thank you!

Post count: 500

As I say in 1) above, the Nadine Axisa ad is fine. But note it is NOT AdSense code. The problem is with AdSense code placed in ARTICLE INLINE AD fields in Single Post Content. It usually doesn’t show an ad in Safari or Firefox.

I will try adjusting the width to 720px from 320px.

Post count: 35449

Hi,

I just cheeked your website and now these inline ads are displaying -> https://i.imgur.com/tQupFjO.png -> https://i.imgur.com/WVY7jJZ.png
If there is still a problem, let us know!

Thank you!

Post count: 28

Hi Calin/TAGDIV Team,

We are using auto ads from adsense. There are no issues with ads on header, sticky, sidebar. The only issue I am having are ads not showing in the article. I have spent hours on this and I could not resolved. I have read and performed all the other instructions you posted on other threads.

adding and test:

<div style=”width:720px”>
</div>

– placing code in theme panel
– placing code in single post template where there are multiple ad boxes

None of which helps with inline article showing. We are using Single Post Template – Default PRO template.

Site: https://www.transcontinentaltimes.com/un-stand-with-lebanon-to-help-alleviate-the-immediate-suffering-antonio-guterres.html

The adds are supposed to be inline article. All not showing. Please help.

Thank you

Post count: 35449

Hi

As I can see the code for ads is set correctly -> https://i.imgur.com/bUTqazW.png the [problem is that you can set the auto ads only once per page -> https://i.imgur.com/sYWXvR1.png that is way when you set it as inline ads this is no longer display, please try to set a normal ad. Auto ads are usually set once and these are displaying random where will fit well.

Thank you!

Post count: 28

Thanks Calin,

Could you please guide on ‘ how to set a normal ad’, as you mentioned.

Post count: 35449

Hi transcontinentaltimes,

The add need to be set in the same place, but the difference will be that you’ll use from your adsense account a normal ad not an auto ad, therefore you need to connect to your adsense account and get a new adsense code.

Thank you!

Post count: 28

Thanks, Issue resolved.

Viewing 11 posts - 1 through 11 (of 11 total)
The forum ‘Newspaper’ is closed to new topics and replies.