A Nimbus SDK extension for Moloco bidding and rendering. It enriches Nimbus ad requests with Moloco demand and handles ad rendering through the Moloco SDK when it wins the auction.
NimbusMolocoKit major versions are kept in sync with the Moloco SDK. For example, NimbusMolocoKit 4.x.x depends on Moloco SDK 4.x.x.
Minor and patch versions are independent — a NimbusMolocoKit patch release does not necessarily correspond to a Moloco SDK patch release, and vice versa.
| NimbusMolocoKit | Moloco SDK |
|---|---|
| 4.x.x | 4.x.x |
- In Xcode, go to File → Add Package Dependencies…
- Enter the repository URL:
https://github.com/adsbynimbus/nimbus-ios-moloco - Set the dependency rule to Up to Next Major Version and enter
4.0.0as the minimum. - Click Add Package and select the NimbusMolocoKit library when prompted.
If you're managing dependencies through a Package.swift file, add the following:
dependencies: [
.package(url: "https://github.com/adsbynimbus/nimbus-ios-moloco", from: "4.0.0")
]Then add the product to your target:
.product(name: "NimbusMolocoKit", package: "nimbus-ios-moloco")Add the following to your Podfile:
pod 'NimbusMolocoKit'Then run:
pod installNavigate to where you call Nimbus.initialize and register the MolocoExtension:
import NimbusMolocoKit
Nimbus.initialize(publisher: "<publisher>", apiKey: "<apiKey>") {
MolocoExtension(appKey: "<molocoAppKey>")
}If you provide an app key, Nimbus will automatically initialize the Moloco SDK.
That's it — Moloco is now enabled in all upcoming requests.
- Nimbus iOS SDK Documentation — integration guides, configuration, and API reference.
- DocC API Reference — auto-generated documentation for the latest release.
See NimbusMolocoKit in action in our public sample app repository, which demonstrates end-to-end integration including setup, bid requests, and ad rendering.