loadRewardedInterstitialAdTurbo method

Future<void> loadRewardedInterstitialAdTurbo({
  1. required String adUnitId,
  2. List<String>? keywords,
  3. String? contentUrl,
  4. List<String>? neighboringContentUrls,
  5. bool? nonPersonalizedAds,
  6. int? httpTimeoutMillis,
  7. String? mediationExtrasIdentifier,
  8. Map<String, String>? extras,
  9. required GenericAdEventCallback<RewardedInterstitialAd> onAdLoaded,
  10. required FullScreenAdLoadErrorCallback onAdFailedToLoad,
})

Implementation

Future<void> loadRewardedInterstitialAdTurbo({
  required String adUnitId,
  List<String>? keywords,
  String? contentUrl,
  List<String>? neighboringContentUrls,
  bool? nonPersonalizedAds,
  int? httpTimeoutMillis,
  String? mediationExtrasIdentifier,
  Map<String, String>? extras,
  required GenericAdEventCallback<RewardedInterstitialAd> onAdLoaded,
  required FullScreenAdLoadErrorCallback onAdFailedToLoad,
}) async {
  RewardedInterstitialAd.load(
      adUnitId: adUnitId,
      request: AdRequest(
          keywords: keywords,
          contentUrl: contentUrl,
          neighboringContentUrls: neighboringContentUrls,
          nonPersonalizedAds: nonPersonalizedAds,
          httpTimeoutMillis: httpTimeoutMillis,
          mediationExtrasIdentifier: mediationExtrasIdentifier,
          extras: extras),
      rewardedInterstitialAdLoadCallback: RewardedInterstitialAdLoadCallback(
          onAdLoaded: onAdLoaded, onAdFailedToLoad: onAdFailedToLoad));
}