USER_CLOSE event in html, how to fire?

44 views
Skip to first unread message

Mario Ortas

unread,
Nov 14, 2019, 6:32:03 AM11/14/19
to Interactive Media Ads SDK
We are using IMA SDK for HTML for showing only ads on our player, and we are searching how we can fire USER_CLOSE event. We have a close button on our side, which hides and destroys adsManager, but event is not fired, and I can't find any example on it

Please can somebody help us with our close button?
Thanks

Mario Ortas

unread,
Nov 14, 2019, 6:43:11 AM11/14/19
to Interactive Media Ads SDK
Sorry, we didn't read properly rules, and we are following it now:

No matter the TAG we use, but as example, we use the one on IMA samples, which is https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dlinearvpaid2js&correlator=, or with this one from spotxchange, http://search.spotxchange.com/vast/2.0/85394?VPAID=JS&content_page_url={{ENCODED_URL}}&cb={{CB}}&player_width={{WIDTH}}&player_height={{HEIGHT}}

I can't reproduce it on the VAST tester, as far as I didn't see a close button on that player.
We let on this page our test, whichs should play some ads, with close button, and with events attached to USER_CLOSE event, https://vidoomy.com/tests/close-button-test/

Thanks

IMA SDK

unread,
Nov 14, 2019, 2:45:16 PM11/14/19
to mario...@vidoomy.com, ima...@googlegroups.com
Hi Mario,

Thank you for reaching out to us. The USER_CLOSE event doesn't fire on linear ads, it only fires on non-linear ads that have a close button integrated. Feel free to use our non-linear sample ad tag against the VSI and click the close button, you should see the USER_CLOSE event printed in the console.

Regards,
Arnaud Casame
IMA SDK Team


ref:_00D1U1174p._5001UJakCw:ref

Mario Ortas

unread,
Nov 15, 2019, 4:43:58 AM11/15/19
to Interactive Media Ads SDK
Oh ok, I understand it. Thanks a lot for your response
Reply all
Reply to author
Forward
0 new messages