Page 1 of 1

Adsense ads on new page instead of parent

Posted: 05 Oct 2009, 11:16
by dawauz
Is it possible to change something on the code or css, when clicking the ad, the ad will be shown on the same page, so visiters are leaving my site.
I would like to open the ad in a new page, but how?

I tried to change the adsense code, see the bold

script type="text/javascript"><!--
google_ad_client = "pub-1157514370736462";
/* 200x200, gemaakt 5-10-09 */
google_ad_slot = "3880238302";
google_ad_width = 200;
google_ad_height = 200;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js" target="_blank">
/script

but that doesn't work at all...

Re: Adsense ads on new page instead of parent

Posted: 05 Oct 2009, 14:45
by Jan
Hi, sorry I don't understand. If you are using Phoca Google AdSense Easy module, this only displays your ads in the module position. :idea:

Jan

Re: Adsense ads on new page instead of parent

Posted: 05 Oct 2009, 16:02
by dawauz
yes I know, but when clicking the ad, I would like to see a new window instead of the leaving the website to visit the ad.
So a new window has to appear with the ad...

Re: Adsense ads on new page instead of parent

Posted: 06 Oct 2009, 13:09
by Jan
Hi, so this you should ask on Google as the code is produced by Google.

Re: Adsense ads on new page instead of parent

Posted: 21 Jun 2010, 20:58
by leoxgeo
Hi there dawauz

It''s been long time since ur post but i just wonder if u ve found way to get ads open in new tab or window :)

If any1 knows way around it plsssssssss share :| :| :| :| :|

Re: Adsense ads on new page instead of parent

Posted: 29 Oct 2010, 19:57
by none
You MAY NOT open it in new window!
It is against Google Policy!
Can I open the ads in a new window?

Generally, it is our policy to not allow Google ads to open in a new window. However, in a few markets, including China, we've found that opening ads in a new window better aligns with expected internet behavior and provides a more consistent, intuitive user experience.

Keeping in mind the importance of the user experience, we've enabled Google ads to open in new windows in locations where this is expected browsing behavior. This functionality is determined by the IP of the user, and is not an option you can select your AdSense account.

We also ask that you don't modify the AdSense ad code or alter the result of clicking on an ad on your website, as such behavior violates our program policies.