Today, Google announced the integration of Google Mobile Ads mediation adapters into iOS projects using Swift Package Manager (SPM). SPM is Apple's tool for managing project dependencies, and this support aims to simplify the integration and management of mediation adapters, thereby streamlining development workflows and reducing setup complexity.
Supported Adapters
Google plans to roll out SPM support for all open source and versioned adapters, each hosted in its own GitHub repository. Currently available adapters include:
Ad Source | Minimum Version Supported in SPM |
---|---|
AppLovin | 13.3.1.0 |
DT Exchange | 8.3.8.0 |
IronSource | 8.10.0.0 |
Liftoff Monetize | 7.5.3.0 |
i-mobile | 2.3.4.2 |
inMobi | 10.8.6.0 |
Meta | 6.20.1.0 |
Mintegral | 7.7.9.0 |
Pangle | 7.4.1.1.0 |
Unity | 4.16.0.0 |
Adding a Swift Package
To add a package dependency to an Xcode project, users should navigate to File > Add Package Dependencies… and search for the package using the corresponding GitHub URL for each adapter.
Future Updates
Google is working on adding support for more mediation adapters and encourages users to check their GitHub page for the latest updates. For any inquiries or discussions, users can connect on the “Google Advertising and Measurement Community” Discord server.