
Facts About AdSense
According to the Google AdSense Terms & Conditions, you are allowed to place up to three ad units and three link units on a single page. If you have added the AdSense code to your theme template, you don't even have to worry about this. The code will automatically display ad units up to three times. For example, on my main page I show my last 10 posts. In my theme template, I have added my AdSense code at the end of my "post" template. Theoretically, the ad units should therefore display at the end of all 10 posts. But this is not the case. The code is smart enough to display ad units the correct number of times.
I recently learned that Google displays the ads on your page in order of value. This means that the highest paying ad of the three will be displayed first. Google considers the "first" ad to be the first block of AdSense code it sees in the final markup of your page's HTML.
Capitalizing on These Facts
When I learned this interesting fact about highest paying ads displaying first, it caused me to take another look at where I was displaying my Google Ads. Originally, I only had three ad units displayed at the bottom of the first three posts. I realized this was a huge waste of a valuable ad spot! Most people don't rFacts About AdSenseead an entire post from start to finish. They'll skim the first paragraph or two and decide if its worth finishing. Often they will get the information they need before the end of the article. Or in my case...before they get to the ad! Since the first ad is the most valuable, I wanted to change my design to highlight this ad unit and put it in a spot that catches the reader's attention.
To further capitalize on this valuable first ad, I decided to make it an image ad to really spark the reader's interest. It will take up more real estate, but by selecting "Image Only" ads when creating my AdSense code, you can increase your chances of getting more clicks. In my opinion, the entire world has become desensitized to Google Text Ads. Without even trying, their eyes just skip right over them. An image ad, on the other hand, can still be attractive and effective at grabbing the reader's attention.
I decided to put the first ad at the top of my Buzz Sponsors section which can be seen in my sidebar to the right.
Houston, We Have a Problem!
Remember earlier that I said the Google AdSense code is smart enough to display the correct number of ad units? In my case, it was displaying all three units in the first three posts. My blog platform generates these posts before it generates the side bar. How then can I make the FIRST ad unit appear at the top of my side bar? Thanks to the magic of Cascading Style Sheets (CSS), the answer to this question is not as hard as you might think.
Updating Your Template
Most blog templates that have a sidebar use an amazing (but often misunderstood) CSS property called float. This property tells a browser to display an HTML element to the left or the right side of its parent element. The beauty of the float property is that when it is applied, the content being floated can occur BEFORE or after the rest of the content. It will look the same either way.
This works because the side bar has been give the property of float: right, which can be found if you look in your theme's style sheet file. This means that the sidebar content will be pushed to the right side of its container element and the rest of the content will flow around it. It doesn't matter if the float content is generated before or after the rest of the content. Check out this article if you want to learn more about the CSS Float property.
0 comments:
Post a Comment