Event.AD ACTION END: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
''' | '''Available since:''' Gideros 2014.01<br/> | ||
''' | '''Value:''' adActionEnd<br/> | ||
''' | '''Defined by:''' [[Ads]]<br/> | ||
=== | |||
=== Description === | |||
Some action on ad completed, for example: video was watched, ended on the ad. | |||
*'''AdColony''': successfully watched video for currency | |||
*'''Admob''': does nothing | |||
*'''Amazon''': when ad collapses | |||
*'''AppLovin''': does nothing | |||
*'''Chartboost''': when closed ad or v4vc should reward user | |||
*'''HeyZap''': when user successfully watched video for virtually currency | |||
*'''iAds''': when returned from the ad after cliking it | |||
*'''InMobi''': does nothing | |||
*'''Millenial''': does nothing | |||
*'''MoPub''': on ad collapse | |||
*'''Revmob''': does nothing | |||
*'''Samsung AdHub''': does nothing | |||
*'''TapForTap''': does nothing | |||
*'''TapJoy''': does nothing | |||
*'''Unity''': does nothing | |||
*'''Vungle''': watched at least 80% of video ad or video for currency | |||
=== Events === | |||
'''type''': (string) the ad type<br/> | |||
=== Example === | |||
<syntaxhighlight lang="lua"> | |||
admob:addEventListener(Event.AD_ACTION_END, function(e) | |||
print("AD_ACTION_END") | |||
print(e.type) -- string | |||
end) | |||
</syntaxhighlight> | |||
{{Ads}} | |||
Latest revision as of 01:58, 16 February 2025
Available since: Gideros 2014.01
Value: adActionEnd
Defined by: Ads
Description
Some action on ad completed, for example: video was watched, ended on the ad.
- AdColony: successfully watched video for currency
- Admob: does nothing
- Amazon: when ad collapses
- AppLovin: does nothing
- Chartboost: when closed ad or v4vc should reward user
- HeyZap: when user successfully watched video for virtually currency
- iAds: when returned from the ad after cliking it
- InMobi: does nothing
- Millenial: does nothing
- MoPub: on ad collapse
- Revmob: does nothing
- Samsung AdHub: does nothing
- TapForTap: does nothing
- TapJoy: does nothing
- Unity: does nothing
- Vungle: watched at least 80% of video ad or video for currency
Events
type: (string) the ad type
Example
admob:addEventListener(Event.AD_ACTION_END, function(e)
print("AD_ACTION_END")
print(e.type) -- string
end)