Hello
I have a problem with the mobile ads for the https://lifenewscy.com.
The code I use is:
<div class=”td-all-devices”>
<Programmatic server Script>
</div>
the exact same code is working on http://themasports.com
I don’t know what is the problem but on Themasports is working fine.
Any help?
Hi,
From what I can see some of your ads are not displaying on both of the sites you provided on desktop and non mobile
– https://www.screencast.com/t/kjihczq2Wy
– https://www.screencast.com/t/hpteqV632mB
If you are not using adsense for your ads, you just have to enter the ad code in the respective section in the theme panel, and the theme will detect this and render it unmodified – https://forum.tagdiv.com/using-other-ads-non-adsense-ads/
For the mobile theme the ad codes must be entered in the mobile theme section in theme panel
– https://forum.tagdiv.com/the-mobile-theme/
Maybe the codes you are entering are not valid, or require additional implementation. If you are using a plugin for the ads maybe it is not compatible with the theme or not configured properly. Or another plugin is conflicting with the ads, so you can try disabling them all, except Visual composer, clear any caching installed, purge CDN files and check again.
Thanks
Most probably you are using adblock and you can’t see all the ads.
this is the inline article code used for lifenewscy.com. Desktop is ok but not on mobile.
<div class=”td-all-devices”>
<!– ADTAG AdTag lifenewscy.com Ch:Homepage 5 300×250, 300×250 Begin –>
<script type=”text/javascript”>
/* DO NOT MODIFY */
(function(w,d) {
w.cdxhd = w.cdxhd || [];
w.cdxhd.push({
“cdxhd_bpid”:229249,
“cdxhd_w” :300,
“cdxhd_h” :250,
“cdxhd_vtag”:20140808,
“cdxhd_slot”:w.cdxhd.length
});
d.write(‘<div class=”cdxhd_’+cdxhd[(cdxhd.length-1)][‘cdxhd_bpid’]+’ cdxhd_slot” id=”cdxhd_bpid_’+cdxhd[(cdxhd.length-1)][‘cdxhd_bpid’]+’_’+cdxhd[(cdxhd.length-1)][‘cdxhd_slot’]+'” style=”position:relative;”></div>’);
var s = d.createElement(“script”); s.async = true;
s.src = (d.location.protocol===”https:”?”https”:”http”)+’://static.dskfv.de/js/loader_v2.js?cb=’+(new Date().getMinutes()+new Date().getHours());
var a = d.getElementsByTagName(“script”)[0]; a.parentNode.insertBefore(s,a);
}(this,document));
</script>
<!– ADTAG AdTag lifenewscy.com Ch:Homepage 5 300×250, 300×250 End –>
</div>
Hi,
I can confirm that I do not use Adblock on the Chrome browser or the Firefox browser that I used for testing. At the moment I do not see any ads on any of the websites you provided
– https://www.screencast.com/t/X9acPEOy1mPK
– https://www.screencast.com/t/qgRHmhbuW
Just an ad title and an empty space where the ad should be displayed. Also there seems to be a CDN permission error present – https://www.screencast.com/t/r9kA4cXc maybe that is related to the ads not being displayed.
You could try to disable all your plugins except the ones bundled with the theme, clear any caching installed and purge CDN files, maybe there is a conflict that is preventing the ads from appearing.
Thanks
Hello the problem was the SSL certificate issued by Let’s Encrypt. Google chrome on Android devices was blocking it because the ssl provider was not secure. I removed the ssl and everything is ok. You can’t see any ads because are regional based ads.
thank you for the help.