On this page
Open Resume Ad
App open ads are a special ad format intended for publishers wishing to monetize their app load screens. App open ads can be closed at any time, and are designed to be shown when your users bring your app to the foreground.
Should be implemented in the application class.
Here is an example of what a open resume ad looks like:
![]() |
---|
Open Resume Format |
Add activities allowed to open resume ad
To display open resume ad, you need adds an activity to the list of activities that are allowed to show resume ads.
fun addActivityEnableShowResumeAd(vararg activity: Class<*>)
Example
Remove activities allowed to open resume ad
fun removeActivityEnableShowResumeAd(vararg activity: Class<*>)
Example
Enable system to show open resume ad
Enables or disables the display of resume ads in the SDK. If set to true, the SDK will automatically show a resume ad. If set to false, the resume ad feature will be disabled.
Callbacks for Resumed Open Ad
The IKAppOpenAdCallback
handles events related to displaying your Resumed Open Ad
Set callback
fun setAppOpenAdsCallback(callback: IKAppOpenAdCallback)
Example
Remove callback
fun removeAppOpenAdsCallback()