Ankit
Ankit

Reputation: 491

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.

Upvotes: 6

Views: 2413

Answers (2)

Ankit
Ankit

Reputation: 491

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

Upvotes: 1

Javi Rueda
Javi Rueda

Reputation: 11

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.

Upvotes: 1

Related Questions