6

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.

user1
  • 4,031
  • 8
  • 37
  • 66
Ankit
  • 483
  • 7
  • 24

2 Answers2

1

Having the same problem. Using SDK 5.0.0 integrating Native Ads.

In test mode, slot requested is "0", and it shows no problem, although no ad is filled. When disabling Test Mode, the error @Ankit says is appearing in LogCat.

I have another application which integrates InMobi, but Interstitial ones. It is ansewering request with error and, when it works- some hours ago- it just fills a blank -transparent- ad.

Javi Rueda
  • 11
  • 3
  • I am facing the same issue, can ypu tell me if you found any solutions, or any update on the issue.. – Rajat Singhal Nov 05 '15 at 08:03
  • @RajatSinghal I just have fixed it. The problem I had was not keeping classes of Play Services on Proguard. See https://www.inmobi.com/support/integration/23817448/22051163/android-sdk-integration-guide/ – Javi Rueda Nov 12 '15 at 20:56
1

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).

Ankit
  • 483
  • 7
  • 24
  • 1
    @Javi Rueda I am also facing the same issue, I could not understood your solution, can you please explain how you got rid of this issue? – Ishant Sagar Dec 30 '15 at 12:22
  • @IshantSagar you need to add a device in InMobi panel with advertising id of device for testing, and also switch on the test mode. – Ankit Jan 05 '16 at 05:47