Google AdSense

Adding Google AdSense to your GeoSoftware is very easy. Follow these simple steps:

  1. Create a Google AdSense account on Google's website: Create AdSense Account
  2. Watch the “Generating Ad Code” video on Google's website: Generating Ad Code
  3. Follow the Steps in the above video and generate the AdSense code that you will copy/paste into the appropriate GeoProducts Template(s).
  4. Add your Google AdSense code to the software's template(s).

Important: As indicated on Google's website, it may take up to 10 minutes for ads to appear on your pages. When we tested Google AdSense Code in our templates it took approximately 7 minutes for an ad to first show up. So, please be patient. For additional information on implementing Google AdSense Code on your website, please visit the “Code Implementation Guide” link accessible within your Google AdSense Account.

AdSense in GeoProducts Version 5 Templates

By default, we have set up a couple of areas within the html of the software's default layout (header and right column of front page) where you can enter your Google AdSense code. These areas are really nothing more than placeholders and can be used for banners other than AdSense code if desired. Additionally, you can enter your AdSense code to any of the other templates used by the software. Again, these are just a couple of areas we've set up in the software's default templates for you to use for banners if you decide to use them.

AdSense in the Header

Login to your GeoProduct's admin panel and access the Design > Manager menu. In “main_page” folder of your template set, you should find a template called “header.tpl”. Select that template and click the “view/edit” button. Make sure that you are viewing/editing the template in the <..> Source Code Editor mode. The default source code should look similar to the following:

<!-- START HEADER -->
<div id="header">
    <a href="index.php" id="header_logo" title="Website Name"> </a>
    <div id="top_banner">
    <!-- EDIT THE FOLLOWING LINE OF CODE WITH YOUR BANNER OR ADSENSE CODE -->
    <a href="http://geodesicsolutions.com/support/wiki/tutorials/using_a_banner_system/adsense" target="_blank">
    <img src="{external file='images/banners/banner1_adsense_468x60.jpg'}" alt="Banner Example" title="Banner Example" width="468" height="60" /></a>
    <!-- EDIT THE ABOVE LINE OF CODE WITH YOUR BANNER OR ADSENSE CODE -->
    </div>
</div>
<!-- END HEADER -->

As you can see, we have outlined the lines of code that you need to replace with your AdSense code generated on Google's website. Note that the area allotted in the default template for the header is for a standard banner area of 468px x 60px. So the Google AdSense code that you use for this area should be approximately the same size for optimal results. Simply overwrite that code with your AdSense code and Save the template.

AdSense in the Right Column

Login to your GeoProduct's admin panel and access the Design > Manager menu. In “main_page” folder of your template set, you should find a template called “front_page.tpl”. Select that template and click the “view/edit” button. Make sure that you are viewing/editing the template in the <..> Source Code Editor mode. Scroll down until you find the default source code that should look similar to the following:

<!-- EDIT THE FOLLOWING LINE OF CODE WITH YOUR BANNER OR ADSENSE CODE -->
<a href="http://geodesicsolutions.com/support/wiki/tutorials/using_a_banner_system/adsense" target="_blank">
<img src="{external file='images/banners/banner1_adsense_200x200.jpg'}" alt="Banner Example" title="Banner Example" width="200" height="200" /></a>
<!-- EDIT THE ABOVE LINE OF CODE WITH YOUR BANNER OR ADSENSE CODE -->

Note that the area allotted in the default template for the right column is for a standard banner area of 200px x 200px. So the Google AdSense code that you use for this area should be approximately the same size for optimal results. Now simply overwrite the code with your AdSense code and Save the template. That's all there is to it.

tutorials/using_a_banner_system/adsense.txt · Last modified: 2010/01/25 20:48 by rdowen
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0