I just published an application to the App Store that serves InMobi ads. The following line called the ads.show function…
// globalProp.IS\_RELEASE = true
ads.show( adType, { x=adHorzPos, y=adVerticalPos, test = not globalProp.IS\_RELEASE, interval=AD\_ROTATION\_INTERVAL } )
As you can see I accidentally set “test” to false instead of “testMode”, but according to the Corona SDK documentation on the ads.show function…
testMode (optional)
Boolean. Set to true for testing account. Defaults to false.
So this would mean since I passed in the incorrect parameter, testMode should actually be set to false by default. Which would mean that I should be served production ads, which is not the case. I still get the InMobi test ads.
And for clearification I did active the app on the InMobi website. I had a talk with their support earlier and they said that everything is fine on their end.
I also tried changing the top line to…
ads.show( adType, { x=adHorzPos, y=adVerticalPos, testMode = false, interval=AD\_ROTATION\_INTERVAL } )
and ran it in the simulator to try and see if I could get any production ads, which I didn’t.
Would appreciate clearification on this issue.
Thanks [import]uid: 136747 topic_id: 36413 reply_id: 336413[/import]