Fullscreen (Interstitial)

Integrate fullscreen ads

Create placement

To create fullscreen placement, call createFullscreenPlacement method:

_aatKitBinding.createFullscreenPlacement();

You can change the placement name if needed:

AATKitBinding.kt
    //Change placement name if needed
    private val fullscreenPlacementName = "fullscreenPlacement"
    private var fullscreenPlacement: FullscreenPlacement? = null
AATKitBinding.swift
    //Change placement name if needed
    private let fullscreenPlacementName = "fullscreenPlacement"
    private var fullscreenPlacement: AATFullscreenPlacement? = nil

Reload placement

Start auto-reloading placement by calling:

_aatKitBinding.startFullscreenAutoReload();

Stop auto-reloading placement by calling:

_aatKitBinding.stopFullscreenAutoReload();

Show placement

When fullscreen ad is loaded, you can show it:

_aatKitBinding.showFullscreen();

Last updated