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

Podfile
pod 'CloudXMagniteAdapterV2', '~> 1.0.6.0'
pod install --repo-update

Swift 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

  1. Add CloudX Core with Swift Package Manager or as a framework.
  2. Download CloudXMagniteAdapter.xcframework.zip from the adapter release. Unzip it, add CloudXMagniteAdapter.xcframework to your app target, and set it to Do Not Embed. It is a static framework.
  3. Download MagniteSDK.xcframework version 1.0.6 from Magnite. Add it to your app target and set it to Embed & Sign. It is a dynamic framework. The version must be exactly 1.0.6.
  4. Add -ObjC to 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+)

Info.plist
<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 versionNetwork SDKMinimum CloudXCore
1.0.6.0MagniteSDK 1.0.63.9.0
1.0.4.2MagniteSDK 1.0.43.9.0
1.0.0.2MagniteSDK 1.0.03.9.0
1.0.0.1MagniteSDK 1.0.03.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