createInterstitialAd method

Future<bool> createInterstitialAd({
  1. String? adUnitId,
  2. AdRequest? targetInfo,
  3. List<String>? keywords,
  4. String? contentUrl,
  5. bool? childDirected,
  6. List<String>? testDevices,
  7. bool? nonPersonalizedAds,
  8. bool? testing,
  9. MobileAdListener? listener,
  10. double? anchorOffset,
  11. double? horizontalCenterOffset,
  12. AdErrorListener? errorListener,
})

Set the Full Screen Ad options.

Implementation

Future<bool> createInterstitialAd({
  String? adUnitId,
  AdRequest? targetInfo,
  List<String>? keywords,
  String? contentUrl,
  bool? childDirected,
  List<String>? testDevices,
  bool? nonPersonalizedAds,
  bool? testing,
  m.MobileAdListener? listener,
  double? anchorOffset,
  double? horizontalCenterOffset,
//    AnchorType anchorType,
  m.AdErrorListener? errorListener,
}) =>
    setFullScreenAd(
      adUnitId: adUnitId,
      targetInfo: targetInfo,
      keywords: keywords,
      contentUrl: contentUrl,
      childDirected: childDirected,
      testDevices: testDevices,
      nonPersonalizedAds: nonPersonalizedAds,
      testing: testing,
      listener: listener,
      anchorOffset: anchorOffset,
      horizontalCenterOffset: horizontalCenterOffset,
      errorListener: errorListener,
    );