Difference between revisions of "Event.AD DISMISSED"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2014.01<br/> === Description === Ad was dismissed/removed from the screen")
 
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2014.01<br/>
 
'''Available since:''' Gideros 2014.01<br/>
 +
'''Value:''' adDismissed<br/>
 +
'''Defined by:''' [[Ads]]<br/>
 +
 
=== Description ===
 
=== Description ===
Ad was dismissed/removed from the screen
+
Ad was dismissed/removed from the screen.
 +
 
 +
*'''AdColony''': video finished
 +
*'''Admob''': when ad removed/destroyed
 +
*'''Amazon''': when ad removed from screen
 +
*'''AppLovin''': when ad removed/destroyed
 +
*'''Chartboost''': when ad removed from screen
 +
*'''HeyZap''': when ad gets removed
 +
*'''iAds''': when ad dismissed
 +
*'''InMobi''': when ad dismissed
 +
*'''Millenial''': when ad removed/destroyed
 +
*'''MoPub''': ad removed from screen
 +
*'''Revmob''': when ad dismissed
 +
*'''Samsung AdHub''': when ad is closed or removed
 +
*'''TapForTap''': when ad removed from screen
 +
*'''TapJoy''': does nothing
 +
*'''Unity''': when ad removed/destroyed
 +
*'''Vungle''': video finished
 +
 
 +
=== Events ===
 +
'''type''': (string) the ad type<br/>
 +
 
 +
=== Example ===
 +
<syntaxhighlight lang="lua">
 +
admob:addEventListener(Event.AD_DISMISSED, function(e)
 +
print("AD_DISMISSED")
 +
print(e.type) -- string
 +
end)
 +
</syntaxhighlight>
 +
 
 +
{{Ads}}

Latest revision as of 03:58, 16 February 2025

Available since: Gideros 2014.01
Value: adDismissed
Defined by: Ads

Description

Ad was dismissed/removed from the screen.

  • AdColony: video finished
  • Admob: when ad removed/destroyed
  • Amazon: when ad removed from screen
  • AppLovin: when ad removed/destroyed
  • Chartboost: when ad removed from screen
  • HeyZap: when ad gets removed
  • iAds: when ad dismissed
  • InMobi: when ad dismissed
  • Millenial: when ad removed/destroyed
  • MoPub: ad removed from screen
  • Revmob: when ad dismissed
  • Samsung AdHub: when ad is closed or removed
  • TapForTap: when ad removed from screen
  • TapJoy: does nothing
  • Unity: when ad removed/destroyed
  • Vungle: video finished

Events

type: (string) the ad type

Example

admob:addEventListener(Event.AD_DISMISSED, function(e)
	print("AD_DISMISSED")
	print(e.type) -- string
end)