Difference between revisions of "Event.AD ACTION BEGIN"

From GiderosMobile
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
=== Description ===
 
=== Description ===
Some action like user clicked begin on the ad.
+
Some action like user clicked on the ad.
 +
 
 +
*'''AdColony''': does nothing
 +
*'''Admob''': does nothing
 +
*'''Amazon''': when ad expands/opens
 +
*'''AppLovin''': does nothing
 +
*'''Chartboost''': when clicked ad
 +
*'''HeyZap''': when ad clicked
 +
*'''iAds''': when clicked on ad
 +
*'''InMobi''': does nothing
 +
*'''Millenial''': does nothing
 +
*'''MoPub''': on ad expand
 +
*'''Revmob''': on user click
 +
*'''Samsung AdHub''': does nothing
 +
*'''TapForTap''': when clicked on ad
 +
*'''TapJoy''': does nothing
 +
*'''Unity''': does nothing
 +
*'''Vungle''': does nothing
 +
 
 +
=== Events ===
 +
'''type''': (string) the ad type<br/>
 +
 
 +
=== Example ===
 +
<syntaxhighlight lang="lua">
 +
admob:addEventListener(Event.AD_ACTION_BEGIN, function(e)
 +
print("AD_ACTION_BEGIN")
 +
print(e.type) -- string
 +
end)
 +
</syntaxhighlight>
  
 
{{Ads}}
 
{{Ads}}

Latest revision as of 02:57, 16 February 2025

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

Description

Some action like user clicked on the ad.

  • AdColony: does nothing
  • Admob: does nothing
  • Amazon: when ad expands/opens
  • AppLovin: does nothing
  • Chartboost: when clicked ad
  • HeyZap: when ad clicked
  • iAds: when clicked on ad
  • InMobi: does nothing
  • Millenial: does nothing
  • MoPub: on ad expand
  • Revmob: on user click
  • Samsung AdHub: does nothing
  • TapForTap: when clicked on ad
  • TapJoy: does nothing
  • Unity: does nothing
  • Vungle: does nothing

Events

type: (string) the ad type

Example

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