Type Function Return value none Revision Release 2024.3703 Keywords ads, advertising, Appodeal, set728x90Banners See also appodeal.*
You can use the following method to enable 728*90 banners.
This method is only available on Android.
appodeal.set728x90Banners( enableBanners )
Boolean. To enable 728*90 banners, set this parameter to true
.
local appodeal = require( "plugin.appodeal" ) local function adListener( event ) if ( event.phase == "init" ) then -- Successful initialization elseif ( event.phase == "failed" ) then -- The ad failed to load print( event.type ) print( event.isError ) print( event.response ) elseif ( event.phase == "dataReceived" ) then -- Event data received print( event.type ) print( event.data ) end end -- Initialize the Appodeal plugin appodeal.init( adListener, { appKey="YOUR_APP_KEY" } ) -- Sometime later, after Appodeal will be fully initialized get plugin and SDK versions appodeal.set728x90Banners(true)
© 2020-2024 Solar2D All Rights Reserved.
Help us help you! If you notice a problem with this page, please report it.