adsense responsive ads coding
I have a 970x90 ads and I want it to resize to 336x280 when people view it on a low resolution, how cna I do that?
I tried the @media code explained on Google but it's not working. How can I modify my ads to make it resize?
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<style type="text/css">
.adslot_1 { display:inline-block; width: 336px; height: 280px; }
@media (min-width:800px) { .adslot_1 { width: 970px; height: 90px; } }
</style>
<ins class="adsbygoogle adslot_1"
style="display:inline-block;"
data-ad-client="ca-pub-00000000000"
data-ad-slot="00000000000"
data-ad-format="horizontal"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
UBotter Labs Marketing Automation
UBotter Labs Marketing Automation