Most of the bloggers use Google Adsense in their sites to monetize it and no doubt Adsense is the best choice for that purpose. While Google ensures a decent amount of earning from an established blog, they are also strict with their terms and conditions and an Adsense account holder should always maintain those to make sure that they never loss their Adsense account.
Some advertisers pay for the ad impressions. So if you visit your own blog, you are actually doing nothing but creating some invalid impressions of the Adsense ad units. If this happens so many times, Google can ban your Adsense account . So, it is wise to avoid the impressions from your own visits in your blog and hence maintain the Adsense terms and conditions.
How to avoid the Adsense Ad impressions from your own Visits
You can place maximum three Adsense Units for content, three link units and two Adsense search units in a page. Here is how to place the adsense codes so that you can avoid the impressions fror your own visits.
For content Ad units and link ad units
You can place the ad units for content and the link units at any place you want. Once you placed the codes at your blog’s page source, it will start to show the ads. But the problem is that the ads will also appear when you visit your own blog. Therefore, place the ad codes wisely so that the ads do not appear when you visit your own blog (display ads only on older posts). If you are using WordPress as your blog platform, place the ad coeds betwwen the following conditional tags.
<?php if (!$user_ID) : ?>
//your Adsense ad code goes here
<?php endif; ?>
Placing the code between the above tags will show the ads to only those who are not a user of the blog. So, whenever you visit your own blog, at first login to your blog dashboard.
This is very simple way to hide ads from the blog users to avoid the invalid impressions. But this trick is not applicable for the Adsense for search. If you placed the Google adsense search unit in your blog, you should be noticing that sometime you are forced to search your blog from that unit and the adsense ads appears with the results. If you perform this action for many times, actually you are lifting your adsense account in danger zone. So always try to avpoid serching from the adsense seach units.
But it is not possible to do that until you find any alternative way to search the blog for your own needs. Here is how to setup both the way that you and your visitors can search your blog with out any risk.
How to setup and place the Adsense search unit to avoid own Impressions
At first, grab the necessary codes for the search unit and put that within a coditional (if – else) tag at the appropriate location of the theme template. This adsense search unit will be visible for only the visitors of the blog. The users won’t see this.
Now you can place the default theme search unit or Google custom search unit for your own search purpose. Following is the manner of putting the codes.
<?php if (!$user_ID) : ?>
//the code for the Adsense search unit
<?php else: ?>
//the default theme search or Google custom search unit code
<?php endif; ?>
Create the custom search engine for your blog from here. If you are using a blogger theme template then you can follow how to create and implement the Google custom search engine for the blogger template.
Finally, put some CSS rules for those sections for better positioning and appearance. Let me know if you have any query.
Tip:
1. How to Enable Google Instant Search in Google Chrome.
2. How to Enable Google Instant Search In Opera.
yes you are right this is very good tip to avoid the Adsense Ad impressions from your own Visits
Invalid impressions aren’t too big of a hassle with google as they know bloggers use adsense and they need to continuously check their site for reader comments etc. Its the invalid clicks people should worry about.
Yes Nash..I agree with you, but too much impression from the owner can make a problem.
How about if people are using other scripts is the code still applicable or will it still work to those that are not using the WordPress CMS?
i am a bit puzzled because a while ago google was debating the possibility for users to mistankenly click their own ads,,,and claimed that accidental clicks can happen, so it’s not a problem. BUT, from their statement I concluded that is normal for users to access their own site instead not to click the ads.
If own ad impressions are so dangerous, then google should have warned users either not to access own blogs or to disable ads for blogs users….???