App Open Ads

Integrate app open ads

Create placement

To create app open ad placement, call createAppOpenAdPlacement method:

_aatKitBinding.createAppOpenAdPlacement();

You can change the placement name if needed:

AATKitBinding.kt
    //Change placement name if needed
    private val appOpenAdPlacementName = "appOpenAdPlacement"
    private var appOpenAdPlacement: AppOpenAdPlacement? = null
AATKitBinding.swift
    //Change placement name if needed
    private let appOpenAdPlacementName = "appOpenAdPlacement"
    private var appOpenAdPlacement: AATAppOpenAdPlacement? = nil

Reload placement

Start auto-reloading placement by calling:

_aatKitBinding.startAppOpenAdAutoReload();

Stop auto-reloading placement by calling:

_aatKitBinding.stopAppOpenAdAutoReload();

Show placement

When fullscreen ad is loaded, you can show it:

_aatKitBinding.showAppOpenAd();

Last updated