<img src="https://img.shields.io/badge/%20-ENTERPRISE-%23B10031" style="float:left"/><br /> <img src="https://img.shields.io/badge/Android-V4-009727?logo=android" 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**- [All JWP Android Advertising requirements](πŸ”—ο»Ώ)<br /> - <a href="https://support.google.com/admanager/answer/3485387" target="_blank">Google's Ad Manager 360 Advanced</a>
**Google IMA**- [All JWP Android Advertising requirements](πŸ”—ο»Ώ)ο»Ώ

<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.

ο»Ώ
  1. 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 />

(Script tags will be stripped)
ο»Ώ