Banner
Banner ads are classic static banners, which are usually located at the bottom or top of the screen.
Appodeal supports traditional 320x50 banners, tablet 728x90 ones, and adaptive banners (for Admob only) that adjust to the size and orientation of the device.
Banner ads are refreshed every 15 seconds automatically by default. To display banner, you need to call one of the following methods:
- UPM Distribution
- Manual Distribution
// Display banner at the bottom of the screen
Appodeal.Show(AppodealShowStyle.BannerBottom);
// Display banner at the top of the screen
Appodeal.Show(AppodealShowStyle.BannerTop);
// Display banner at the left of the screen
Appodeal.Show(AppodealShowStyle.BannerLeft);
// Display banner at the right of the screen
Appodeal.Show(AppodealShowStyle.BannerRight);
// Display banner at the bottom of the screen
Appodeal.show(Appodeal.BANNER_BOTTOM);
// Display banner at the top of the screen
Appodeal.show(Appodeal.BANNER_TOP);
// Display banner at the left of the screen
Appodeal.show(Appodeal.BANNER_LEFT);
// Display banner at the right of the screen
Appodeal.show(Appodeal.BANNER_RIGHT);
Hide Banner
To hide a banner that was shown via Appodeal.Show() method use the following method:
- UPM Distribution
- Manual Distribution
Appodeal.Hide(AppodealAdType.Banner);
Appodeal.hide(Appodeal.BANNER);
Check If Ad Is Loaded
You can check whether or not an ad is loaded at a certain moment. This method returns a boolean value, representing the banner ad loading status.
- UPM Distribution
- Manual Distribution
Appodeal.IsLoaded(AppodealAdType.Banner);
Appodeal.isLoaded(Appodeal.BANNER);
The Appodeal.Show() method for banners can be called at any moment. If there is no ad available,
we will cache one and show it right away.
You can use our demo app as a reference project.
Demo App
If you want to use advanced Banner integration, you can find detailed documentation here