How to Create a Clickable Affiliate Ad as a Backup for an AdSense Unit

Sometimes an AdSense unit does not display an ad for a user for any reason. When an AdSense unit does not display an ad, it leaves an unusual amount of space in the content and reduces my ability to monetize those pages, which I find unacceptable.

Formerly much more important problem, but at the age of remarketing AdSense can usually find an ad to display for a user, even if the content of your page does not match a good specific content. But, sometimes, an ad will still not show up, so I always define an alternate ad for my AdSense units.

AdSense offers the ability to specify what you want to show in place of an AdSense unit that does not work. Do not post an ad for any reason when you create an AdSense unit. The drop-down menu gives you the option of deciding whether to show a blank space, a solid color, or a substitution ad when AdSense is not showing. However, you will notice that the choice of the backup announcement option only allows you to enter the URL of the backup announcement that you want to view.

 AdSense Backup Unit Option "width =" 1948 "height =" 1216 "class =" aligncenter size-full wp-image-26656 "/> </p>
<p> Being presented with the option to enter only a single URL leads most people to believe that they can specify the URL of an image to be displayed, but can not make this image clickable, however, you can create a clickable ad to display instead of AdSense AdSense makes very little effort to do that. </p>
<p> What you would normally expect from a scenario like this would be two fields – one to specify the URL of the image to be displayed and another to specify the URL to which the & # 39; Image must be linked t make the process of defining a clickable backup ad more intuitive, but that's what it is. </p>
<h2> Create the co to create a cli ckable backup ad </h2>
<p> To create a clickable ad ad, AdSense requires you to create an HTML page on your website containing the HTML ad. To create your save announcement, copy and paste the code below into your favorite text editor. </p>
<p> (Note for Beginners – Microsoft Word is not a text editor On Windows you can to use the native application Notepad. can use Textedit, providing you <a href= change the default formatting Personally, I use Textmate for Mac.)



Replace AFFILIATE LINK with the URL to which the ad is to be linked. Then replace YOUR IMAGE AD with the URL of the creative you want to display. For example, here is the code I'm using to generate a SEMrush ad as an AdSense ad for the Sugarrae site.

<a href = "https: // sugarrae. com / getit / semrush -adsense "target =" _ top ">

Google recommends to use absolute URLs as I have done in the above example. . Also note that the target = "top" element of the link code must be present or your ad is not displaying properly. You must also ensure that the creative you plan to use for your ad is the same size as the AdSense unit for which you are backing up.

Once you have copied the code into your text editor and modified to include your affiliate link and affiliate banner, you must save the file with a .html extension. Click Save, name the file as you want – I called my semrush-backup-ad.html file – and save it as HTML. On Notepad, you will need to manually enter the .html after the file name when saving. With TextEdit, you can choose to save it as an HTML file in the File Format drop-down list.

Uploading Your HTML File to a Server

Now that you have the HTML file created, you will need to download it to a server. AdSense does not care where you're hosting the file, as long as the file is accessible on the Internet. I uploaded it to the Sugarrae website via FTP (you can see my ad here ). If you do not know how to download an HTML file to your website, you should contact your web host for help.

Adding the Backup Ad to Your AdSense Unit

To add the back up ad in your AdSense unit, sign in to AdSense and click on My Ads. Click the name of the AdSense unit for which you want to specify the backup announcement, not the Change Ad Type option. On the next screen, locate the Backup Announcements field and choose the Show Other Announcements From Another URL option from the drop-down menu.

 Choose Backup Ad Option for AdSense Unit "width =" 1716 "height =" 1254 "class =" aligncenter size-full wp-image -26705 "/> </p>
<p> Enter the URL of the HTML file you created and downloaded to your host by following the steps above and click Save. </p>
<p> <img src= SID Tracking in your backup ad so that you can determine both the number of clicks generated by the announcement and the announcement of sales. If you hide your affiliate links as I do, you need to make sure to create a new hidden link for the AdSense opt-out ad so you can track clicks – especially useful if the program is Affiliate does not support SID tracking

Unfortunately, the SEMrush affiliate program does not offer the option of adding SID tracking to their links, I'm not sure. so I had to use my general affiliate link in the example above. But I will at least be able to see how many clicks the link generates via my link cloaking plugin, Pretty Link Pro (affiliated).

Test Your AdSense Backup Ad

Since AdSense has made the definition of a backup ad a little complicated, here is where I should give you a link to verify that you have successfully created your backup ad. Unfortunately, Google does not provide a way to test AdSense backup ads, which makes no sense, but again, that's what it is. All you can really do is follow the instructions to the letter and hope for the best.

You can also check the logs of your servers to see if the backup ad you have created is viewed and monitor the number of specific affiliate link clicks you used in the Announcement – provided that you use a SID code for the link or use a unique link via a cloaking plugin that follows the clicks.

NOTE: Adding the backup announcement may take some time to start working in the ad unit.

Leave a Reply

Your email address will not be published. Required fields are marked *