Herzlich willkommen im SEO Forum der ABAKUS Internet Marketing GmbH
registrieren registriertes Mitglied
Da hat Google für mobiles nur diese mobile AdsAlso bix mit "nur mobile"...
Also vom Div, in dem die Anzeige erscheint oder wie eben KeyserSoze meinte, mit einer Formatangabe?Ich finde es schon sinnvoll, in Abhängigkeit von der Breite des Devices auch die Höhe zu definieren
Das wird ja von Google empfohlen:Rem hat geschrieben:... wie eben KeyserSoze meinte, mit einer Formatangabe?
Code: Alles auswählen
<style type="text/css">
.adslot_1 { width: 320px; height: 100px; }
@media (min-width:500px) { .adslot_1 { width: 468px; height: 60px; } }
@media (min-width:800px) { .adslot_1 { width: 728px; height: 90px; } }
</style>
<ins class="adsbygoogle adslot_1"
style="display:inline-block;"
data-ad-client="ca-pub-1234"
data-ad-slot="5678"></ins>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>