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
  1. Formats

Rewarded Video

Integrate rewarded video ads

PreviousFullscreen (Interstitial)NextOther

Last updated 2 years ago

Usage

The integration steps for rewarded videos are very similar like for other . You will just need to use function. If you’ve used rewarded videos before with the normal fullscreen placement, please make sure to use a different placement name for your new Rewarded placement. When the user watches the rewarded video and incentive is earned, the event is triggered. See the example of using rewarded video ads below.

createFullscreen: function() {
    AATKitCordova.createPlacement("YourPlacementName", "Fullscreen");
},

initialize: function() {
    document.addEventListener('aatkitHaveAd', function(data){ 
        console.log("aatkitHaveAd: " + data.placementName);
        if(data.placementName == "YourPlacementName") {
            AATKitCordova.showPlacement("fullscreenAd", (interstitialShown) => {
                console.log("interstitialShown " + interstitialShown);
            });
        }    
    });

    document.addEventListener('aatkitUserEarnedIncentive', function(data){
        console.log("aatkitUserEarnedIncentive: " + data);
    });
},
fullscreen ads
createRewardedVideoPlacement
aatkitUserEarnedIncentive