mobile app monetization - ad network integration
TRANSCRIPT
GETTING AD NETWORK SDK
Download Ad Network SDK https
://developers.google.com/mobile-ads-sdk/download#download
ADDING AD NETWORK SDK TO PROJECT
Right-click on your project in Xcode, choose Add Files to “Your project”
ADDING AD NETWORK SDK TO PROJECT
Select Java Build Path and the Libraries tab. Click Add External JARs, to add the Google
Mobile Ads JAR
ADDING AD NETWORK SDK TO PROJECT
Select the Order and Export tab Check the Google Mobile Ads JAR to include it
when compiling your project.
ADDING AD NETWORK SDK TO PROJECT
The SDK requires that com.google.ads.AdActivity be declared in your app's AndroidManifest.xml:
ADDING AD NETWORK SDK TO PROJECT
Making ad requests requires the networking permissions INTERNET and ACCESS_NETWORK_STATE, so these must also be declared in the manifest:
ADDING REQUIRED FRAMEWORKS
Add required frameworks for Ad Network SDK For AdMob these frameworks are required:
AdSupport AudioToolbox AVFoundation CoreGraphics CoreTelephony MessageUI StoreKit SystemConfiguration
CONFIGURING BUILD SETTINGS Set any build settings if required.
For AdMob, add -ObjC to the Other Linker Flags of your application target's build setting:
BEST PRACTICES FOR AD NETWORK INTEGRATION
Use an ad network SDK which provides mediation for other ad networks (Ex: OperaMediaWorks and MoPub) Results in higher fill rates Less development effort is required
Respect user privacy Limit Ad Tracking on iOS Bad practice to request user location only for ad
targeting
BEST PRACTICES FOR AD NETWORK INTEGRATION
Manage free and paid apps Set the app to be a “Library” Create two new apps (“Free” and “Pro”), that
reference that library Configure the Manifests of those apps to “know”
about all the activities in the library Add ad network library Change the layouts in the library to have an
empty “LinearLayout” (Ad space) Write a function that can insert an AdView into a
LinearLayout, based on a “isAd” global public static boolean
BEST PRACTICES FOR AD NETWORK INTEGRATION
Avoid displaying different ads on each screen of app Increases number of ad impressions Reduces network activity
Pre-fetch interstitial ads Improves user experience