Posts Tagged ‘Google AdSense’

Google AdSense And Image Placement Policy

Posted on December 2006 at about 1:08 AM by hwa

Few days ago i saw this from Weblog Tools Collection, it’s about the image placement for Google AdSense.

Some bloggers will use plugins that will place an image beside their AdSense advertisement in believe that it will increase the CTR (Click Through Rate), i’m not sure how true it is but one thing for sure is that it will draw your visitor’s attentions, and this make the advertisement looks nicer too, that’s what i like about it.

At first Google AdSense said that it’s alright as long as we place a line to separate the image from the advertisement, and the image should not included as the link for the advertisement, but still we don’t know whether or not this violate Google AdSense’s Terms and Conditions.

Until recently Google had make a clear statement regarding the image placement policy. From what i understand, Google don’t allow we put images that is looks like part of the advertisement, so even though we put a line separating the advertisements is still wrong.

AdSense Between WordPress Post

Posted on October 2006 at about 10:50 PM by hwa

Few days ago a friend of mine asked me how to insert Google AdSense in between posts in the main page, too bad that she is using Blogger and i’m not familiar with it.

Anyway this is how i do it in WordPress, it’s very easy actually, all you have to do is to insert the following code into The Loop:

  1. < ?php
  2. $gcount++; // google post counter
  3.                
  4. if ($gadv < 3) { // how many ads to display?
  5.   if ($gcount%2 == 0) { // display ad after how many post?
  6.     $gadv++; // count number of adv
  7.     print 'Your Google AdSense Code Here';
  8.   }
  9. }
  10. ?>

Don’t forget to insert your own Google AdSense code, and you can put the above code anywhere in your “single.php” as long as it’s in between the line:

  1. < ?php while (have_posts()) : the_post(); ?>

and

  1. < ?php endwhile; ?>

Which is The Loop that i mentioned earlier.

You may want to change the parameter to suit your need, there are only two parameters you can set, first one is:

For the total number of AdSense display in your home page, remember that Google only allow a maximum number of three AdSense displayed in the same page.

The second parameter would be:

  1. $gcount

This one is to set your AdSense to display after the specific amount of post, the default setting is to display AdSense every two post.

Google AdSense Collapsing Ad Units

Posted on October 2006 at about 3:56 AM by hwa

If you are subscribing with Google AdSense, and feel that PSAs (Public Service Ads) is spoiling the look of your blog or website, or simply think that PSAs doesn’t make any profit to you, then you may consider to use the Alternate Ads to display something that you like, such as an image or other advertisement, or perhaps you might want to try the Collapsing Ad Units.

Collapsing Ad Units is an alternative way for you to do something with your advertisement space if there are nothing from Google to advertise, in fact the Collapsing Ad Units will just close your advertisement space so that the particular space will looks like normal page without any advertisement. To me i think that this is the best way to preserve your blog or website look.

In order to use the Collapsing Ad Units, first you must download and host a small HTML file on your domain, remember that the HTML file must hosted on each of your domain or subdomain that you display your Google AdSense, you can’t share the HTML file.

To start using the Collapsing Ad Units please do the following:-

  1. Download the collapsing ad units file below by right-clicking and choose “Save Link As…”.
    collapsing ad units file
  2. Upload the collapsing ad units file to your domain/subdomain, please note that each collapsing ad units file only for one domain/subdomain, so mean you have more than one domain/subdomain to do the collapsing ad units then you have to upload collapsing ad units file to each corresponding domain/subdomain.
  3. Login to your Google AdSense account then go to AdSense Setup, enter the full URL path to your collapsing ad units file (like the one below) into the Alternate Ads URL text box to generate your AdSense code.
    http://www.example.com/scripts/google_adsense_script.html
  4. Copy and paste your AdSense code into your web pages.

Please note that this Collapsing Ad Units will only work if you host your blog/website in an external server or previously upgraded to Blog*Spot Plus.