AATKit Ionic Integration
Release Notes
  • Start
    • Setup
    • Initialization
    • App Tracking Transparency
    • Google Mobile Ads SDK
    • Consent
      • Managed Consent
      • Vendor Consent
      • Simple Consent
  • Formats
    • Banner
    • Fullscreen (Interstitial)
    • Rewarded Video
  • Other
    • Reference
      • Functions
        • initialize
        • reconfigure
        • setLogLevel
        • configureDebugScreen
        • enableDebugScreen
        • disableDebugScreen
        • setIsChildDirected
        • showConsentDialogIfNeeded
        • showConsentDialogIfNeededOrRejected
        • editConsent
        • reloadConsent
        • createPlacement
        • createRewardedVideoPlacement
        • reloadPlacement
        • startPlacementAutoReload
        • stopPlacementAutoReload
        • showPlacement
        • addPlacementToView
        • removePlacementFromView
        • setPlacementAlignment
        • setPlacementAlignmentWithOffset
        • isTablet
        • maximumBannerSizeLandscape
        • maximumBannerSizePortrait
        • fittingBannerSizesPortrait
        • fittingBannerSizesLandscape
        • setCollapsibleBannerOptions
        • setMultiContentTargetingUrlsForPlacement
        • getAdInfo
        • enableCreativeHistory
        • setUserTargeting
      • Interfaces
        • AATKitDebugScreenConfiguration
        • AATKitAdNetworkOptions
        • AATKitConfiguration
        • AATKitConsent
        • AATKitCollapsibleBannerOptions
        • AATKitAdInfo
      • Events
        • onHaveAd
        • onNoAd
        • onPauseForAd
        • onResumeAfterAd
        • onUserEarnedIncentive
        • aatkitObtainedAdRules
        • managedConsentNeedsUserInterface
        • managedConsentCMPFinished
        • managedConsentCMPFailedToShow
        • managedConsentCMPFailedToLoad
Powered by GitBook
On this page
  1. Formats

Fullscreen (Interstitial)

Integrate fullscreen ads

PreviousBannerNextRewarded Video

Last updated 1 year ago

Usage

To create fullscreen placement, call function passing placement name and the size as Fullscreen. Please note that the placement name has to be constant after once defined and cannot change with every app restart. Next you can reload placement using function. Also it's possible to let fullscreen ad be auto-reloaded by calling . When fullscreen ad is loaded, you can show it calling function. Plugin provides callbacks which might be useful, for example to get notified when fullscreen ad is loaded. See the example of using fullscreen ads below.

AATKitIonic.createPlacement({placementName: "FullscreenPlacement", placementSize: "Fullscreen"});

document.addEventListener('onHaveAd', (data: any) => {
    console.log('onHaveAd ' + data.placementName);
    if(data.placementName == "FullscreenPlacement") {
        AATKitIonic.showPlacement({placementName: "FullscreenPlacement"});
    }
  }
);
createPlacement
reloadPlacement
startPlacementAutoReload
showPlacement