myBanner
..load() // typically this happens well before the ad is shown
..show();
// InterstitialAds are loaded and shown in the same way

BannerAd and InterstitialAd objects can be disposed to free up plugin
resources. Disposing a banner ad that's been shown removes it from the screen.
Interstitial ads, however, can't be programatically removed from view.

Banner and interstitial ads can be created with a MobileAdEvent listener. The
listener can be used to detect when the ad has actually finished loading
(or failed to load at all).

Using rewarded video ads

Unlike banners and interstitials, rewarded video ads are loaded one at a time
via a singleton object, RewardedVideoAd.instance. Its load method takes an
AdMob ad unit ID and an instance of MobileAdTargetingInfo:

RewardedVideoAd.instance.load(myAdMobAdUnitId, targetingInfo);

To listen for events in the rewarded video ad lifecycle, apps can define a
function matching the RewardedVideoAdListener typedef, and assign it to the
listener instance variable in RewardedVideoAd. If set, the listener
function will be invoked whenever one of the events in the RewardedVideAdEvent
enum occurs. After a rewarded video ad loads, for example, the
RewardedVideoAdEvent.loaded is sent. Any time after that, apps can show the ad
by calling show:

RewardedVideoAd.instance.show();

When the AdMob SDK decides it's time to grant an in-app reward, it does so via
the RewardedVideoAdEvent.rewarded event:

0.3.2

0.3.1

0.3.0

Breaking change. The properties and parameters named "unitId" in BannerAd
and InterstitialAd have been renamed to "adUnitId" to better match AdMob's
documentation and UI.

0.2.3

Simplified and upgraded Android project template to Android SDK 27.

Updated package description.

0.2.2

Added platform-specific App IDs and ad unit IDs to example.

Separated load and show functionality for interstitials in example.

0.2.1

Use safe area layout to place ad in iOS 11

0.2.0

Breaking change. MobileAd TargetingInfo requestAgent is now hardcoded to 'flutter-alpha'.

0.1.0

Breaking change. Upgraded to Gradle 4.1 and Android Studio Gradle plugin
3.0.1. Older Flutter projects need to upgrade their Gradle setup as well in
order to use this version of the plugin. Instructions can be found
here.