Ad not showing on edited templates

Posted in: Newspaper
Post count: 27

On the edited posts templates for both desktop and mobile, I have placed ads codes but they are not showing ads. The only thing I see is “Advertisement”. However, the same code placed on the sidebar widget and top header work alright showing ads.

This is the code;
<script data-ad-client="ca-pub-9836362449699621" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

Any direction?

Thank you.

Post count: 18283

Hello !

The auto ads code must be placed in analytics. Please remove it from where you have inserted it and put it here: https://www.screencast.com/t/XisCMeeIAh

Thank you !

Post count: 35449

Hi,
I see that on your homepage you have set ads in header sidebar an above footer -> https://i.imgur.com/f3vkjpF.jpg -> https://i.imgur.com/N7koKfG.png also inside the posts you have set the ads set in header footer and 2 ads in sidebar, the problem with the ads inside the content is this one -> https://i.imgur.com/podPccF.png
If you check the source of your html code, and search for adsbygoogle.js, you can find lots of them -> https://i.imgur.com/aIWvaq9.png
<script data-ad-client="ca-pub-9836362449699621" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
The code above should only be placed once in your html header. Using our theme you can set that code in theme panel -> https://i.imgur.com/sjBZJmE.png
What you can do is to use these types of ads with this structure -> https://i.imgur.com/Jhef7te.png this type of code can be set in our das places and will be render.
Hope this will help you!
Thank you!

Post count: 27

Do I add it to the analytics code in the same space?

Can I provide you with admin access so you can help me out?

Post count: 27

Ok, I managed to make them show but for only the top and bottom ad in post.
Thank you.

Post count: 35449

Hi,
Yes, that auto ads code need to be set only in analytics section in theme panel, then it will be auto place on your website.
For the rest of ads you need to use normal adsence ads.
Hope this will help!

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