AATKit React Native Integration
Release Notes
  • Start
    • Setup
    • Expo
    • Initialization
    • App Tracking Transparency
    • Google Mobile Ads SDK
    • Consent
      • Managed Consent
      • Vendor Consent
      • Simple Consent
  • Formats
    • Banner
    • In-Feed Banner
    • Fullscreen (Interstitial)
    • Rewarded Video
    • Native Ad
  • Other
    • Banner Reuse
    • Screens Navigation
    • Reference
      • RNAatkit
        • Functions
          • initWithConfiguration
          • initWithConfigurationAndCallback
          • reconfigureUsingConfiguration
          • configureDebugScreen
          • createPlacement
          • createRewardedVideoPlacement
          • createInFeedBannerPlacement
          • setCollapsibleBannerOptions
          • inFeedBannerViewWillDisappear
          • reloadPlacement
          • startPlacementAutoReload
          • stopPlacementAutoReload
          • reloadPlacementForced
          • reloadAllInFeedBannerComponents
          • reloadLastInFeedBannerComponent
          • reloadConcreteInFeedBannerComponents
          • getInFeedBannerComponentsCount
          • setBannerSizesForInFeedBannerPlacement
          • cancelReloadingInFeedBannerPlacement
          • countAdSpaceForInFeedBannerPlacement
          • showPlacement
          • setDebugEnabled
          • setDebugShakeEnabled
          • setPlacementContentGravity
          • setNetworkEnabled
          • getDebugInfo
          • setIsChildDirected
          • isNetworkEnabled
          • hasAdForPlacement
          • isFrequencyCapReachedForPlacement
          • preparePromo
          • showPromo
          • showConsentDialogIfNeeded
          • showConsentDialogIfNeededOrRejected
          • editConsent
          • reloadConsent
          • isConsentOptIn
          • setContentTargetingUrl
          • setUserTargeting
          • setContentTargetingUrlForPlacement
          • addAdNetworkForKeywordTargeting
          • removeAdNetworkForKeywordTargeting
          • setTargetingInfo
          • setTargetingInfoForPlacement
          • setMultiContentTargetingUrlsForPlacement
          • addAdNetworkForKeywordTargetingForInFeedBannerPlacement
          • removeAdNetworkForKeywordTargetingForInFeedBannerPlacement
          • setTargetingInfo
          • setTargetingInfoForPlacement
          • addAdNetworkForKeywordTargetingForInFeedBannerPlacement
          • removeAdNetworkForKeywordTargetingForInFeedBannerPlacement
          • setTargetingInfoForInFeedBannerPlacement
          • showUnifiedNativeAdPlacement
          • isTablet
          • maximumBannerSizePortrait
          • maximumBannerSizeLandscape
          • fittingBannerSizesPortrait
          • fittingBannerSizesPortrait
          • muteVideoAds
          • setImpressionListener
          • getAdInfo
          • [Deprecated] setFullscreenAdsMuted
        • Events
          • AATKitHaveAd
          • AATKitNoAds
          • AATKitPauseForAd
          • AATKitResumeAfterAd
          • AATKitShowingEmpty
          • AATKitUserEarnedIncentive
          • AATKitObtainedAdRules
          • AATKitUnknownBundleId
          • AATKitHaveAdOnMultiSizeBanner
          • managedConsentNeedsUserInterface
          • managedConsentCMPFinished
          • managedConsentCMPFailedToLoad
          • managedConsentCMPFailedToShow
          • countedAdSpace
          • countedRequest
          • countedResponse
          • countedImpression
          • countedVimpression
          • countedNimpression
          • countedDirectDealsImpressionForNetwork
          • countedClick
          • didCountImpression
          • onGetAdInfo
      • RNAatkitBanner
        • Properties
          • name
          • size
          • gravity
          • reloadOnStart
          • autoreload
          • visible
          • creativeHistorySize
        • Methods
          • reloadPlacement
          • reloadPlacementForced
        • Events
          • onHaveAd
          • onHaveAdForPlacementWithBannerView
          • onNoAd
          • onPauseForAd
          • onResumeAfterAd
          • onShowingEmpty
          • onCountedAdSpace
          • onCountedRequest
          • onCountedResponse
          • onCountedImpression
          • onCountedVimpression
          • onCountedNimpression
          • onCountedDirectDealsImpressionForNetwork
          • onCountedClick
      • RNAatkitInFeedBanner
        • Properties
          • name
          • reloadOnStart
          • forceCacheConsuming
        • Events
          • onCreate
          • onShowNewAd
          • onNoAd
      • RNAatkitUnifiedNativeAd
        • Properties
          • name
          • reloadOnStart
          • showTestDataForLayout
          • testData
      • Other
        • Configuration JSON
        • RNAatkitAdNetworkOptions
          • RNAatkitAppNexusOptions
          • RNAatkitPubNativeOptions
          • RNAatkitFeedAdOptions
          • RNAatkitAdMobOptions
          • RNAatkitDFPOptions
          • RNAatkitDatonomyOptions
          • RNAatkitSuperAwesomeOptions
            • RNAatkitSuperAwesomeBannerOptions
            • RNAatkitSuperAwesomeInterstitialAdOptions
            • RNAatkitSuperAwesomeRewardedVideOptions
          • RNAatkitGraviteRTBOptions
          • RNAatkitDisplayIOOptions
        • Ad Networks
        • Banner Sizes
        • RNAatkitDebugScreenConfiguration
Powered by GitBook
On this page
  • Overview
  • Syntax
  • Examples
  1. Other
  2. Reference
  3. RNAatkit
  4. 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 addapptr.com 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

RNAatkit.showPlacement("Fullscreen", (interstitialShown) => {
                console.log("interstitialShown " + interstitialShown);
            });
PreviouscountAdSpaceForInFeedBannerPlacementNextsetDebugEnabled

Last updated 1 year ago