Introduction to Google Interactive Media Ads

31 / Jul / 2015 by Rahul Agarwal 0 comments

Google IMA SDK provide a solution to publisher who are requesting video ads from the following sources:

  • DoubleClick for Publishers (DFP)
  • Ad Exchange for Video
  • AdSense for Video (AFV) and AdSense for Games (AFG)
  • Third-party ad servers

The Google IMA SDKs are supported on the following platforms:

Platform Version Ad Type
Flash Flash Player 10+ Linear, non-linear and companion ads, DFP video, Ad Exchange video and AFV ads
HTML5 Desktop: Chrome, Firefox 4.0+, Safari 5+, Internet Explorer 11
Mobile: Chrome/Android Browser (Android 2.3+ for phone, and Android 3+ for tablet), Safari (iOS 6.0+)
Linear, non-linear and companion ads, DFP video, Ad Exchange video and AFV ads
iOS iOS 6.0+ Linear and companion ads, DFP video, Ad Exchange video and AFV ads
Android Android 2.3+ Linear and companion ads, DFP video, Ad Exchange video and AFV ads

For more Info : https://developers.google.com/interactive-media-ads/docs/sdks/android/compatibility

We can give following types of Ad support using IMA SDK:

Ad Type iOS SDK Android SDK
Ad Rule Pre-Roll X X
Ad Rule Mid-Roll X X
Ad Rule Post-Roll X X
Ad Rule Ad Podding X X
Skippable Ads X X
Clickthrough X X
Overlay X X

 

Getting started with Android :

1. Create a video player or download a sample video player app

https://github.com/googleads/googleads-ima-android/releases/tag/2.6

2. Download IMA SDK and include it in lib folder of app.

https://developers.google.com/interactive-media-ads/docs/sdks/android/download

3. Include Google Play Service in your project:

Add the following to your application-level build.gradle file, located at app/build.gradle:

compile 'com.google.android.gms:play-services-ads:7.0.0'

Add the following code to your to AndroidManifest.xml inside the tag:

<meta-data
android:name="com.google.android.gms.version"
        android:value="@integer/google_play_services_version" />

Dowload source code for your hands on : GitHub

Integration with Google IMA on iOS

Integration with Google IMA on HTML5

Integration with Google IMA on Flash

Hope this helps !! :)

Tag -

FOUND THIS USEFUL? SHARE IT

Leave a comment -