AATKit
Types
Defines possible positions for AdChoices icon for Google native ads.
Notifies about placement reporting events, like counted adspace, request etc.
Functions
Adds an ad network to the list of ad networks that receive targeting keywords (if any set). If no ad networks are added, any set keywords will be delivered to all ad networks supporting keyword targeting.
Used to configure the debug screen presentation
Creates a new App Open Ad placement. If the App Open Ad placement of given name already exists, it will be returned.
Creates a new automatically loading banner placement. If the banner placement of given name and size already exists, it will be returned.
Creates a new automatically loading multisize banner placement. If the banner placement of given name already exists, it will be returned.
Creates a cache of automatically preloaded banner ads. The cache will always try to have a defined amount of banners available for immediate handout to the app whenever they are needed. The BannerCache needs to be destroyed when no longer needed.
Creates a new fullscreen placement. If the fullscreen placement of given name already exists, it will be returned.
Creates a new infeed banner placement. If the banner placement of given name already exists, it will be returned.
Creates a new native ad placement. If the native ad placement of given name already exists, it will be returned.
Creates a new rewarded video placement. If the rewarded video ad placement of given name already exists, it will be returned.
Disables the debug screen appearing after shaking the device. It is enabled by default.
Enables debug screen that will show after shaking the device. It is already enabled by default.
Returns the set of BannerSize that will fit on a given device in landscape screen orientation.
Returns the set of BannerSize that will fit on a given device in portrait screen orientation.
Used for obtaining debug information (the same that would be presented in dialog after shaking the device if debug screen is enabled)
Returns the log level used by AATKit. Note that the used log level does not have to come from setLogLevel, as it can also be influenced by server configs and adb shell setprop method.
Initializes the AATKit library. Should be called once during application initialization before any other calls to AATKit.
Checks if consent is of opt-in type (like GDPR) or not
Returns true if ad network is enabled, false otherwise.
Convenience method for checking if option is enabled in AATKit. Options can be obtained from the server or set using the setOption method.
Returns the BannerPlacementSize with maximum width that will fit on a given device in landscape screen orientation.
Returns the BannerPlacementSize with maximum width that will fit on a given device in portrait screen orientation.
Allows to mute video ads.
Notifies AATKit about activity pause. Invoke this method in every activity that uses AATKit.
Notifies AATKit about activity resume. Invoke this method in every activity that uses AATKit.
Allows to reconfigure the options for GDPR consent.
Removes an ad network from the list of ad networks that receive targeting keywords (if any set). If no ad networks are added to the list, any set keywords will be delivered to all ad networks supporting keyword targeting.
Allows to set the desired position of AdChoices icon in Google native ads. Set null to use the ad network's default.
Sets the content targeting url for the application. This information will be used only if no placement-specific targeting is available.
Sets custom targeting key used for DFP Bidding.
Sets custom targeting values used for DFP Bidding.
Allows to set if app should be treated as child-directed.
Allows to set log level from code.
Allows to enable or disable selected ad networks. By default all networks are enabled.
Sets the user targeting information for the application.
Shows AATKit debug screen.