Ads:hideAd: Difference between revisions

From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2014.01<br/> === Description === Hides displayed ads <source lang="lua"> = Ads:hideAd() </source>"
 
No edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''Available since:''' Gideros 2014.01<br/>
'''Available since:''' Gideros 2014.01<br/>
'''Class:''' [[Ads]]<br/>
=== Description ===
=== Description ===
Hides displayed ads
Hides displayed ads.
<source lang="lua">
<syntaxhighlight lang="lua">
= Ads:hideAd()
Ads:hideAd(adType)
</source>
</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}}

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