---
updatedAt: 2026-10-27T15:58:13.000Z
agentTools:
  siteIndex: https://docs.jwplayer.com/llms.txt
  projectIndex: https://docs.jwplayer.com/players/llms.txt
---

# Google IMA and DAI (iOS)

Enable Google IMA and Google DAI ad requests in your iOS app

<Callout icon="🚧" theme="warn">
  If you are not using Google DAI or Google IMA to serve your ads, skip to [Schedule VAST ads](https://docs.jwplayer.com/players/docs/ios-schedule-vast-ads).
</Callout>

The JWX SDK for iOS integrates several ad client SDKs that you can use to request ads:

* Google DAI
* Google IMA

To use a supported ad client, you must add its dependency to your app. After meeting the prerequisites below, you can add the dependency using Swift Package Manager (SPM) or manual installation.

<br />
<hr />

## Prerequisites

| Ad Client      | Requirements                                                                                                                                                                               |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Google DAI** | [All the JWX iOS SDK requirements](https://docs.jwplayer.com/players/docs/ios-advertising)<br /><a href="https://support.google.com/admanager/answer/3485387" target="_blank">Google's Ad Manager 360 Advanced</a> |
| **Google IMA** | [All the JWX iOS SDK requirements](https://docs.jwplayer.com/players/docs/ios-advertising)                                                                                                                         |

<br />

***

## Use Swift Package Manager to add an ad client dependency

Follow these steps to add the Google IMA or Google DAI ad client to your app using Swift Package Manager (SPM):

1. Open your project in Xcode.

2. From the menu bar, select **File > Add Package Dependencies**.

3. In the package search field, enter the following repository URL:

   `https://github.com/googleads/swift-package-manager-google-interactive-media-ads-ios`

4. Select the **GoogleInteractiveMediaAds** package.

5. Select the package version and dependency rule. For new projects, Google recommends **Up to Next Major Version**.

6. Add **GoogleInteractiveMediaAds** to your app target.

7. Click **Add Package** to add the dependency to your project.

<br />

***

## Manually add an ad client dependency

1. Download and unzip the <a href="https://developers.google.com/interactive-media-ads/docs/sdks/ios/client-side/download" target="_blank">Google IMA SDK for iOS</a>.
2. From within Xcode, expand the project in the navigator.
3. Drag **GoogleInteractiveMediaAds.framework** from the extracted SDK folder into the **Frameworks** folder in Xcode. In the popup screen that appears, be sure to select your target.
4. Click **Finish**.
5. Select the target in the project editor.
6. Click **General**.
7. Verify that the added frameworks appear in the **Frameworks, Libraries and Embedded Content** section. The **Embed** toggle should be set to **Do not embed**. If any framework is missing from the list, add it by clicking the **+** button at the bottom of the section.

<br />

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

# Sub pages

* [Google IMA (iOS)](https://docs.jwplayer.com/players/docs/google-ima.md)
* [Google DAI (iOS)](https://docs.jwplayer.com/players/docs/google-dai.md)

# Sibling pages

* [VAST (iOS)](https://docs.jwplayer.com/players/docs/vast-ios.md)
* [Ad tag settings (iOS)](https://docs.jwplayer.com/players/docs/ad-tag-settings-ios.md)
* [Measurement (iOS)](https://docs.jwplayer.com/players/docs/measurement-ios.md)