But why you are using server side device detection?
You are also using client-side device detection and you have enabled all devices.
This doesn’t make sense.
Enable only wanted devices or disable device detection.
You still have AdSense error. This error prevents inserting blocks with ads.
Check console in the browser.
You also have this code on the page:
<script type="text/javascript">
var td_screen_width = window.innerWidth;
if ( td_screen_width >= 1140 ) {
/* large monitors */
document.write('<ins class="adsbygoogle" style="display:inline-block;width:468px;height:60px" data-ad-client="ca-pub-4819608407830169" data-ad-slot="4254618826"></ins>');
(adsbygoogle = window.adsbygoogle || []).push({});
}
if ( td_screen_width >= 1019 && td_screen_width < 1140 ) {
/* landscape tablets */
document.write('<ins class="adsbygoogle" style="display:inline-block;width:468px;height:60px" data-ad-client="ca-pub-4819608407830169" data-ad-slot="4254618826"></ins>');
(adsbygoogle = window.adsbygoogle || []).push({});
}
if ( td_screen_width >= 768 && td_screen_width < 1019 ) {
/* portrait tablets */
document.write('<ins class="adsbygoogle" style="display:inline-block;width:468px;height:60px" data-ad-client="ca-pub-4819608407830169" data-ad-slot="4254618826"></ins>');
(adsbygoogle = window.adsbygoogle || []).push({});
}
if ( td_screen_width < 768 ) {
/* Phones */
document.write('<ins class="adsbygoogle" style="display:inline-block;width:320px;height:50px" data-ad-client="ca-pub-4819608407830169" data-ad-slot="4254618826"></ins>');
(adsbygoogle = window.adsbygoogle || []).push({});
}
</script>
</div>
What is this?
Remove all such adsense codes and use only Ad Inserter to insert ads.
Make sure the page has no erros otherwise insertions may not be executed.