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
  • 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
  • Other Platforms
Powered by GitBook
On this page
  1. Other
  2. Reference
  3. Classes

AATConfiguration

@objc
public class AATConfiguration {
    /// Set this parameter to listen to ``AATDelegate`` callbacks.
    @objc public weak var delegate: AATDelegate?
    
    /// A Bool that indicates whether to the consent is required or not. True by default.
    @objc public var consentRequired: Bool

    /// An instance of ``AATConsentImplementation``. Could be ``AATManagedConsent``, ``AATSimpleConsent`` or ``AATVendorConsent``
    @objc public var consent: AATConsentImplementation?

    /// A bool that indicates whether the location is used or not. False by default
    @objc public var isUseGeoLocation: Bool

    /// A Bool that indicates whether to cache the downloaded rules or not.
    @objc public var shouldCacheRules = true

    /// A Bool that indicates whether to skip ad networks that has no consent or not. For more information, visit [Rules Skipping](https://addapptr.gitbook.io/ios-integration/start/consent/general-handling#rule-skipping).
    @objc public var shouldSkipRules = false

    /// A string that represents the test app bundleID. **Don't forget to remove it before going live**.
    @objc public var alternativeBundleId: String?

    /// A Bool that indicates whether to use the ``alternativeBundleId`` in the reporting or not.
    @objc public var shouldReportUsingAlternativeBundleId = true

    /// An NSNumber that represents the test account ID that enables you to test your AATKit integration. **Don't forget to remove it before going live**. For more information, see [AATKit Test Mode](https://addapptr.gitbook.io/ios-integration/start/initialization#test-mode).
    @objc public var testModeAccountId: NSNumber?

    /// A Bool that enables/disables the shake debug screen. True by default. For more information, visit [AATKit Debug Shake](https://addapptr.gitbook.io/ios-integration/advanced/shake-debug).
    @objc public var useDebugShake = true
}
@interface AATConfiguration
/// Set this parameter to listen to <code>AATDelegate</code> callbacks.
@property (nonatomic, weak) id <AATDelegate> _Nullable delegate;

/// A Bool that indicates whether to the consent is required or not. True by default.
@property (nonatomic) BOOL consentRequired;

/// An instance of <code>AATConsentImplementation</code>. Could be <code>AATManagedConsent</code>, <code>AATSimpleConsent</code> or <code>AATVendorConsent</code>
@property (nonatomic, strong) AATConsentImplementation * _Nullable consent;

/// A bool that indicates whether the location is used or not. False by default
@property (nonatomic) BOOL isUseGeoLocation;

/// A Bool that indicates whether to cache downloaded rules or not.
@property (nonatomic) BOOL shouldCacheRules;

/// A Bool that indicates whether to skip ad networks that has no consent or not. For more information, visit <a href="https://addapptr.gitbook.io/ios-integration/start/consent/general-handling#rule-skipping">Rules Skipping</a>.
@property (nonatomic) BOOL shouldSkipRules;

/// A string that represents the test app bundleID. <em>Don’t forget to remove it before going live</em>.
@property (nonatomic, copy) NSString * _Nullable alternativeBundleId;

/// A Bool that indicates whether to use the <code>AATConfiguration/alternativeBundleId</code> in the reporting or not.
@property (nonatomic) BOOL shouldReportUsingAlternativeBundleId;

/// A NSNumber that represents the test account ID that enables you to test your AATKit integration. <em>Don’t forget to remove it before going live</em>. For more information, see <a href="https://addapptr.gitbook.io/ios-integration/start/initialization#test-mode">AATKit Test Mode</a>.
@property (nonatomic, strong) NSNumber * _Nullable testModeAccountId;

/// A Bool that enables/disables the shake debug screen. True by default. For more information, visit <a href="https://addapptr.gitbook.io/ios-integration/advanced/shake-debug">AATKit Debug Shake</a>.
@property (nonatomic) BOOL useDebugShake;
@end

Last updated 2 years ago