AATKit Unity 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
    • AATKitSettings Asset
    • AATKitPlaceholderManager
    • Closing the Application
    • Unity 2019.3.X Potential Issue
    • Reference
      • AATKitBinding
        • Properties
          • ScriptLogEnabled
        • Methods
          • Init
          • ReconfigureUsingConfiguration
          • SetDebugEnabled
          • SetDebugShakeEnabled
          • EnableCreativeHistory
          • GetVersion
          • GetDebugInfo
          • IsNetworkEnabled
          • SetNetworkEnabled
          • ShowConsentDialogIfNeeded
          • ShowConsentDialogIfNeededOrRejected
          • EditConsent
          • ReloadConsent
          • IsConsentOptIn
          • SetUserTargeting
          • CreatePlacement
          • CreatePlacement
          • CreateAppOpenAdPlacement
          • StartPlacementAutoReload
          • StopPlacementAutoReload
          • ReloadPlacement
          • ReloadPlacementForced
          • HasAdForPlacement
          • SetImpressionAction
          • AddPlacementToView
          • RemovePlacementFromView
          • StartPlacementAutoReloadWithSeconds
          • SetPlacementAlignment
          • SetPlacementAlignmentWithOffsetInPixels
          • SetPlacementAlignmentWithOffset
          • SetPlacementPositionInPixels
          • SetPlacementPosition
          • SetPlacementContentGravity
          • ShowPlacement
          • SetReAddingPlacementOnResumeEnabled
          • IsFrequencyCapReachedForPlacement
          • MuteVideoAds
          • SetMultiSizeAlignment
          • SetMultiSizeAlignmentWithOffset
          • SetMultiSizePosition
          • AddAdNetworkForKeywordTargeting
          • RemoveAdNetworkForKeywordTargeting
          • SetIsChildDirected
          • SetTargetingInfo
          • SetTargetingInfo (for placement)
          • SetMultiContentTargetingUrls
          • SetContentTargetingUrl
          • SetContentTargetingUrl (for placement)
          • GetScale
          • GetNativeScale
          • SetCollapsibleBannerOptions
          • ConfigureDebugScreen
          • GetAdInfo
        • Delegates
          • OnHaveAd
          • OnHaveAdOnMultiSizeBanner
          • OnNoAd
          • OnPauseForAd
          • OnResumeAfterAd
          • OnUserEarnedIncentive
          • OnObtainedAdRules
          • OnManagedConsentNeedsUserInterface
          • OnManagedConsentCMPFinished
          • OnManagedConsentCMPFailedToLoad
          • OnManagedConsentCMPFailedToShow
      • Other
        • AATKitConfiguration
        • AATKitConsent
        • AATKitDebugScreenConfiguration
        • AATKitAdNetworkOptions
          • AATKitAdMobOptions
          • AATKitAppNexusOptions
          • AATKitDFPOptions
          • AATKitFeedAdOptions
          • AATKitDatonomyOptions
          • AATKitGraviteRTBOptions
          • AATKitSuperAwesomeOptions
            • AATKitSuperAwesomeBannerOptions
            • AATKitSuperAwesomeInterstitialAdOptions
            • AATKitSuperAwesomeRewardedVideOptions
          • AATKitDisplayIOOptions
        • IAATKitStatisticsListener
Powered by GitBook
On this page
  • Introduction
  • Usage
  1. Start
  2. Consent

Vendor Consent

Handle consent using AATKit vendor consent

Introduction

You should consider using AATKit’s Vendor Consent, in case you want to utilize a CMP that AATKit has not yet adapted with its ManagedConsent. In that case, you might want to pass individual consents (coming from your CMP) to specific non-IAB compliant ad networks/vendors.

Usage

To use it, you need to initialize AATKit with consent type set as AATKitConsent.ConsentTypes.Vendor, Also you should pass the list of networks which should have consent set as obtained. AATKit will set consent as withheld for another networks.

AATKitConfiguration aatkitConfiguration = new AATKitConfiguration
{
    ConsentRequired = true,
    Consent = new AATKitConsent()
    {
        Type = AATKitConsent.ConsentTypes.Vendor,
        ConsentForAddapptr = AATKitConsent.NonIABConsentType.Obtained,
        VendorConsentObtainedNetworks = new List<AATKitBinding.AdNetwork> {
            AATKitBinding.AdNetwork.ADCOLONY,
            AATKitBinding.AdNetwork.ADMOB,
            AATKitBinding.AdNetwork.DFP,
            AATKitBinding.AdNetwork.UNITYADS
        }
    }
};
PreviousManaged ConsentNextSimple Consent

Last updated 1 year ago