addVideoOutStreamBannerConfiguration abstract method
- {required String configurationId,
- required String outStreamUnitId,
- required String outStreamConfigId,
- required AdSize size,
- int autoRefreshMillis = 30000,
- bool isCapped = false,
- int adAmountPerTimeSlot = 1,
- int timeSlotSize = 3600000,
- List<
String> ? keywords, - Map<
String, Set< ? unitFPID,String> > - bool closeButtonIsActive = false,
- String? closeButtonImageURL,
- bool wrapperWrapContent = true,
- bool wrapperMatchParentHeight = false,
- bool wrapperMatchParentWidth = false,
- int wrapperHeight = -1,
- int wrapperWidth = -1,
- WrapperPosition wrapperPosition = WrapperPosition.center}
Adds a video banner configuration to the SDK.
configurationId Configuration ID.
outStreamUnitId Unit ID from the manager.
outStreamConfigId Config ID from the manager.
size Size of the video outstream banner in pixels.
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.
wrapperWidth Change r89Wrapper's width.
wrapperPosition Change r89Wrapper's position inside of publisher's wrapper (WrapperPosition.CENTER/START/END/TOP/BOTTOM).
Implementation
void addVideoOutStreamBannerConfiguration({
required String configurationId,
required String outStreamUnitId,
required String outStreamConfigId,
required AdSize size,
int autoRefreshMillis = 30000,
bool isCapped = false,
int adAmountPerTimeSlot = 1,
int timeSlotSize = 3600000,
List<String>? keywords,
Map<String, Set<String>>? unitFPID,
bool closeButtonIsActive = false,
String? closeButtonImageURL,
bool wrapperWrapContent = true,
bool wrapperMatchParentHeight = false,
bool wrapperMatchParentWidth = false,
int wrapperHeight = -1,
int wrapperWidth = -1,
WrapperPosition wrapperPosition = WrapperPosition.center,
});