Mopub Mediation iOS

Hey guys, I’m currently trying to implement Mopub as a mediator for 2 ad networks, Admob and Applovin.

The implementation for ADmob and Applovin are easy enough but when trying to work in the Mopub sdk I seem to get all sorts of problems, I’ve been through this tutorial: https://github.com/mopub/mopub-unity-ios-plugin

But no matter what i do I seem to get Xcode build errors, after dragging in the files into Xcode, then I seem to get problems with the ‘weak property’, surely it shouldn’t be this difficult to implement.
I’ve spent the whole day browsing trying to work it out and it seems very hacky.

Has anyone had any experience with integrating MoPub into their iOS apps?

I have run into the weak link hell you are describing. Changing all of the flags to allow ARC didn’t help and feel like I spent a day or so trying to figure that out and another trying to compile their sdks for Android.

I ended up getting a beta Unity plugin from MoPub support that overall helped quite a bit, but still has some bugs. For example, not all of its callbacks are firing. I just updated an Android Game with it, but can’t update the iOS version until they provide a few fixes.

If they can fix the few bugs, it would be relatively slick for Unity MoPub integration. Right now I am still exploring mediation services for the future :slight_smile: