addVideoInterstitialConfiguration abstract method
Adds a video interstitial configuration to the SDK.
configurationId Configuration ID.
videoInterstitialUnitId Video interstitial unit ID from the manager.
videoInterstitialConfigId Video interstitial 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.
Implementation
void addVideoInterstitialConfiguration({
required String configurationId,
required String videoInterstitialUnitId,
required String videoInterstitialConfigId,
int autoRefreshMillis = 30000,
bool isCapped = false,
int adAmountPerTimeSlot = 1,
int timeSlotSize = 3600000,
List<String>? keywords,
Map<String, Set<String>>? unitFPID,
});