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
  • Introduction
  • Usage
  1. Start
  2. Consent

Simple Consent

Handle consent using AATKit simple consent

Introduction

To set if the user has given or withheld consent for the collection and use of personal data (used for non-IAB partners), use the SimpleConsent.

Usage

To define if the user has given or withheld consent for the collection and use of personal data (used for non-IAB partners) set configuration type parameter as RNAatkit.ConsentType_SimpleConsent and use nonIABConsent parameter as:

  • RNAatkit.SimpleConsent_Obtained if the user has given the consent.

  • RNAatkit.SimpleConsent_Withheld if the user has declined.

If SimpleConsent is used, it will automatically read the IAB Consent String stored (by third-party CMP) in SharedPreferences (if available).

RNAatkit.initWithConfiguration({
    consent: {
        "type": RNAatkit.ConsentType_SimpleConsent,
        "nonIABConsent": RNAatkit.SimpleConsent_Obtained,
    }
})
PreviousVendor ConsentNextFormats

Last updated 2 years ago