androidinmobi

InMobi Ad integration in Android


I'm working on InMobi Ad integration with sample project.

I've updated the project id and PLACEMENT_ID but I'm getting below message on onAdLoadFailed

Unable to load interstitial ad (error message: An invalid ad request was sent and was rejected by the Ad Network. Please validate the ad request and try again)

Need help.


Solution

  • I found the problem, in my case i was using device ID except advertising id of device while adding devices for test in Inmobi. and in Inmobi they change key in response Json with every version of SDK (ie its one for 5.0.0 and different for 5.0.1).