forInterstitialAd
fun forInterstitialAd(position: String, orientation: Int = Configuration.ORIENTATION_UNDEFINED): NimbusRequest
Helper method to generate a request to fill an interstitial ad.
The returned builder must have the sessionId and api key set on it. The interstitial banner object created by this helper defaults to the Portrait orientation of an interstitial ad format but can reset the format if the orientation of the device changes between the construction of this object and when the request is made.
Parameters
position
Any unique identifier for the ad unit
orientation
If set to ORIENTATION_PORTRAIT or ORIENTATION_LANDSCAPE forces the orientation of the interstitial format size to the supplied parameter.