Difference between revisions of "Event.AD RECEIVED"
From GiderosMobile
Line 6: | Line 6: | ||
=== Description === | === Description === | ||
Ad was received. | Ad was received. | ||
+ | |||
+ | === Events === | ||
+ | '''type''': (string) the ad type<br/> | ||
=== Example === | === Example === | ||
Line 11: | Line 14: | ||
admob:addEventListener(Event.AD_RECEIVED, function(e) -- show ad | admob:addEventListener(Event.AD_RECEIVED, function(e) -- show ad | ||
print("AD_RECEIVED") | print("AD_RECEIVED") | ||
− | print(e.type) -- | + | print(e.type) -- string |
admob:showAd("auto") | admob:showAd("auto") | ||
admob:setAlignment("left", "top") | admob:setAlignment("left", "top") |
Revision as of 21:38, 15 February 2025
Available since: Gideros 2014.01
Value: adReceived
Defined by: Ads
Description
Ad was received.
Events
type: (string) the ad type
Example
admob:addEventListener(Event.AD_RECEIVED, function(e) -- show ad
print("AD_RECEIVED")
print(e.type) -- string
admob:showAd("auto")
admob:setAlignment("left", "top")
end)