AATKit iOS Integration
Release Notes
  • Start
    • Setup
      • Minimum iOS Version
      • Cocoapods
      • Swift Package Manager
      • AATKit Reporting
      • App Transport Security (ATS)
      • SKAdNetwork
    • 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
      • Asynchronous Infeed Banner
      • Sticky Banner
      • Multi-Size Banner
    • Fullscreen (Interstitial)
    • AppOpen (Google)
    • Rewarded Video
      • Server-Side Verification (SSV)
    • Native Ad
      • Basic Integration
      • Asynchronous Basic Integration
      • Network Specifics
        • Native Ads: Google
        • Native Ads: Applovin
  • Ad Networks
    • Customize Ad Networks
    • Privacy Requirements
    • Google Mobile Ads SDK
    • AppNexus Custom Interstitial Auto Dismiss Delay
    • FeedAd Banner Options
    • AmazonHB
  • Advanced
    • Targeting
      • Key-Value Targeting
      • User Targeting
      • Content Targeting URL
    • Frequency Capping
    • Advanced Delegates
      • Reports Delegate
      • Impression Delegate (ILRD)
      • Statistics Delegate
    • AATKit's Size
    • Ad Space and Fill Rate
    • Shake Debug
    • Publisher Provided ID
    • Child-directed Support
    • Disabling Ad Networks
    • Geo Tracking
    • Ad Quality
    • Creatives History
  • Other
    • AdMob Custom Events
    • Datonomy
    • Reference
      • Classes
        • AATConfiguration
        • AATRuntimeConfiguration
        • AATManagedConsent
        • AATVendorConsent
        • AATSimpleConsent
        • AATAdInfo
        • AATBannerConfiguration
        • AATBannerRequest
        • AATBannerCacheConfiguration
        • AATBannerAlign
        • AATPlacementHistoryInfo
        • AATReward
        • AATRewardedAdSSVInfo
        • AATNativeAdRating
        • AATImpression
        • AATPriceInfo
        • AATAdNetworksOptions
          • AATAppNexusOptions
          • AATFeedAdOptions
          • AATAdMobOptions
          • AATDFPOptions
          • AATDatonomyOptions
        • AATDebugInfo
        • AATDebugScreenConfiguration
        • AATUserTargeting
        • AATCollapsibleBannerOptions
      • Protocols
        • AATDelegate
        • AATManagedConsentDelegate
        • AATVendorConsentDelegate
        • AATPlacement
        • AATStickyBannerPlacement
        • AATStickyBannerPlacementDelegate
        • AATMultiSizeBannerPlacement
        • AATMultiSizeBannerPlacementDelegate
        • AATInfeedBannerPlacement
        • AATInfeedBannerPlacementDelegate
        • AATAsyncInfeedBannerPlacement
        • AATBannerRequestDelegate
        • AATBannerCache
        • AATBannerCacheDelegate
        • AATBannerCacheStatusDelegate
        • AATAutoLoadBannerPlacement
        • AATAutoLoadBannerPlacementDelegate
        • AATAutoLoadMultiSizeBannerPlacement
        • AATAutoLoadMultiSizeBannerPlacementDelegate
        • AATFullscreenPlacement
        • AATFullscreenPlacementDelegate
        • AATAppOpenAdPlacement
        • AATAppOpenPlacementDelegate
        • AATRewardedVideoPlacement
        • AATRewardedVideoPlacementDelegate
        • AATNativeAdPlacement
        • AATNativePlacementDelegate
        • AATAsyncNativeAdPlacement
        • AATNativeAdData
        • AATReportsDelegate
        • AATImpressionDelegate
        • AATStatisticsDelegate
      • Enumerations
        • AATAdNetwork
        • AATGender
        • AATLogLevel
        • AATManagedConsentState
        • NonIABConsent
        • AATBannerPlacementSize
        • AATBannerSize
        • HorizontalAlign
        • VerticalAlign
        • AATMediationType
        • AATImpressionPricePrecisionType
  • Samples
Powered by GitBook
On this page
  1. Ad Networks

Google Mobile Ads SDK

Last updated 5 months ago

Google App ID

  • Google Mobile Ads SDK requires publishers to add their Google app ID to the Info.plist file of their Xcode projects. Please find your Google app ID within your Google account or contact our .

  • Follow to add your Google App ID to the Info.plist file.

Google Partner Bidding

Google bidding is enabled by default. If you are customizing your podfile, you can add Google Partner Bidding dependency by adding the following to your podfile:

pod 'AATKit/AATAdMobDSPAdapter'

AATAdMobDSPAdapter depends on GraviteRTB SDK.

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.

let conf = AATConfiguration()
...
let adMobOptions = AATAdMobOptions(inlineBannerMaxHeight: 50)
conf.adNetworksOptions = AATAdNetworksOptions(adMobOptions: adMobOptions)
...
AATSDK.initAATKit(with: conf)
AATConfiguration *conf = [[AATConfiguration alloc] init];
...
AATAdMobOptions *adMobOptions = [[AATAdMobOptions alloc] initWithInlineBannerMaxHeight:50];
conf.adNetworksOptions = [[AATAdNetworksOptions alloc] initWithAppNexusOptions:nil
                                                                 feedAdOptions:nil
                                                                  adMobOptions:adMobOptions
                                                                    dfpOptions:nil
                                                               datonomyOptions:nil];
...
[AATSDK initAATKitWith:conf];

DFP Maximum Inline Banners Height

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

let conf = AATConfiguration()
...
let dfpOptions = AATDFPOptions(inlineBannerMaxHeight: 50)
conf.adNetworksOptions = AATAdNetworksOptions(dfpOptions: dfpOptions)
...
AATSDK.initAATKit(with: conf)
AATConfiguration *conf = [[AATConfiguration alloc] init];
...
AATDFPOptions *dfpOptions = [[AATDFPOptions alloc] initWithInlineBannerMaxHeight:50];
conf.adNetworksOptions = [[AATAdNetworksOptions alloc] initWithAppNexusOptions:nil
                                                                 feedAdOptions:nil
                                                                  adMobOptions:nil
                                                                    dfpOptions:dfpOptions
                                                               datonomyOptions:nil];
...
[AATSDK initAATKitWith:conf];

Create an instance of passing .

Pass the instance to the while initialising AATKit.

support
Google documentation
AATAdNetworksOptions
AATAdMobOptions
AATConfiguration
AATAdNetworksOptions
AATDFPOptions
AATConfiguration