====== GoogleAds ======

This plugin allows you to include [[wp>Adsense|Google Adsense]] advertisings into your wiki page.

To use it, you'll have to insert the following code into your template:

<code php>
<?php
if (file_exists(DOKU_PLUGIN.'googleads/code.php')) include_once(DOKU_PLUGIN.'googleads/code.php');
if (function_exists('gads_code')) gads_code('ads_tpl_top_linklist','100% left');
?>
</code>
This will include 'googleads:ads_tpl_top_linklist' in your site.

Maybe you want to test this line below the code above.

<code php>
<div class="clearer">&nbsp;</div>
</code>

Please also try to use the following to let google select the right content for ADS:

<!-- google_ads_section_start -->
some content for your ADS
<!-- google_ads_section_end -->



**Note**: Inserting the code above is optional and only needed if you want to include Google Adsense in templates areas..


Wiki Syntax: %%{{googleads>WIKISITE | [options]}}%%

Options may be: WIDTH and or direction like LEFT and RIGHT e.g. %%{{googleads>ads_under_sidebar_left|40% left}}%%


Please set the following options...

