Type Function Return value Boolean Revision Release 2025.3721 Keywords ads, advertising, vungle See also vungle-v4.*
Vungle downloads and caches the next video ad for optimal user experience. This function returns true or false depending on the availability of a cached ad.
vungle-v4.isAdAvailable()
local ads = require( "ads" )
ads.init( "vungle", "myAppId" )
if ( ads.isAdAvailable() ) then
ads.show( "interstitial" )
end