InMobi Keeps Failing

I’m trying to integrate InMobi into a clients application. After following the examples, even compiling the sample code (modified without the “iPad” parameters) and load onto device, in the Android debugger I always get:

“InMobi ad request failed”

“Your request cannot be processed at this time. Please try again later.”

While I understand you need your app ID from InMobi, since we’re not live yet, I’ve opted to the demo ID they provide:

“4028cba631d63df10131e1d3818b00cc”

I used that key also in the provided sample code. Had the same results with our actual ID as well. I have the plugins in my build.settings along with the required Android permissions, test mode is set to true and I’m running on the latest daily build.

There is so little information regarding the issue, the only other tip I found was to add:

if sysEnv ~= “simulator” then
    ads.show(…)
end

around ads.show as some people had it fix ads not showing. Still did not work. I waited to see if it was a fill rate issue, but after 10 minutes of trying to get advertisements, nothing.

What am I doing wrong? Any helps would be greatly appreciated.

I’m having the same issue. 

One thing that I am trying to do at the moment:

A look at the inmobi site : http://www.inmobi.com/support/article/?id=23382291#settestmode wants me to set the property into test mode and assign my device to perform the testing. Which is all well and good but I am yet to find out how to extract my device ID without downloading their SDK and using the Android SDK with Eclipse (seems like a lot of work just to extract some ID).

Im not sure if this is a requirement  to receive ads in test mode, if I get anywhere I’ll let you know.

Hey Nick

Sohan from InMobi here.

The device ID in the Android SDK is essentially the Android ID, which you can get using 

import android.provider.Settings.Secure; private String android\_id = Secure.getString(getContext().getContentResolver(),                                                        Secure.ANDROID\_ID);  

But if i’m not mistaken there is a hash thats done on the ID, so ideally you should use the SDK itself. 

Imho, integrating the SDK is quite straightforward.

Let me know if you need any help with the integration process :) 

I’m trying to integrate InMobi into a clients application. After following the examples, even compiling the sample code (modified without the “iPad” parameters) and load onto device, in the Android debugger I always get:

“InMobi ad request failed”

“Your request cannot be processed at this time. Please try again later.”

While I understand you need your app ID from InMobi, since we’re not live yet, I’ve opted to the demo ID they provide:

“4028cba631d63df10131e1d3818b00cc”

I used that key also in the provided sample code. Had the same results with our actual ID as well. I have the plugins in my build.settings along with the required Android permissions, test mode is set to true and I’m running on the latest daily build.

There is so little information regarding the issue, the only other tip I found was to add:

if sysEnv ~= “simulator” then
    ads.show(…)
end

around ads.show as some people had it fix ads not showing. Still did not work. I waited to see if it was a fill rate issue, but after 10 minutes of trying to get advertisements, nothing.

What am I doing wrong? Any helps would be greatly appreciated.

Hey nexusgamestudio

Sohan from InMobi again :slight_smile:

This might be a silly question but is the problem you are describing through the Corona SDK or on the Android platform? Asking because the Corona SDK isn’t supported yet by InMobi…Or I’ve misunderstood the question. :slight_smile:

Do let me know!

I’m having the same issue. 

One thing that I am trying to do at the moment:

A look at the inmobi site : http://www.inmobi.com/support/article/?id=23382291#settestmode wants me to set the property into test mode and assign my device to perform the testing. Which is all well and good but I am yet to find out how to extract my device ID without downloading their SDK and using the Android SDK with Eclipse (seems like a lot of work just to extract some ID).

Im not sure if this is a requirement  to receive ads in test mode, if I get anywhere I’ll let you know.

Hey Nick

Sohan from InMobi here.

The device ID in the Android SDK is essentially the Android ID, which you can get using 

import android.provider.Settings.Secure; private String android\_id = Secure.getString(getContext().getContentResolver(),                                                        Secure.ANDROID\_ID);  

But if i’m not mistaken there is a hash thats done on the ID, so ideally you should use the SDK itself. 

Imho, integrating the SDK is quite straightforward.

Let me know if you need any help with the integration process :) 

I’m trying to integrate InMobi into a clients application. After following the examples, even compiling the sample code (modified without the “iPad” parameters) and load onto device, in the Android debugger I always get:

“InMobi ad request failed”

“Your request cannot be processed at this time. Please try again later.”

While I understand you need your app ID from InMobi, since we’re not live yet, I’ve opted to the demo ID they provide:

“4028cba631d63df10131e1d3818b00cc”

I used that key also in the provided sample code. Had the same results with our actual ID as well. I have the plugins in my build.settings along with the required Android permissions, test mode is set to true and I’m running on the latest daily build.

There is so little information regarding the issue, the only other tip I found was to add:

if sysEnv ~= “simulator” then
    ads.show(…)
end

around ads.show as some people had it fix ads not showing. Still did not work. I waited to see if it was a fill rate issue, but after 10 minutes of trying to get advertisements, nothing.

What am I doing wrong? Any helps would be greatly appreciated.

Hey nexusgamestudio

Sohan from InMobi again :slight_smile:

This might be a silly question but is the problem you are describing through the Corona SDK or on the Android platform? Asking because the Corona SDK isn’t supported yet by InMobi…Or I’ve misunderstood the question. :slight_smile:

Do let me know!