<img src="https://img.shields.io/badge/%20-ENTERPRISE-%23B10031" style="float:left"/><br />

The JWP Android SDK integrates the Google IMA and Google DAI SDKs that you can request ads.

Google IMA ads allow you to integrate multimedia ads into your websites and apps<sup><a href="#1">1</a></sup>. Google Dynamic Ad Insertion (DAI) allows you to serve video ads into live linear programming and video on demand content<sup><a href="#2">2</a></sup>.

<a name="1"></a><sup>1. Source: <a href="https://developers.google.com/interactive-media-ads/" target="_blank">Interactive Media Ads SDKs</a></sup> <a name="2"></a><sup>2. Source: <a href="https://support.google.com/admanager/answer/6147120?hl=en" target="_blank">Learn about Dynamic Ad Insertion (DAI)</a></sup>

<br />


If you are not using Google IMA or Google DAI to serve your ads, skip to [Schedule VAST ads](πŸ”—ο»Ώ).

<br /> <hr />

## Requirements

Ad ClientRequirements
**Google DAI**<ul><li>[All JWP Android Advertising requirements](πŸ”—ο»Ώ)</li><li><a href="https://support.google.com/admanager/answer/3485387" target="_blank">Google's Ad Manager 360 Advanced</a></li></ul>
**Google IMA**<ul><li>[All JWP Android Advertising requirements](πŸ”—ο»Ώ)</li></ul>

<br /> <hr />

## Add client dependency

### Gradle

  1. In the **build.gradle** file of your app, add **com.jwplayer:jwplayer-ima:x.x.x**. Be sure to replace `x.x.x` with the dependency version number.

  2. Sync Gradle.

<br />

### Local

  1. With your app open in Android Studio, click **File > New > New Module... > Import .JAR / .AAR Package**.

  2. Click **Next**.

  3. Select the **jwplayer-ima-x.x.aar** file from your computer.


    If you do not have a **jwplayer-ima-x.x.x.aar** file on your computer, you can [download the Android SDK .zip](πŸ”—ο»Ώ) from your JWP dashboard.

  4. Click **Finish**.

  5. Click **File > Project Structure... > Dependencies**. Under **Modules**, be sure that your app is selected.

  6. Click the plus sign in the main panel.

  7. Select **Module dependency**.

  8. Select the checkbox next to the name of each dependency that needs to be added.

  9. Click **OK**.

  10. Click **Apply**.

  11. Click **OK**.

<br />

<!-- Removes the automatic page-to-page navigation at the bottom of the page -->

<style> .rm-Pagination { display: none; } </style>