Skip to content
Wilco Alsemgeest edited this page Nov 10, 2020 · 1 revision

Google Ads Code

Rectangle

<style type="text/css">
    .ad_slot_rectangle { width: 300px; height: 100px; }

    /* Small devices (landscape phones, 576px and up) */
    @media (min-width: 576px) { .ad_slot_rectangle { width: 300px; height: 250px; } }
    
    /* Medium devices (tablets, 768px and up) */
    @media (min-width: 768px) { .ad_slot_rectangle { width: 100%; height: 250px; } }
    
    /* Large devices (desktops, 992px and up) */
    @media (min-width: 992px) { .ad_slot_rectangle { width: 100%; height: 250px; } }
    
    /* Extra large devices (large desktops, 1200px and up) */
    @media (min-width: 1200px) { .ad_slot_rectangle { width: 100%; height: 250px; } }
</style>
<!-- Square -->
<ins class="adsbygoogle ad_slot_rectangle"
     style="display:inline-block"
     data-full-width-responsive="true"
     data-ad-client="ca-pub-1189370408998555"
     data-ad-slot="6531747354"></ins>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>

Horizontal

<style type="text/css">
	.ad_slot_horizontal { width: 320px; height: 100px; }

	/* Small devices (landscape phones, 576px and up) */
	@media (min-width: 576px) { .ad_slot_horizontal { width: 468px; height: 60px; } }

	/* Medium devices (tablets, 768px and up) */
	@media (min-width: 768px) { .ad_slot_horizontal { width: 100%; height: 90px; } }

	/* Large devices (desktops, 992px and up) */
	@media (min-width: 992px) { .ad_slot_horizontal { width: 100%; height: 90px; } }

	/* Extra large devices (large desktops, 1200px and up) */
	@media (min-width: 1200px) { .ad_slot_horizontal { width: 100%; height: 90px; } }
</style>
<!-- Horizontal -->
<ins class="adsbygoogle ad_slot_horizontal"
     style="display:inline-block;"
     data-full-width-responsive="true"
     data-ad-client="ca-pub-1189370408998555"
     data-ad-slot="6544738538"></ins>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
Clone this wiki locally