Wiki
Clone wikiAATKit iOS / AATKit Sample
AATKit Sample
Index:
- Project Setup
- AATKit Initialisation
- Banner Integration
- Fullscreen Integration
- APP Open Integration
- Native Ads Integration
- Native Ads Integration - special ad network characteristics
- Promo Screen
- Sample
- Disable App Transport Security (ATS)
- Advanced Features
- Targeting
- Rewarded Video
- Frequency Capping
- Header documentation
- Important Remarks
- AATKit's Size within your app
- What is an AdSpace?
- Network-specific Information
- Statistics Delegate
- Reports Delegate
- Listen to impression level information
- AATKit AdMob custom events adapter (>= 2.77.x)
AATKit Changelogs
List of Example Projects
1. Showcase App
See how interstitial, rewarded video, native and banner ads are integrated using AATKit. Banner ads are presented as sticky banner, banner in content-feed, and multi size banner.
Download and run the Showcase app like this:
> git clone git@bitbucket.org:addapptr/showcase-ios.git > pod install > open Showcase.xcworkspace
Then: Build and run using Xcode.
2. Demos for special cases
2.1 Advanced example using banner and fullscreen placements on multiple View Controllers
A more advanced demo app including multiple view controllers can be downloaded using git clone:
git clone git@bitbucket.org:addapptr/advancedintegrationdemo.git
2.2 Demo that uses the AdMob SDK directly, and the AATKit as backfill.
This demo tries to fill a banner placement, by directly communicating to the AdMob SDK, and thus bypassing the AddApptr SDK for the very first ad request. The first ad-request to fill the banner placement is sent to Google’s DFP, and in case the first call doesn’t load, the AddApptr SDK gets used for the subsequent call (backfill by AddApptr). You can download the project for Xcode as a clone using git:
git clone git@bitbucket.org:addapptr/dfp_demo_app.git
2.3 Showing an Interstitial from a WKWebView Application
We provide an example project showing the seamless integration of AATKit and WKWebView to communicate to AATKit from an HTML5 based application. You can download the project for Xcode as a clone using git:
git clone git@bitbucket.org:addapptr/webview-interstitial.git
##3. Deprecated Demos ###3.1 See how banner and fullscreen ads are integrated using the AddApptr SDK. You can download the AATKitExample project for Xcode as zip archive or clone it using git clone:
git clone git@bitbucket.org:addapptr/aatkit-ios.git
- initialize AATKit
- create banner placement, add its view to view controller and start downloading ads when it became visible
- create fullscreen placement, wait until fullscreen ad is downloaded and show it
check Methods for details.
###3.2 Create multi size banner placement, exchange it every 30 seconds and adapt it’s view to the changing banner sizes
You can download the project for Xcode as zip archive or clone it using git clone:
zip archive
###3.3 Create a native ad placement (Flurry Demo) You can download the project for Xcode as zip archive or clone it using git clone: zip archive
git clone git@bitbucket.org:addapptr/multisize_banner_demo_ios
# back (Promo Screen) # next (Disable App Transport Security (ATS))git clone git@bitbucket.org:addapptr/ios_native_ad_demo
Updated