AATKit Cordova 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
        • initWithConfiguration
        • reconfigure
        • configureDebugScreen
        • getVersion
        • showConsentDialogIfNeeded
        • showConsentDialogIfNeededOrRejected
        • editConsent
        • reloadConsent
        • isConsentOptIn
        • setDebugEnabled
        • setDebugShakeEnabled
        • getDebugInfo
        • enableCreativeHistory
        • setNetworkEnabled
        • isNetworkEnabled
        • setIsChildDirected
        • createPlacement
        • createRewardedVideoPlacement
        • createAppOpenAdPlacement
        • setCollapsibleBannerOptions
        • reloadPlacement
        • reloadPlacementForced
        • startPlacementAutoReload
        • stopPlacementAutoReload
        • muteVideoAds
        • hasAdForPlacement
        • isFrequencyCapReachedForPlacement
        • addPlacementToView
        • removePlacementFromView
        • setPlacementAlignment
        • setPlacementAlignmentWithOffset
        • setPlacementPosition
        • setPlacementContentGravity
        • showPlacement
        • setTargetingInfo
        • setTargetingInfoForPlacement
        • setContentTargetingUrl
        • setContentTargetingUrlForPlacement
        • setMultiContentTargetingUrls
        • addAdNetworkForKeywordTargeting
        • removeAdNetworkForKeywordTargeting
        • setUserTargeting
        • isTablet
        • maximumBannerSizePortrait
        • maximumBannerSizeLandscape
        • fittingBannerSizesPortrait
        • fittingBannerSizesLandscape
        • getAdInfo
      • Events
        • aatkitHaveAd
        • aatkitNoAd
        • aatkitShowingEmpty
        • aatkitPauseForAd
        • aatkitResumeAfterAd
        • aatkitUserEarnedIncentive
        • aatkitObtainedAdRules
        • managedConsentNeedsUserInterface
        • managedConsentCMPFinished
        • managedConsentCMPFailedToLoad
        • managedConsentCMPFailedToShow
      • Statistics Events
        • countedAdSpace
        • countedRequest
        • countedResponse
        • countedImpression
        • countedVimpression
        • countedNimpression
        • countedDirectDealImpression
        • countedClick
      • Other
        • Configuration JSON
        • DebugScreenConfiguration
        • Networks list
        • Banner sizes
Powered by GitBook
On this page
  • Overview
  • Syntax
  • Examples
  1. Other
  2. Reference
  3. Functions

showPlacement

Overview

Shows interstitial ad if ad is ready.

Syntax

showPlacement(placementName, callback)

placementName (REQUIRED)

string Unique name of placement. The same name will be used in gravite.net account.

callback (REQUIRED)

Callback<Boolean> Used to provide the function call result to JavaScript.

Parameters:

  • Boolean - True if showing interstitial was successful, false otherwise.

Examples

AATKitCordova.showPlacement("Fullscreen", function(interstitialShown) {console.log("interstitialShown " + interstitialShown);});
PrevioussetPlacementContentGravityNextsetTargetingInfo

Last updated 7 months ago