Opening an ad in a new window or browser tab is a good idea if you don’t want to lose visitors entirely to the advertiser’s page, but still keep them on your site too.

In this tutorial I will show you how you can accomplish this with Advanced Ads. It basically depends on the ad type and can also be done using an add-on.

1. Open all ads in a new window

In order to open all ads that have a URL field (Image Ads type and when Tracking is installed) you have need to check the Open links in a new window option in Advanced Ads > Settings > General.

option to open ads in a new window

Only automatically created links will open in a new window. If you track with the link tag hard coded into the ad code (plain text or rich media ad type), you would still need to modify the existing link tag like described below.

2. Open individual ads in a new window

The Tracking add-on provides an option to open an individual ad in a new window.

option to open single ad in new window

When you select default, the general setting from #1 will be used.

Please notice, that this feature doesn’t work on ad codes which include the link. This accounts for most JavaScript based ad codes and ad networks.

3. Plain Text ads

If you are using the Plain Text and Code ad type, you can simply add some attributes to the link tag to open it in a new window.

For example, change

to

The  target="_blank"  attribute tells your browser to open the link in a new browser tab or window.

Keep in mind that ad networks that provide ad code in JavaScript normally don’t allow you to modify the code so that it opens in a new window (e.g., AdSense doesn’t).

4. Rich Media ads

If you are using the Rich Media ad type, you can simply highlight a text that you want to link and click on the link icon in the toolbar. The popup that opens for you to select the link target url and the anchor text also contains a checkbox that you can enable in order to open the link in a new window / tab.

open link in new window option