How to setup Google AdSense backup ads?

Using AdSense and wondering how to populate empty space in case there are no relevant ads to show? This is solution for that scenario…

While creating Google AdSense Ad units people don’t really think ‘What in case there are no Ads to display?’. That is possible and Google offer solution in case that happened.
Many bloggers trying to have their blog design perfect, and to integrate Google AdSense Ad units without making any mistakes, and to be honest when Google can’t display ads it is really wasted space on that blog or website.

If you look in your AdSense reports under Ad units you can see Ad request and Coverage. Coverage represent – How many times your page has requested ads and how many Google have ads to show – in percentage. For example, if Coverage is 99.00% that means that in 1% of time there were no ads on your blog or website. Instead readers can see blank space  or some color you have chosen while creating Ad unit. Best option to manage these kinds of problems is to use Google backup ads option.

How to make backup ad unit?
First you must know format for that ad unit and then make image you would like to show in case there are no Google Ads to show. For example, I will make 336×280 backup ad unit.
I need to make photo for that ad unit.
Next step is to make .html document to handle that photo. Why is that? If you take a look at the Google backup ad units options then you can see that Google offering to Show other ads from another URL. In theory you could use direct hosting URL of that photo file but that won’t work correct. One more good reason for making .html file is that you can manage linking that ad unit to another location. That is the point of ads in a first place, right?
After you have made .html it is time to code a little bit. In this case you will use HTML to call that photo, and to place a working link in case someone clicks on that photo. All that goes to .html file which you have to upload in root folder of your website. You can use some other location but for this example root folder is the one.
Last thing you need to do is to place URL of that .html file inside Google AdSense dashboard, under My ads >  Ad units Backup ads.

Note: Backup ads won’t appear immediately. You need to wait some time for changes to take effect.

Add Comment