Close Intersitial Ad

301 views
Skip to first unread message

jabr...@gmail.com

unread,
Oct 23, 2014, 3:47:36 PM10/23/14
to gwd...@googlegroups.com
Hello,

Im building a mobile intersitial ad. not for apps, for mobile web only.

I need to build in a close button - not a click through - pub wants the ad to disappear when the close btn is tapped.

I have added a tap component but I see no way to close the ad.

This is a mobile ad, not in-app.
it is not an expanding ad either.

thanks for the help,

Joe

Kishore Subramanian

unread,
Oct 23, 2014, 4:15:01 PM10/23/14
to
Hi Joe,

Is this Ad served through DoubleClick ?

ebeing

unread,
Oct 23, 2014, 4:16:46 PM10/23/14
to gwd...@googlegroups.com
served? No.
its trafficked from studio to DCM.

Kishore Subramanian

unread,
Oct 23, 2014, 4:38:18 PM10/23/14
to gwd...@googlegroups.com
Sorry. I phrased my question incorrectly. I meant to ask if it is served via DoubleClick network.

Try this:

Using the events panel in GWD:

Close Button tapArea -> Click -> Custom

function closeAd() {
 if (window.Enabler) {
    window.Enabler.reportManualClose();    window.Enabler.close();
  }  document.body.parentNode.removeChild(document.body);}

Let us know if it does not work.

Thanks,
Kishore (GWD team)

ebeing

unread,
Oct 23, 2014, 4:49:48 PM10/23/14
to gwd...@googlegroups.com
No, it didnt work.
I have attached a screenshot of what I entered.

to confirm, it is served through doubleclick (Studio > DCM)
Capture.JPG

ebeing

unread,
Oct 24, 2014, 9:25:58 PM10/24/14
to gwd...@googlegroups.com
bump

enjoyb...@gmail.com

unread,
Oct 25, 2014, 9:06:52 PM10/25/14
to gwd...@googlegroups.com
Solved

dibs...@gmail.com

unread,
Sep 13, 2015, 6:37:07 PM9/13/15
to Google Web Designer beta
i am also having problem closing interstitial ads
i am not sure what to add for the tap area exit button to trigger the total closing of the ad

i am building through GWD and publishing through DC

can you please advise?

the above solution didnt work for me also

dibs...@gmail.com

unread,
Sep 13, 2015, 6:37:51 PM9/13/15
to Google Web Designer beta
can you please advise on how were you able to close the ad through GWD?

a.sta...@gmail.com

unread,
Sep 14, 2016, 7:11:32 AM9/14/16
to Google Web Designer beta
HOW TO SOLVE THE PROBLEM?

Sukhbir Kaur

unread,
Sep 19, 2016, 7:57:07 PM9/19/16
to Google Web Designer beta
Hi ,

If the Ad is  served via DoubleClick network.

Try this:

Using the events panel in GWD:

Close Button TapArea -> Click -> Custom
























Thanks Sukhbir

(Google Web Designer Team)

vinyl...@gmail.com

unread,
Sep 20, 2016, 11:54:35 AM9/20/16
to Google Web Designer beta
What about the preset intersitial ad close function?
It's like the one posted above, only w/o if etc.

gwd.closeAd = function(event) {
Enabler.reportManualClose();
Enabler.close();

Marc

Reply all
Reply to author
Forward
0 new messages