Top > Plugin > > googleads
Table of Contents
First Edition. 06/10/2006
Last Modified. 06/10/2006

A htmlinsert script which shows Google Adsense

SummaryA htmlinsert script which shows Google Adsense
Compatible Versionshtmlinsert rev.7
First Edition06/10/2006

This page is written in both English and Japanese.


This htmlinsert script enables to show Google Adsense. I assume you know what Google Adsense is.


Source Code

First, please install ../../ and configure it, then save follows as a wiki page whose name is :HTML/googleads_user.

This is my settings so please modify it as you like. I did not set variables to make easy to copy and paste.

google_ad_client = "pub-1086534597331672";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_type = "text_image";
google_ad_channel ="1531977825";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000080";
google_color_text = "000000";
google_color_url = "888888";

Please save follows as :HTML/googleads. Please modify to your pukiwiki url. This calls the above googleads_user.

<div class="googleads">
<script type="text/javascript" src=";page=googleads_user&amp;content-type=text/javascript"></script>
<script type="text/javascript" src=""></script>

The reason to seperate pages is because this is the truly correct grammar in both HTML and XHTML.

How to use





However, it would be easier to embed HTML codes into skins directly.