How make Ads open in a new tab or window?

2,147 views
Skip to first unread message

cha...@idealconcepts.lk

unread,
Oct 4, 2014, 4:45:38 AM10/4/14
to gwd...@googlegroups.com
how can i make the HTML5 advert, when someone click on it it has to open in the new tab without opening in the same window.

bob...@gmail.com

unread,
Oct 4, 2014, 10:13:31 AM10/4/14
to gwd...@googlegroups.com, b...@painter.lu
This is funny. I'm trying to get it to open in the same window because I'm always complaining about the fact that it automatically opens in a new window/tab.
I still haven't found a way how to make it open in the same window though :-(

Do you manage to open the link in the same window? It is not an "Event>Exit" you've done in your project?

San Khong

unread,
Oct 6, 2014, 12:19:32 PM10/6/14
to gwd...@googlegroups.com, b...@painter.lu
Sorry we don't have a way to set this in Google Web Designer.  The way to set the browser window target is through DoubleClick Studio exit settings.

San
GWD Team

Artismana

unread,
Oct 6, 2014, 3:27:52 PM10/6/14
to gwd...@googlegroups.com, b...@painter.lu
Will it be in the list of "new features" for the future?

An I have checked the "DoubleClick Studio exit settings", there is no option to set the browser window target :-(

derekber...@gmail.com

unread,
Oct 6, 2014, 6:09:57 PM10/6/14
to gwd...@googlegroups.com, b...@painter.lu
In DCS, when managing your Creative, go to "Edit Events". There, you should see your clickTag(s). On the far right of each clickTag entry, there is a "Settings" link. Click that and you'll see a settings dialog. Choose Browser for your target type and choose your Browser window target using the drop-down below that.

Self - open link in the same window
Blank - open link in the new window
Parent - will load the linked document where the inner frameset file had been
Top - loads the linked document in the topmost frame

You'll want to go with Blank to open the link in a new tab/window. (Unfortunately, whether this opens a new tab or window is actually controlled on the user's end in their browser settings.)

I can't think of many good uses of Parent or Top for banner ads, though I'm sure there are some out there. :)

Hope that helps!

DeDae

unread,
Nov 19, 2015, 8:58:24 AM11/19/15
to Google Web Designer beta
Hi All,

I've recently solved the same issue on an generic ad by simply opening up the published index.html the GWD exports and then doing a find and replace on '_newTab' and change to '_self'

Hope this helps!!

Cheers,
DeDae

sebasti...@gmail.com

unread,
Jul 21, 2016, 5:04:35 AM7/21/16
to Google Web Designer beta
Doenst work for me.
There is no code saying "new_tab"

Has anyone an idea how to solve this issue?

DeDae

unread,
Jul 22, 2016, 5:40:27 AM7/22/16
to Google Web Designer beta
Hey Sebastian,

Try tweaking your syntax slightly...

_newTab

This should show on in your published GWD index.html file.

Hope this helps,
DeDae

sebasti...@gmail.com

unread,
Jul 22, 2016, 7:26:37 AM7/22/16
to Google Web Designer beta
Hi DeDae,

shame on me...I must have overlooked it.

Found it now - works great :)

Have a nice weekend!!!

BR Sebastian

Debobrata Debnath

unread,
Apr 27, 2017, 9:50:56 AM4/27/17
to Google Web Designer beta
Hey, guys finally after spending lots of hours we have got this solution for the above question. This solution is totally made by us. Till now GWD has no such direct option to implement this feature but you can tweak the inline JS to achieve this result. 

Please follow this video: 


And use this code: onclick="window.location.href='https://www.google.co.in/'"
Reply all
Reply to author
Forward
0 new messages