forDynamicUnit

fun forDynamicUnit(position: String, addFormats: Set<Format> = setOf(Format.LETTERBOX, Format.HALF_SCREEN), orientation: Int = Configuration.ORIENTATION_UNDEFINED): NimbusRequest

Helper method to generate a request to fill a dynamic ad. Dynamic unit should be rendered inline and includes both, video and banner creative.

Parameters

position

Any unique identifier for the ad unit

orientation

If set to ORIENTATION_PORTRAIT or ORIENTATION_LANDSCAPE forces the orientation of the format size to the supplied parameter.

addFormats

Format Set, defaults to 300x250, 300x600