showBannerAd static method
Future<String?>
showBannerAd(
- String adId, {
- BannerPosition bannerPosition = BannerPosition.top,
- Callback? onAdImpression,
- Callback? onAdClicked,
- Callback? onAdRewarded,
- FailureCallback? onAdFailed,
- CloseCallback? onAdClosed,
Implementation
static Future<String?> showBannerAd(String adId,
{BannerPosition bannerPosition = BannerPosition.top,
Callback? onAdImpression,
Callback? onAdClicked,
Callback? onAdRewarded,
FailureCallback? onAdFailed,
CloseCallback? onAdClosed}) {
return ShowPlatform.instance.showBannerAd(adId, bannerPosition,
onAdImpression: onAdImpression,
onAdClicked: onAdClicked,
onAdClosed: onAdClosed,
onAdFailed: onAdFailed);
}