<img src="https://img.shields.io/badge/%20-ENTERPRISE-B10031" style="float:left"/><br /> <img src="https://img.shields.io/badge/iOS-V4-009727?logo=apple" style="float:left"/><br />

ο»Ώ

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

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

  • Google DAI

  • Google IMA

To begin using any of the supported ad clients, you must first add the dependency to your app. After you have the items listed in the Requirements section, you can use CocoaPods or a manual (Local) approach to add one or multiple ad client dependencies.

<br /> <hr />

## Requirements

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

<br /> <hr />

## Use CocoaPods to add an ad client dependency

### Edit Podfile

  1. In a text editor, open the **Podfile** for your app.

  2. Add `GoogleAds-IMA-iOS-SDK` as a dependency. Be sure to use the version located in the `googleIMAVersion` property. You can also review this dependency (<a href="/players/docs/ios-overview#dependencies" target="_blank">iOS</a>).

    ο»Ώ
  3. Save **Podfile** and close the text editor.

<br />

### Install the SDK

  1. At the terminal prompt of your project directory, enter `pod install` to install the JWP SDK for iOS.

  2. Open the **.xcworkspace** file for your project to launch Xcode.

<br /> <hr />

## Manually add an ad client dependency

  1. Download and unzip the ad client SDK.

  2. From within Xcode, expand the project in the navigator.

  3. Drag **GoogleInteractiveMediaAds.framework** from your desktop 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 />

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

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