Schedule Google IMA ads (Android)

Add advertising breaks to your content when using the Google IMA ad client in an Android app.


According to Google, "Interactive Media Ads (IMA) is a suite of SDKs that make it easy to integrate multimedia ads into your websites and apps."

In addition to requesting ads from VAST-compliant ad servers and managing playback, IMA ads offer benefits such as the following:

  • Display companion ads
  • Report metrics to ad servers
  • Incorporate IDFA/ADID signals

After adding the Google IMA SDK to your app and acquiring the required items listed in the Requirements section, you can schedule Google IMA ads in your Android app.



Requirements



Scheduling Ad Breaks



IMA SDK Settings

You can configure the IMA SDK settings by creating a new instance of ImaSdkSettings. Developers can then assign it to an ImaAdvertisingConfig or ImaVmapAdvertisingConfig instance by passing it to the Builder().




Unsupported Features

The following table lists and describes the features that are unsupported.

Unsupported FeatureDescription
AdΒ TagΒ WaterfallsΒ Β Β Β Β Β Β Β Β Β Β Β Β When using the IMA SDK you do not have the ability to define an ad tag waterfall in your code. An ad tag waterfall analog is instead defined in your Google Dashboard.
Non-linear Overlay AdsNon-linear ads are not currently supported via the IMA SDK. This is a limitation of the Google IMA SDK for Android. For more information please refer to the documentation here: https://developers.google.com/interactive-media-ads/docs/sdks/android/compatibility
Ad Skip OffsetThe ad skip offset is always set within the ad response of a Google IMA ad tag and we do not override the value. To configure your skip offset please contact your ad network.
Ad Tag VariablesThe ad tag variables specified in our VAST documentation are not supported when using the IMA SDK. Instead, we suggest contacting Google IMA to provide you with a list of ad tag variables supported in the Google IMA SDK.
VPAIDThe Google IMA SDK does not support VPAID 1.0 or VPAID 2.0 ads. This is a limitation of the Google IMA SDK for Android. For more information please refer to the documentation here: https://developers.google.com/interactive-media-ads/docs/sdks/android/compatibility