Event.AD ACTION BEGIN: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
=== Description ===
=== Description ===
Some action like user clicked 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 ===
=== Events ===
Line 12: Line 29:
=== Example ===
=== Example ===
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
self.ADMOB:addEventListener(Event.AD_ACTION_BEGIN, function(e)
admob:addEventListener(Event.AD_ACTION_BEGIN, function(e)
print("AD_ACTION_BEGIN")
print("AD_ACTION_BEGIN")
print(e.type) -- string
print(e.type) -- string

Latest revision as of 01: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)