The Beginner’s Guide To Google Adsense Ads

Adsense ads guide

After starting your site, creating some unique, useful and engaging content and getting some traffic and visitors is the time when most start thinking about how to monetize the content and the visitors.

There are many ways to make money from your site but one of the most popular options to monetize a new site is to join Google Adsense. Google Adsense will automate the process of selling and displaying ads for you and will allow you to earn money from relevant ads. AdSense for content automatically crawls the content of your posts and pages and delivers text and image ads that are relevant to your audience and relevant to what your content is about.

You just join Adsense, choose how you want your ad to look like and install a piece of code on your site and you are set to start showing ads. AdSense lets you customize the appearance of ads to match the look and feel of your site. You can also customize the style of your AdSense for search box and search results of your page. You earn money for each of the clicks the ads get.

Adding Google AdSense to your pages is easy. Once your application is approved, just log into your Adsense account, customize your ad unit, and copy and paste a block of HTML code into your site. You are welcome to place ads on any acceptable site, without re-applying.

Alternative version of adding the HTML code to your site is by using one of the many WordPress plugins especially created for ad displaying. By using the plugin you would not even need to insert any code, it would be as simple as adding your unique Adsense account details. And you are ready to start monetizing.

How to insert ads on your posts

We will now take a look at how to automate the process of inserting Google Adsense ads into your posts. Instead of inserting ads manually post by post or page by page, you can automatically insert ads on top of each of your posts, in between the post title and the content or any other position you wish to insert it into really. To do this you just need to do a simple edit of your WordPress theme and insert the Adsense code directly in there without using any plugins as help.

So you may be asking how do I actually edit my own theme files? Go into “Appearance” in your WordPress navigation and select “Editor”. There you will see all the different files that your theme is using. Find the Single Post (single.php) post in the Theme Editor menu in the Design section. That is the file that helps you serve your individual post pages. Find the following part, usually around the top of the page. You need to insert your Google Adsense ad HTML code in between these lines:

<div class="post">
<?php the_content;?>

After you insert the Adsense HTML code it should look something like this:

<div class="post">
YOUR ADSENSE CODE HERE
<?php the_content;?>

This way your Google Adsense ads will be inserted automatically in all your posts, in the archived posts and in the new posts that you write and publish in the future. The ad will be inserted in between the post title and the post content.

How to insert ads on your front page

This time I will now take a look at how you can insert the ads in between the posts on your front page. This is another way of presenting ads in a better way and merge them more closer to your content. In general merging ads closer to the content will result in more people paying attention to them as when they are too far away from the main content most people tend to ignore them thanks to the “banner blindness” that most internet users have developed which makes them automatically block all the flash and spammy banners they see in the sidebar on the side of the content.

Again you would have to do a simple change in your WordPress admin control panel by going into Design menu and choosing the Theme Editor. This time we will take a look at the Main Index Template, the index.php. Find the following line:

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

You need to insert the following line above it:

<?php $count = 1; ?>

Now find the line that starts with following:

<?php the_content

After the closing tag of that section (?>) insert the following code:

<?php if ($count == 1) : ?>
YOUR GOOGLE ADSENSE CODE HERE
<?php endif; $count++; ?>

Your blog is now all ready and you can take a look inside your Adsense account to find the latest stats and if there have been some ad clicks you can actually see the earnings starting to add up. Congratulations!