Adsense - Tip #6: Use CSS in order to position some prominent text

Adsense - Tip #6: Use CSS in order to position some prominent textBecause Google Adsense is a type of contextual advertisement, many options don’t exist to manipulate in some way the topic of the ads that are printed in our pages, because this depends basically on the content of them.

This can end up being an inconvenience if our pages are not focused to have articles or enough text, and instead of that they are full with some forms, Java applications or dynamic pages that extract information of a database with no an apparent coherence related to a topic. In that case, Adsense typically won’t be able to return relevant ads, and it will print ads of public service that don’t pay for click (like Red Cross ads or donations).

The solution for this besides of using good URIs (filenames of pages with keywords), is to add enough text in a prominent way. That means that we must put text in a way that we make sure that the programs of Google (like the robots or Google Adsense) can read the text quickly when they enter to the page in such a way that they can “understand” this text is important and it establishes the page topic.

However, sometimes it is not convenient to add text in prominent parts like the top or the lateral rails, because it affect negatively the graphic design or distracts the public when the true attraction of the page can be an application or a form to fill. For this, we can use the relative positioning by using CSS (Cascade Style Sheet).

With CSS we can achieve that a long text appears for the eyes of the users in a position that doesn’t obstruct other contents (in the footer for example) when it is really the first thing that will read the Google programs in order to determine the topic of the page. This is, because although the text is placed inside the HTML as one of the first things, in the properties of the layer that contains the text is indicated that it should be positioned below or in another position that we choose.

There are two positioning types: the absolute one and the relative. If you understand something about HTML code, this it is a very simple example of absolute positioning:

<div id=”Layer1″ style=”position:absolute; background: #999966; left:13px; top:206px; width:380px; height:27px; z-index:1″>
Thanks for visiting mysportpage.com. This page is about sports: Football, Basketball, Baseball, Softball, Hockey, Poker,

Horse Racing, Box, Nascar, NFL, MLB, NBA, NCAA.

Rest of the text…





</div>

You can see that it is defined the positioning as absolute (position:absolute) and there are defined the coordinates where the text should be printed exactly so that doesn’t distract the users (left:13px; top:206px;)

With this text in the beginning of the HTML code and by using appropriate URIs, for example http://mysportpage.com/sports-players-form.htm, Google Adsense will understand that the topic logically is the sports, although this is printed below or on a place not very visible when the user see the page by the browser.

CSS is very useful for this, but it is necessary to warn that it is not the same, to hide the text in a unimportant position so that doesn’t distract to users than to hide the text totally. With CSS you can also hide the text totally, but that is a risky thing because it can generate some penalization in the search engines.

To learn more about CSS in a didactic way, click here.

Tags:



Put this article in your bookmarks:
DiggIt! | Del.icio.us | Reddit | Stumble | Add to Google

Leave a Reply