Difference between revisions of "Event.AD FAILED"
From GiderosMobile
Line 9: | Line 9: | ||
=== Parameters === | === Parameters === | ||
'''error''': (string) string describing what failed<br/> | '''error''': (string) string describing what failed<br/> | ||
+ | |||
+ | === Example === | ||
+ | <syntaxhighlight lang="lua"> | ||
+ | admob:addEventListener(Event.AD_FAILED, function(e) | ||
+ | print("AD_FAILED") | ||
+ | print(e.error) -- string | ||
+ | end) | ||
+ | </syntaxhighlight> | ||
{{Ads}} | {{Ads}} |
Revision as of 21:35, 15 February 2025
Available since: Gideros 2014.01
Value: adFailed
Defined by: Ads
Description
Failed to retrieve ad.
Parameters
error: (string) string describing what failed
Example
admob:addEventListener(Event.AD_FAILED, function(e)
print("AD_FAILED")
print(e.error) -- string
end)