MoPubErrorCode: Unable to connect to MoPub adserver

mopub
unity

#1

I’m currently integrating MoPub into Unity and using an unsupported Ad Network as a source.

I’m past the creation of the Custom Event callback class and I don’t encounter the missing class error or anything, which leads me to believe that the Callback class is ok as it is.

I can’t receive ads however, and I’m using the MoPubDemoGUI to test.

This is part of the log I get:

10-13 15:00:02.121 22300 22300 D AOC-SDK : [ 2017-10-13 03:00:02,119 PM, Ver: 1.2.4 ] MoPubEventBanner,loadBanner: failed to load!
10-13 15:00:02.122 22300 22300 V MoPub : MoPubErrorCode: Unable to connect to MoPub adserver.

and then I eventually encounter:

10-13 15:00:02.379 22300 22300 I MoPub : Ad failed to load.
10-13 15:00:02.379 22300 22300 I MoPub : onAdFailed: adUnitId = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, errorCode = No ads found.
10-13 15:00:02.395 22300 22313 I Unity : onAdFailedEvent: adUnitId = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, errorCode = No ads found.

Anybody have any insight regarding this issue?


#2

Hi @remingtonchan,

Hope all is well!

Based on the log snippets you have provided, it looks like you are experiencing no fill.

As a next step, I would recommend reaching out to the MoPub Support Team at support@mopub.com with the email address associated with your MoPub account, your MoPub ad unit ID and the full, unfiltered logs from your testing. With this information, the Support Team will be able to help you review your setup and make sure your integration is healthy.

Thanks!


#3

Hi @jackie!

Thanks for the response.

I was able to figure out the issue and it was with the implementation of the CustomEventAdapter for the other ad network.

And it is accurate that the mediation was unable to get proper ads because the adapter wasn’t getting proper returns.

Thank you again for the response!

It’s all good now!

Regards,
Rem