Integration
Magnite adapter for CloudX iOS SDK. Supports Banner, MREC, Interstitial, Rewarded, and Native.
For CloudX dashboard mapping and Magnite-side ID setup, see the Magnite bidder guide. This page covers iOS-specific integration details only.
Installation
CocoaPods
pod 'CloudXMagniteAdapterV2', '~> 1.0.6.0'pod install --repo-updateSwift Package Manager
Add the adapter package to your project:
- Package URL:
https://github.com/cloudx-io/cloudx-ios-swift-package-adapter-magnite.git - Exact package version:
1000600.0.0 - Product:
CloudXMagniteAdapter
The package installs CloudX Core and Magnite’s Swift package (MagniteSDK 1.0.6) as dependencies. Add $(inherited) -ObjC to the app target’s Other Linker Flags.
Manual
- Add CloudX Core with Swift Package Manager or as a framework.
- Download
CloudXMagniteAdapter.xcframework.zipfrom the adapter release. Unzip it, addCloudXMagniteAdapter.xcframeworkto your app target, and set it to Do Not Embed. It is a static framework. - Download
MagniteSDK.xcframeworkversion1.0.6from Magnite. Add it to your app target and set it to Embed & Sign. It is a dynamic framework. The version must be exactly1.0.6. - Add
-ObjCto Other Linker Flags. The adapter registers itself at launch, so no code changes are needed.
When you update the adapter, replace both frameworks with matching versions.
Info.plist Configuration
SKAdNetwork IDs (Required for iOS 14+)
Include the SKAdNetwork IDs provided by Magnite for your integration. Refer to the current Magnite SDK documentation for the latest SKAdNetworkItems list.
App Tracking Transparency (iOS 14+)
<key>NSUserTrackingUsageDescription</key>
<string>This identifier will be used to deliver personalized ads to you.</string>Project Configuration
Linker Flags: Add -ObjC to Other Linker Flags in Build Settings.
Compatibility
| Adapter version | Network SDK | Minimum CloudXCore |
|---|---|---|
1.0.6.0 | MagniteSDK 1.0.6 | 3.9.0 |
1.0.4.2 | MagniteSDK 1.0.4 | 3.9.0 |
1.0.0.2 | MagniteSDK 1.0.0 | 3.9.0 |
1.0.0.1 | MagniteSDK 1.0.0 | 3.5.0 |
The adapter is discovered automatically when your server-provisioned CloudX configuration includes this network’s demand. No manual adapter registration is required.
Support
For support, contact support@cloudx.io