Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

InMobi Ad integration in Android

Tags:

android

inmobi

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.

like image 810
Ankit Avatar asked Oct 20 '15 11:10

Ankit


People also ask

What is the InMobi ad network?

What is the InMobi Ad Network? InMobi is the world's largest independent ad network. We partner with third party website publishers and mobile app developers to serve ads on their sites and in their apps.


2 Answers

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.

like image 53
Javi Rueda Avatar answered Nov 12 '22 05:11

Javi Rueda


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

like image 1
Ankit Avatar answered Nov 12 '22 04:11

Ankit