addInterstitialConfiguration abstract method
Adds an interstitial configuration to the SDK.
configurationId Configuration ID.
interstitialUnitId Unit ID from the manager.
interstitialConfigId Config ID from the manager.
autoRefreshMillis Ad auto-refresh timer (default = 30000 millis / 30 seconds).
isCapped Whether ad is capped (default = false).
adAmountPerTimeSlot Capping amount of ads per time slot (default = 1).
timeSlotSize Size of the time slot (default = 3600000 millis / 1 hour).
keywords Advertisement keywords for better targeting.
unitFPID This is for adding specific first-party data to the unit.
closeButtonIsActive Activate ad close button (default = false).
closeButtonImageURL URL of custom icon for ad close button.
wrapperWrapContent Wrap r89Wrapper around the content (ad).
wrapperMatchParentHeight Match r89Wrapper height with publisher's wrapper height.
wrapperMatchParentWidth Match r89Wrapper width with publisher's wrapper width.
wrapperHeight Change r89Wrapper's height in dp.
wrapperWidth Change r89Wrapper's width in dp.
wrapperPosition Change r89Wrapper's position inside of publisher's wrapper (WrapperPosition.CENTER/START/END/TOP/BOTTOM).
Implementation
void addInterstitialConfiguration({
required String configurationId,
required String interstitialUnitId,
required String interstitialConfigId,
int autoRefreshMillis = 30000,
bool isCapped = false,
int adAmountPerTimeSlot = 1,
int timeSlotSize = 3600000,
List<String>? keywords,
Map<String, Set<String>>? unitFPID,
});