Tuesday, June 8, 2010

Guides for adding the AdSense code to your webpage / blog


Adding the AdSense code into your web pages is an easy process. You only need to copy the AdSense code from your AdSense account (as seen in the AdSense code box) and paste it in your html code. However, there are some guidelines you should follow when pasting the AdSense code on your web pages.

First, you should not tamper with the AdSense code in any way. It must be inserted as such, in whole, without changes or modifications; otherwise your AdSense code will not work. In addition, you may end up violating the AdSense program policies.

Also, it is important that you paste the AdSense code in your html page body tag. This is necessary for the code (java script) to run correctly.

Next, you should make sure you use a maximum of three ad unit per web page (this is the limit set by the Google AdSense program) and not more than one link unit per web page.

Since content based Ad targeting is the main concept behind AdSense program, you must make sure that you paste the AdSense code in a place where you have your main content, such as discounts if you have your main content in a particular frame or 'DIV' tag, your AdSense code You must be inserted in a particular frame or 'DIV' tag.

Be careful when using a WYSIWYG editor (What you see is what you get) editor. These editors sometimes add few tags on their own. So, just paste the AdSense code in the source code directly and not in other views the preview page or web pages. Always check your AdSense code additional irrelevant tags before you actually upload your web pages to your server.

No comments: