Difference between revisions of "Event.AD DISMISSED"
From GiderosMobile
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
=== 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}} | {{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)