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
  1. Ad Networks

Google Mobile Ads SDK

Last updated 6 months ago

Google requires their app-ID to be declared in the manifest. Please follow . In order to get the Google app-ID for you app, either find it within your own AdMob or AdManager account or contact our .

Google App-ID Key

Follow to add your Google app-ID key to the Manifest file.

AdMob Maximum Inline Banners Height

You can set the maximum height for AdMob inline adaptive banners by:

  • Create an instance of passing .

  • Pass the instance to the while initialising AATKit.

AATKitConfiguration conf = new AATKitConfiguration(this);
AATKitAdNetworkOptions networkOptions = new AATKitAdNetworkOptions();
// [...]
AdMobOptions adMobOptions = new AdMobOptions(50);

networkOptions.setAdMobOptions(adMobOptions);
conf.setAdNetworkOptions(networkOptions);
// [...]
AATKit.init(conf);
val conf = AATKitConfiguration(this)
val networkOptions = AATKitAdNetworkOptions()
// [...]
val adMobOptions = AdMobOptions(50)

networkOptions.adMobOptions = adMobOptions
conf.adNetworkOptions = networkOptions
// [...]
AATKit.init(conf)

DFP Maximum Inline Banners Height

You can set the maximum height for DFP inline adaptive banners by:

AATKitConfiguration conf = new AATKitConfiguration(this);
AATKitAdNetworkOptions networkOptions = new AATKitAdNetworkOptions();
// [...]
DFPOptions dfpOptions = new DFPOptions(50);

networkOptions.setDfpOptions(dfpOptions);
conf.setAdNetworkOptions(networkOptions);
// [...]
AATKit.init(conf);
val conf = AATKitConfiguration(this)
val networkOptions = AATKitAdNetworkOptions()
// [...]
val dfpOptions = DFPOptions(50)

networkOptions.dfpOptions = dfpOptions
conf.adNetworkOptions = networkOptions
// [...]
AATKit.init(conf)

Create an instance of passing .

Pass the instance to the while initialising AATKit.

these instructions
support
Google documentation
AATKitAdNetworkOptions
AdMobOptions
AATKitConfiguration
AATKitAdNetworkOptions
DFPOptions
AATKitConfiguration