Hello!
A few days ago, I inserted the Google AdSense ad code into ADS in Thema Panel, but the ads are not displayed on my website.
(If you insert a Google AdSense ad code in the Ad Box element on the frontend, the ads are displayed.)


Could you guess why?
Thank you for your help!
Amie
Hello,
Please edit the Single Post Template with tagdiv Composer.
You can set the ads in Single Post Template from tagDiv Cloud Library and you can set top ad, 3 inline ads set after x paragraphs and bottom ad, please check this article -> https://forum.tagdiv.com/article-ads/ and video https://www.youtube.com/watch?v=biTpVVlr8j8
You can use the element Ad Box, and set the element where you want. The code does not need to be auto ads, so the theme will not have control.
The ad box has 3 sections for ads: using theme panel ads -> https://i.imgur.com/KFa9ibl.png, using images/banners -> https://i.imgur.com/MfAPTaE.png and custom code -> https://i.imgur.com/2rh8SuD.png save it and will appear on the post (you can set a shortcode like a shortcode from adrotate plugin or other plugins).
Thank you!
Hi,
I’m using cloud templates too, and want to add ads globally to all posts.
If I understand it correctly, I need to go into my single post template (and not use the article ad option in the theme panel), right?
There, I’m having trouble adding a top ad just for mobile devices – how can I exclude tablet and desktop for that?
Thanks,
eC
Hello,
If you use the Single Post Template global for all posts, then you can set the code here
For mobile you can create a mobile template and delete the code from the top ad -> https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages/https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages/
AMP is very restrictive when it comes to the ads and to the content. What type of ads are you planning to use on AMP exactly? Are they compatible with AMP?
The most popular and widely used type of ads used for AMP are AMP auto ads from Google https://support.google.com/adsense/answer/9261309?hl=en
We provide a field for entering the code https://i.imgur.com/2kAsROP.png
Also, the mobile theme ad spots will load ads on mobile or mobile + AMP https://i.imgur.com/YEkMJ6N.png
Thank you!
Hi Anamaria,
I’m using AdSense and have auto-ads integrated already. But this didn’t show them within the content of the articles (just above and below).
Ah, I see – ad spots in the mobile theme will get used on AMP – but only one article inline ad is not enough, as my content is very lengthy sometimes. So I would need more ad spots within the article content: How can I use more article inline ads for AMP?
Thanks,
eC
Hi,
The top and bottom ads are standard ads set in theme panel, the auto ads should be set only once in the website header, you can set it in this place https://i.imgur.com/yDL0Wqb.png also, please use an ssl plugin to fix this problem – https://i.imgur.com/cwYNvRu.png
Or you can use a dedicated plugin for ads like Site Kit or Advanced Ads plugin.
I hope this will help you!
Hi eCronik,
Sorry, I focused more on auto ads as a solution.
“How can I have more than one article inline ad on AMP?”
Without a dedicated plugin that can add inline ads on AMP, the only solution is to make changes in the theme files.
Thank you for your understanding!