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
  • Data passed by the event
  • Examples
  1. Other
  2. Reference
  3. RNAatkit
  4. Events

AATKitUserEarnedIncentive

Overview

Notifies that placement has earned incentive (by rewarded ads).

Data passed by the event

DATA

JSON object containing information about incentive:

string placementName - Unique name of the placement. The same name will be used in addapptr.com account.

object reward - JSON object containing information about reward. Might not exists if network doesn't return information about reward.

  • string name - name of the reward.

  • string value - value of the reward.

Examples

import RNAatkit from '@addapptr/react-native-aatkit'
import { NativeEventEmitter, NativeModules } from 'react-native';
const aatkitEmitter = new NativeEventEmitter(RNAatkit);

const subscription = aatkitEmitter.addListener(
  'AATKitUserEarnedIncentive',
  (data) => console.log("AATKitUserEarnedIncentive placementName: " + data.placementName + " reward: " + data.reward)
);

PreviousAATKitShowingEmptyNextAATKitObtainedAdRules

Last updated 2 years ago