set method
Future<bool>
set({
- String? adUnitId,
- AdRequest? targetInfo,
- List<
String> ? keywords, - String? contentUrl,
- bool? childDirected,
- List<
String> ? testDevices, - bool? nonPersonalizedAds,
- bool? testing,
- double? anchorOffset,
- double? horizontalCenterOffset,
- AdErrorListener? errorListener,
override
Set options for the Interstitial Ad
Implementation
@override
Future<bool> set({
String? adUnitId,
g.AdRequest? targetInfo,
List<String>? keywords,
String? contentUrl,
bool? childDirected,
List<String>? testDevices,
bool? nonPersonalizedAds,
bool? testing,
double? anchorOffset,
double? horizontalCenterOffset,
// AnchorType anchorType,
AdErrorListener? errorListener,
}) {
super.set(
adUnitId: adUnitId,
targetInfo: targetInfo,
keywords: keywords,
contentUrl: contentUrl,
childDirected: childDirected,
testDevices: testDevices,
nonPersonalizedAds: nonPersonalizedAds,
testing: testing,
anchorOffset: anchorOffset,
horizontalCenterOffset: horizontalCenterOffset,
// anchorType: anchorType,
errorListener: errorListener,
);
return loadAd(
show: false,
adUnitId: adUnitId,
targetInfo: targetInfo,
keywords: keywords,
contentUrl: contentUrl,
childDirected: childDirected,
testDevices: testDevices,
testing: testing,
anchorOffset: anchorOffset,
horizontalCenterOffset: horizontalCenterOffset,
// anchorType: anchorType,
);
}