adTypes parameter in the code is responsible for the ad formats you are going to implement into your app.
Appodeal supports all major mobile ad types:
- Interstitial (
AppodealAdTypeInterstitial): full-screen ads, that contain a static image or a skippable video.
- Rewarded video (
AppodealAdTypeRewardedVideo): non-skippable video ads that users may choose to watch to get a reward.
- Non-skippable video (
AppodealAdTypeNonSkippableVideo): video ads that must be watched until the end.
- Native ads (
AppodealAdTypeNativeAd): ads that can match the structure and style of an app and naturally continue the user experience.
- Banner (
AppodealAdTypeBanner): rectangular ads that occupy a spot within an app's layout
- MREC (
AppodealAdTypeMREC): medium-rectangule ads (300x250px) that appear within in-app content. It’s a deprecated ad format and is better to be replaced with native ads.
failToPresent, if you call
showAdwithout internet connection.
1. Ad types can be combined using "|" operator. For exapmle,
AppodealAdTypeInterstitial | AppodealAdTypeRewardedVideo.
AppodealAdTypeNonSkippableVideo - the alias of
AppodealAdTypeRewardedVideo. Both of them shouldn't be used together.
If you are not sure, which ad formats would suit you the best, check out our FAQ.