Difference between revisions of "Ads:hideAd"
From GiderosMobile
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| − | + | '''Available since:''' Gideros 2014.01<br/> | |
| − | ''' | + | '''Class:''' [[Ads]]<br/> |
| − | ''' | + | |
| − | === | + | === Description === |
| − | + | Hides displayed ads. | |
| − | < | + | <syntaxhighlight lang="lua"> |
| − | + | Ads:hideAd(adType) | |
| − | </ | + | </syntaxhighlight> |
| + | |||
| + | Possible values for '''adType''': see '''[[Ads:loadAd]]''' | ||
| + | |||
| + | Possible results: | ||
| + | <syntaxhighlight lang="lua"> | ||
| + | -- AdColony | ||
| + | --does nothing | ||
| + | |||
| + | -- Admob | ||
| + | --hides only banners | ||
| + | admob:hideAd(adType) | ||
| + | |||
| + | -- Amazon | ||
| + | amazon:hideAd(adType) | ||
| + | |||
| + | -- AppLovin | ||
| + | --hides only banners | ||
| + | applovin:hideAd(adType) | ||
| + | |||
| + | -- Chartboost | ||
| + | --does nothing | ||
| + | |||
| + | -- HeyZap | ||
| + | --does nothing | ||
| + | |||
| + | -- iAds | ||
| + | --hides only banners | ||
| + | iad:hideAd(adType) | ||
| + | |||
| + | -- InMobi | ||
| + | --hides only banners | ||
| + | inmobi:hideAd(adType) | ||
| + | |||
| + | -- Millenial | ||
| + | mm:hideAd(adType) | ||
| + | |||
| + | -- MoPub | ||
| + | --hides only banner | ||
| + | mopub:hideAd(adType) | ||
| + | |||
| + | -- Revmob | ||
| + | --hides banner ads | ||
| + | revmob:hideAd(adType) | ||
| + | |||
| + | -- Samsung AdHub | ||
| + | --hides only banners | ||
| + | samsung:hideAd(adType) | ||
| + | |||
| + | -- TapForTap | ||
| + | --hides banner | ||
| + | tapfortap:hideAd(adType) | ||
| + | |||
| + | -- TapJoy | ||
| + | --hides banner ads | ||
| + | tapjoy:hideAd(adType) | ||
| + | |||
| + | -- Unity | ||
| + | --does nothing | ||
| + | |||
| + | -- Vungle | ||
| + | --does nothing | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | === Parameters === | ||
| + | '''adType''': (string) ad type or format<br/> | ||
{{Ads}} | {{Ads}} | ||
Latest revision as of 02:50, 16 February 2025
Available since: Gideros 2014.01
Class: Ads
Description
Hides displayed ads.
Ads:hideAd(adType)
Possible values for adType: see Ads:loadAd
Possible results:
-- AdColony
--does nothing
-- Admob
--hides only banners
admob:hideAd(adType)
-- Amazon
amazon:hideAd(adType)
-- AppLovin
--hides only banners
applovin:hideAd(adType)
-- Chartboost
--does nothing
-- HeyZap
--does nothing
-- iAds
--hides only banners
iad:hideAd(adType)
-- InMobi
--hides only banners
inmobi:hideAd(adType)
-- Millenial
mm:hideAd(adType)
-- MoPub
--hides only banner
mopub:hideAd(adType)
-- Revmob
--hides banner ads
revmob:hideAd(adType)
-- Samsung AdHub
--hides only banners
samsung:hideAd(adType)
-- TapForTap
--hides banner
tapfortap:hideAd(adType)
-- TapJoy
--hides banner ads
tapjoy:hideAd(adType)
-- Unity
--does nothing
-- Vungle
--does nothing
Parameters
adType: (string) ad type or format