pune mobile developers
DESCRIPTION
Pune Mobile Developers. Ad Network Integration 17 th May, 2014. Agenda. Integrating third party ad network SDKs . Agenda. Integrating third party ad network SDKs Best practices for ad network integration. getting Ad Network sdk. First step is to signup for an Ad Network SDK. - PowerPoint PPT PresentationTRANSCRIPT
PUNE MOBILE DEVELOPERS
Ad Network Integration17th May, 2014
AGENDA
Integrating third party ad network SDKs
AGENDA
Integrating third party ad network SDKs Best practices for ad network integration
GETTING AD NETWORK SDK
First step is to signup for an Ad Network SDK
GETTING AD NETWORK SDK
Download Ad Network SDK
GETTING AD NETWORK SDK
Download Ad Network SDK https
://developers.google.com/mobile-ads-sdk/download#download
GETTING AD NETWORK SDK
Downloaded package structure
GETTING AD NETWORK SDK
Downloaded package structure
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 all the files from except “Add-ons” directory
ADDING AD NETWORK SDK TO PROJECT
Right click on your app project in Eclipse and choose Properties
ADDING AD NETWORK SDK TO PROJECT
Select Java Build Path and the Libraries tab.
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
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 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 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
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:
REQUESTING AD Import Ad view class
REQUESTING AD Import Ad view class
REQUESTING AD Import Ad view class
REQUESTING AD Create ad view
REQUESTING AD Create ad view Specify ad size
REQUESTING AD Create ad view Specify ad size Specify Ad Unit ID
REQUESTING AD Create ad view Specify ad size Specify Ad Unit ID
REQUESTING AD
Add Ad View to UI
REQUESTING AD
Add Ad View to UI
REQUESTING AD
Add Ad View to UI
REQUESTING AD
Make ad request
REQUESTING AD
Make ad request
REQUESTING AD
Make ad request
AD REQUEST SUCCESSFUL
AD REQUEST SUCCESSFUL
TRACKING AD LIFECYCLE EVENTS Handle callbacks to improve user experience
TRACKING AD LIFECYCLE EVENTS Handle callbacks to improve user experience
TRACKING AD LIFECYCLE EVENTS Handle callbacks to improve user experience
TESTING ADS You should utilize test ads during
development to avoid generating false impressions.
TESTING ADS You should utilize test ads during
development to avoid generating false impressions.
TESTING ADS You should utilize test ads during
development to avoid generating false impressions.
TARGETING Target ads based on user’s information and
interest
TARGETING Target ads based on user’s information and
interest
TARGETING Target ads based on user’s information and
interest
BEST PRACTICES FOR AD NETWORK INTEGRATION
Use a ad network SDK which provides mediation for other ad networks (Ex: OperaMediaWorks and MoPub)
BEST PRACTICES FOR AD NETWORK INTEGRATION
Use a ad network SDK which provides mediation for other ad networks (Ex: OperaMediaWorks and MoPub) Results in higher fill rates
BEST PRACTICES FOR AD NETWORK INTEGRATION
Use a ad network SDK which provides mediation for other ad networks (Ex: OperaMediaWorks and MoPub) Results in higher fill rates Less development effort is required
BEST PRACTICES FOR AD NETWORK INTEGRATION
Use a 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
BEST PRACTICES FOR AD NETWORK INTEGRATION
Use a 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
BEST PRACTICES FOR AD NETWORK INTEGRATION
Use a 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
BEST PRACTICES FOR AD NETWORK INTEGRATION
Manage free and paid apps Set the app to be a “Library”
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
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
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
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)
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
BEST PRACTICES FOR AD NETWORK INTEGRATION
Avoid displaying different ads on each screen of app Increases number of ad impressions
BEST PRACTICES FOR AD NETWORK INTEGRATION
Avoid displaying different ads on each screen of app Increases number of ad impressions Reduces network activity
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
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