ads library

Classes

Ads
The Ads class
AdSize
AdSize represents the size of a banner ad. There are six sizes available, which are the same for both iOS and Android. See the guides for banners on Android and iOS for additional details.
Implement the Banner Ad
BannerAd
A banner ad for the FirebaseAdMobPlugin.
EventError
Event Error class
FirebaseAdMob
Support for Google AdMob mobile ads. [...]
InterstitialAd
A full-screen interstitial ad for the FirebaseAdMobPlugin.
MobileAd
A mobile BannerAd or InterstitialAd for the FirebaseAdMobPlugin. [...]
MobileAdTargetingInfo
Targeting info per the native AdMob API. [...]
Native
Implement the Native Ad
NativeAd
A NativeAd for the FirebaseAdMobPlugin. [...]
RewardedVideoAd
An AdMob rewarded video ad. [...]

Enums

AdSizeType
AnchorType
MobileAdEvent
MobileAd status changes reported to MobileAdListeners. [...]
MobileAdGender
The user's gender for the sake of ad targeting using MobileAdTargetingInfo.
RewardedVideoAdEvent
RewardedVideoAd status changes reported to RewardedVideoAdListeners. [...]

Typedefs

MobileAdListener = void Function(MobileAdEvent event)
Signature for a MobileAd status change callback.
RewardedVideoAdListener = void Function(RewardedVideoAdEvent event, {int rewardAmount, String rewardType})
Signature for a RewardedVideoAd status change callback. The optional parameters are only used when the RewardedVideoAdEvent.rewarded event is sent, when they'll contain the reward amount and reward type that were configured for the AdMob ad unit when it was created. They will be null for all other events.
RewardListener = void Function(String rewardType, int rewardAmount)
Signature for a AdError status change callback.