googleads
Table of Contents |
First Edition. 06/10/2006
Last Modified. 06/10/2006
Last Modified. 06/10/2006
A htmlinsert script which shows Google Adsense
Summary | A htmlinsert script which shows Google Adsense |
---|---|
Compatible Versions | htmlinsert rev.7 |
Developer | sonots |
First Edition | 06/10/2006 |
This page is written in both English and Japanese.
Abstract
This htmlinsert script enables to show Google Adsense. I assume you know what Google Adsense is.
Related
Source Code
First, please install ../../htmlinsert.inc.php 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 http://note.sonots.com to your pukiwiki url.
This calls the above googleads_user.
<div class="googleads"> <script type="text/javascript" src="http://note.sonots.com/?cmd=htmlinsert&page=googleads_user&content-type=text/javascript"></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> </div>
The reason to seperate pages is because this is the truly correct grammar in both HTML and XHTML.
How to use
Examples
#htmlinsert(googleads)
Results
Note
However, it would be easier to embed HTML codes into skins directly.