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.
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.
When you select default, the general setting from #1 will be used.
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
<a href="https://wpadvancedads.com">Anchor Text</a>
<a href="https://wpadvancedads.com" target="_blank">Anchor Text</a>
The target=”_blank” attribute tells your browser to open the link in a new browser tab or window.
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.
5. AdSense ads
Depending on the ads and the advertisers it might not be allowed to change the target of a link in an AdSense ad. Please check the articles “Opening the ads in a new window” and “Set ads to open in a new tab or window” for details on that. If it is possible, you can change the target parameters directly in your AdSense account.