AATKit Android Integration
Release Notes
  • Start
    • Setup
      • Maven
      • Prerequisites
      • Google Family Safe Apps
    • Initialization
    • Consent
      • General Handling
      • Managed Consent
        • Google CMP
        • Sourcepoint CMP
        • SFBX (AppConsent) CMP
      • Vendor Consent
      • Simple Consent
    • Plugins documentation
    • Additional Information
  • Formats
    • Introduction
    • Banner
      • Auto Load Banner
      • Multi-Size Auto Load Banner
      • Banner Cache
      • Infeed Banner
      • Sticky Banner
      • Multi-Size Banner
    • Fullscreen (Interstitial)
    • AppOpen (Google)
    • Rewarded Video
      • Server-Side Verification (SSV)
    • Native Ad
      • Basic Integration
      • Network Specifics
        • Native Ads: Google
        • Native Ads: ApplovinMax
        • Native Ads: Bluestack
        • Native Ads: FacebookAudienceNetwork
        • Native Ads: Huawei
  • Ad Networks
    • Customize Ad Networks
    • Google Mobile Ads SDK
    • AppLovinMax Ad Review
    • AppNexus special settings
    • FeedAd Shutter Colour and Disabling Spinner
    • Kidoz
  • Advanced
    • Targeting
      • Key-Value Targeting
      • User Targeting
      • Content Targeting URL
    • Frequency Capping
    • Advanced Listeners
      • Reports Delegate
      • Impression Listener (ILRD)
      • Statistics Listener
    • AATKit's Size
    • Ad Space and Fill Rate
    • Shake Debug
    • Child-directed Support
    • Geo Tracking
    • Disabling Ad Networks
    • Huawei Support
    • Creatives History
  • Other
    • AdMob Custom Events
    • Reference
      • Classes
        • AATKit
        • AATKitUserTargeting
        • CollapsibleBannerOptions
        • AATKitDebugScreenConfiguration
        • PlacementDebugInfo
        • AATKitDebugInfo
        • AATKitConfiguration
        • AATKitRuntimeConfiguration
        • ManagedConsent
        • VendorConsent
        • SimpleConsent
        • BannerConfiguration
        • BannerRequest
        • BannerCacheConfiguration
        • AATKitReward
        • NativeAdRating
        • AATKitImpression
        • PriceInfo
        • AdInfo
        • RewardedAdSSVInfo
        • PlacementHistoryInfo
        • AATKitAdNetworkOptions
          • SuperAwesomeOptions
          • FeedAdOptions
          • AppNexusOptions
          • AdMobOptions
          • DFPOptions
      • Interfaces
        • CacheStatusDelegate
        • AATKit.Delegate
        • BannerCache
        • BannerRequestCompletionListener
        • ManagedConsentDelegate
        • VendorConsentDelegate
        • Placement
        • StickyBannerPlacement
        • StickyBannerPlacementListener
        • MultiSizeBannerPlacement
        • MultiSizeBannerPlacementListener
        • InfeedBannerPlacement
        • InfeedBannerPlacementListener
        • BannerRequestDelegate
        • CacheDelegate
        • FullscreenPlacement
        • FullscreenPlacementListener
        • AppOpenAdPlacement
        • AppOpenPlacementListener
        • RewardedVideoPlacement
        • RewardedVideoPlacementListener
        • NativeAdPlacement
        • NativePlacementListener
        • NativeAdData
        • AutoLoadBannerPlacement
        • AutoLoadBannerPlacementListener
        • AutoLoadMultiSizeBannerPlacement
        • AutoLoadMultiSizeBannerPlacementListener
        • ReportsDelegate
        • ImpressionListener
        • StatisticsListener
      • Enumerations
        • AATKitGender
        • AdNetwork
        • ManagedConsentState
        • NonIABConsent
        • BannerPlacementSize
        • BannerSize
        • MediationType
        • ImpressionPricePrecisionType
  • Samples
Powered by GitBook
On this page
  • Enable Shake Debug
  • Disable Shake Debug
  • Customize Shake Debug
  • Retrieve Debug Info
  1. Advanced

Shake Debug

By default, AATKit will display a popup box with information about AATKit’s version and the currently visible ads whenever the device has been heavily shaken by the user. You can disable or enable this behaviour after initializing AATKit.

Debug screen will not be presented on top of fullscreen ads. Instead, once the ad is closed, the debug screen will have information about last presented fullscreen ad.

We encourage to keep the shake debug enabled in order to be able to track down possible bad-quality ads.

Enable Shake Debug

AATKitConfiguration configuration = new AATKitConfiguration(this);
AATKit.init(configuration);
AATKit.enableDebugScreen();
val configuration = AATKitConfiguration(this)
AATKit.init(configuration)
AATKit.enableDebugScreen()

Disable Shake Debug

AATKitConfiguration configuration = new AATKitConfiguration(this);
// to disable shake debug from the very beginning:
configuration.setUseDebugShake(false);
AATKit.init(configuration);
// alternatively, to disable it after initialising AATKit:
AATKit.disableDebugScreen();
val configuration = AATKitConfiguration(this)
// to disable shake debug from the very beginning:
configuration.isUseDebugShake = false
AATKit.init(configuration)
// alternatively, to disable it after initialising AATKit:
AATKit.disableDebugScreen()

Customize Shake Debug

You can control which data should be displayed in the shake debug screen by the following:

AATKitDebugScreenConfiguration debugScreenConfiguration = new AATKitDebugScreenConfiguration(appLogo, "Title");
debugScreenConfiguration.setShowBundleId(true);
debugScreenConfiguration.setShowAvailableNetworks(false);
// configure other available settings as needed
AATKit.configureDebugScreen(debugScreenConfiguration);
val debugScreenConfiguration = AATKitDebugScreenConfiguration(appLogo, "Title")
debugScreenConfiguration.showBundleId = true
debugScreenConfiguration.showAvailableNetworks = false
// configure other available settings as needed
AATKit.configureDebugScreen(debugScreenConfiguration)

Retrieve Debug Info

You can retrieve the debug info that will be displayed on the shake debug screen by using the following API:

// Retrieve debug info as an AATKitDebugInfo instance
AATKitDebugInfo info = AATKit.getDebugInfoObject();
// Retrieve debug info as a string
String debugInfoString = AATKit.getDebugInfo();
// Retrieve debug info as an AATKitDebugInfo instance
val info = AATKit.getDebugInfoObject()
// Retrieve debug info as a string
val debugInfoString = AATKit.debugInfo

Last updated 9 months ago