Cocoapods
Add AATKit to your app using Cocoapods
CocoaPods is a dependency manager for Xcode projects (Swift and Objective-C). Please refer to cocoapods.org for general information on how to set up Podfiles.
Integration Steps
Make sure you have CocoaPods installed:
gem install cocoapods
.In the terminal app, navigate to the project directory and call
pod init
to create apodfile
.Make sure you have an updated copy of the spec repository:
pod repo update
.In your Podfile, add AATKit like the following (see release notes for the latest stable version):
Make sure you have quit Xcode.
In the terminal app, navigate to the project directory and call
pod install
.Now, open the new Xcode Workspace:
open ProjectName.xcworkspace
.Importing AATKit in the project files:
The above steps describe adding AATKit with all its default ad network SDKs.
Configure Google Ads SDK
Please configure your Google Mobile Ads SDK as described here.
Add An Optional Ad Network
To add an optional ad network, you have to add the following to your Podfile:
AATKit Default and Optional Ad Networks
GraviteRTB
AmazonHB
AATAdMobDSPAdapter (GooglePartnerBidding)
GoogleCMP
Admob (Google AdMob)
BlueStack
AdX (Google AdX)
SuperAwesome
AppLovin
SourcePoint
AppLovinMax
FeedAd
AppNexus
CriteoSDK
PubNative
DFP (Google AdManager)
Inmobi
OguryAds
Prebid
Smaato
SmartAdServer
Unity
Vungle
YOC
Tappx
IronSource
Mintegral
Remove ad network SDKs
If you would like to remove some ad network SDKs, you need to add AATKit’s core functionality plus the ad networks you’d like to use explicitly. Thus, unwanted ad networks are not getting included. Instead of using the above-mentioned single line pod 'AATKit', '<AATKit_VERSION>'
entry, please enter something like the following example:
The above example will include AATKit-Core, Admob, SmartAd and Facebook SDKs only. It will exclude all other ad network SDKs.
Last updated