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

isFrequencyCapReachedForPlacement

Overview

Checks if desired impression cap (set on Gravite Dashboard) is reached for given fullscreen or rewarded video placement. Note: this method will ALWAYS return false for other placement types.

Syntax

isFrequencyCapReachedForPlacement(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 desired impression cap is reached, false otherwise.

Examples

AATKitCordova.isFrequencyCapReachedForPlacement("Fulscreen", (capReached) => {
                console.log("capReached" + capReached);
            });
PrevioushasAdForPlacementNextaddPlacementToView

Last updated 2 years ago