Difference between revisions of "Widget:AdSense"

From Wiki Farming
Line 1: Line 1:
 
+
<includeonly><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<noinclude>__NOTOC__
+
<ins class="adsbygoogle"
This widget allows you to embed '''[//www.google.com/adsense/ AdSense ads]''' on your wiki page.
+
    style="display:block"
 
+
    data-ad-client="ca-pub-9894395424830386"
Created by Ike Hecht for [//www.wikiworks.com WikiWorks].
+
    data-ad-slot="9797567368"
 
+
    data-ad-format="auto"></ins>
== Using this widget ==
+
<script>
For information on how to use this widget, see the [https://www.mediawikiwidgets.org/AdSense widget description page on MediaWikiWidgets.org].
+
(adsbygoogle = window.adsbygoogle || []).push({});
 
+
</script></includeonly>
== 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 data-ad-client="ca-pub-9894395424830386" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script></includeonly>
 

Revision as of 12:51, 22 December 2019