Inmobi ads display in smartphone but in my control panel i don’t see views. Now, my app is in google play store. The publisher id is correct, why i see 0 ads request when it work fine ?
Which version of Corona did you use to build this app? Just look at “About Corona Simulator” or similar from the Corona Simulator, and copy the full version number here.
Thanks,
Brent Sorrentino
Corona Simulator
2013.1076 (2013.4.3)
Thanks
Hello @creazioniwebemail,
As of the last public version of Corona (#1135, not #1076), InMobi has been separated from the core and is now offered as a plugin, available to all users. Please refer to the following guide on how to implement it using Build #1135, and then please re-build and re-submit your app to Google. This should solve the issue.
http://docs.coronalabs.com/api/library/ads/index.html
Best regards,
Brent Sorrentino
Hi Brent;
I have a weirdness today which is somewhat related. I am authoring and building my app in 2013.1135 (2013.6.3).
Last Friday, when I built the app and placed it on devices (iPad and iPod Touch), my advertising code for both iAds and inMobi was working great and displaying banner ads and refreshing and sending events to the listener, etc.
Today, with no change in my code, I am getting this message in the Console for both iAds and inMobi when the code tries to do an "ads.init( . . .) ON THE DEVICES:
“The ‘ads’ library is not available on this platform.”
It is almost as if the “ads” lua plug-in thinks that it is running on a Simulator instead of on a device. Was somebody poking around in the plug-in code these last couple of days? Any thoughts?
Thanks;
Steve
Hi Steve,
This is a bit odd. Can you try re-building this using Build 1137? If the issue persists, please let me know.
Thanks,
Brent
Which version of Corona did you use to build this app? Just look at “About Corona Simulator” or similar from the Corona Simulator, and copy the full version number here.
Thanks,
Brent Sorrentino
Corona Simulator
2013.1076 (2013.4.3)
Thanks
Hello @creazioniwebemail,
As of the last public version of Corona (#1135, not #1076), InMobi has been separated from the core and is now offered as a plugin, available to all users. Please refer to the following guide on how to implement it using Build #1135, and then please re-build and re-submit your app to Google. This should solve the issue.
http://docs.coronalabs.com/api/library/ads/index.html
Best regards,
Brent Sorrentino
Hi Brent;
I have a weirdness today which is somewhat related. I am authoring and building my app in 2013.1135 (2013.6.3).
Last Friday, when I built the app and placed it on devices (iPad and iPod Touch), my advertising code for both iAds and inMobi was working great and displaying banner ads and refreshing and sending events to the listener, etc.
Today, with no change in my code, I am getting this message in the Console for both iAds and inMobi when the code tries to do an "ads.init( . . .) ON THE DEVICES:
“The ‘ads’ library is not available on this platform.”
It is almost as if the “ads” lua plug-in thinks that it is running on a Simulator instead of on a device. Was somebody poking around in the plug-in code these last couple of days? Any thoughts?
Thanks;
Steve
Corona doesn’t support InMobi even though according to the docs (http://docs.coronalabs.com/api/library/ads/index.html) it does…
If testMode is set to true everything works fine (test ads are served), but if it is set to false no ads are served.
The reason is that a required parameter, mk-carrier (the user’s IP address), is not sent from the SDK to the InMobi servers.
http://developer.inmobi.com/wiki/index.php?title=Integration_Guidelines#Mandatory_Request_Parameters
I sent an e-mail to developer@coronalabs on March 19, 2013 explaining the problem, but nobody bothered even to acknowledge the issue.
They just keep writing in the docs that InMobi is supported.
And more people are wasting their time trying to implement something that doesn’t work…
Hi Steve,
This is a bit odd. Can you try re-building this using Build 1137? If the issue persists, please let me know.
Thanks,
Brent
You are correct tetu. Or at least I think you are. I know nothing of the mk-carrier parameter, but I am seeing this too:
– When testMode is true, the inMobi test ads work fine on all of my iOS devices
– When testMode is false (wanting to go live), I get an error – and no ad displays (of course).
In the console, I can see the details of the “inMobi ad request post”. But inMobi is returning nil as an error to the post/request.
I am using build 2013.1150 (2013.6.25) and, of course, the latest “ads” plug-in is being grabbed as I build for device.
Quick help on this from Corona team would be greatly appreciated. This plug-in seems truly broken at present.
If test mode is false, you need to supply a valid inMobi appId. We just tested it here with build 1137 and it’s working for us.
sbullock, i didn’t know anything about the mk-carrier param either.
i found out by contacting the InMobi support team (they had been very helpful)
i sent them the Xcode console logs and this is what Dony Kurian, InMobi Support Engineer, replied to me:
"We have analyzed the ad request being made, it can be seen that one of the mandatory parameters ‘mk-carrier’ is not being send across in the ad request. This is the reason for not receiving ads at our end.
More information on the same is available at : http://developer.inmobi.com/wiki/index.php?title=Integration_Guidelines#Mandatory_Request_Parameters"
Tom, i used a valid InMobi appId, build 1137 and the sample code that ships with Corona. no ads are served if testMode is set to false.
What is the appId that you used?
I did a little more testing and I have one app ID that gives ads and another one that doesn’t. The one that doesn’t give ads doesn’t have an app in the App store so it doesn’t have a verified URL associated with it. I’m not sure if that’s the reason it’s not delivering ads. We are trying to get an answer from inMobi. Both tests were performed with the inMobi sample app with testMode set to false. The only change was the appID used.
The inMobi plugin uses the inMobi SDK, which we can’t debug so it’s a “black box” as to what is going on.
Tom,
the appID i’m using has an app in the App store, so it has a verified URL and has also passed InMobi’s ownership verification process. yet, it doesn’t return any ads if testMode is set to false.
@tetu, the inMobi SDK is a black box to us since we don’t have their code and we don’t know what goes on with their servers. We figure if the testMode works, the interface is working and able to communicate with inMobi servers. Beyond that I’m afraid inMobi would need to tell you what is wrong. Nothing has changed in the basic inMobi code in the Corona SDK for the past few public releases.
@tetu, can you email me your inMobi app ID so I can pass it along to inMobi? It sounds like a valid appID with a verified URL should be delivering live ads. You can send it to: tom at coronalabs.com
If anyone else also has an appID and and a app URL that has been verified by inMob and is not getting live ads, please send me your ID.
Thanks.
Tom, i e-mailed you the appID i’m using
thank you!