Difference between revisions of "Widget:AdSense"

From WebDisplays
Jump to: navigation, search
(Created page with "<noinclude>__NOTOC__ This widget allows you to embed '''[//www.google.com/adsense/ AdSense ads]''' on your wiki page. Created by Ike Hecht for [//www.wikiworks.com WikiWorks]...")
 
 
Line 1: Line 1:
<noinclude>__NOTOC__
+
<includeonly><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
This widget allows you to embed '''[//www.google.com/adsense/ AdSense ads]''' on your wiki page.
+
<!-- WikiArticle -->
 
+
<ins class="adsbygoogle"
Created by Ike Hecht for [//www.wikiworks.com WikiWorks].
+
     style="display:block"
 
+
     data-ad-client="ca-pub-9340837526985659"
== Using this widget ==
+
     data-ad-slot="1493413213"
For information on how to use this widget, see the [https://www.mediawikiwidgets.org/AdSense widget description page on MediaWikiWidgets.org].
+
    data-ad-format="auto"></ins>
 
 
== Copy to your site ==
 
To use this widget on your site, just install the [https://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article.
 
</noinclude><includeonly><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
 
<ins class="adsbygoogle <!--{$name|escape:html}-->"
 
     style="display:inline-block;width:<!--{$width|escape:'int'}-->;height:<!--{$height|escape:'int'}-->"
 
     data-ad-client="<!--{$client|escape:html}-->"
 
     data-ad-slot="<!--{$slot|escape:html}-->"></ins>
 
 
<script>
 
<script>
 
(adsbygoogle = window.adsbygoogle || []).push({});
 
(adsbygoogle = window.adsbygoogle || []).push({});
 
</script></includeonly>
 
</script></includeonly>

Latest revision as of 08:05, 14 February 2018