Chartboost integration

@ingemar. THANKS!  I was also using both without knowing:)

@Dingo: 7000 impressions/$10 is that Chartboost or Vungle? Android?

Mo

I have this running on Android, but every once in a while the underlying lock screen they use behind the ad does not go away with the ad when the user presses the x… It stays on the screen and prevents the user from clicking on anything, the only way out is to kill the app… Has anyone seen this behavior? I am using the cache function in my game scene, then showing the ad after the user is finished with the move summery overlay… it works correctly nine out of ten times at least.

Thanks

Mike

@Mike Yikes. I haven’t seen that (yet), however I think you should email them about it. They are very responsive and email is their preferred way of reporting potential bugs in the Chartboost module.

I did email them… They are just a little slow on the response… Hopefully they have an easy answer.

Thanks

When this happens, do you see any error messages in the terminal (using adb logcat)?

I’m not experiencing this on an Android device running Android 2.2

  • Andrew

I download the chartboost lua code from https://github.com/ChartBoost/corona-sdk . 

local cb = require “ChartboostSDK.chartboost” --chartboost.lua

local cbdata = require “ChartboostSDK.chartboostdata”  --chartboostdata.lua

These two files are corrupted(It showing different symbles), Where can get correct files, can any one help me.

Thanks…

I think its encrypted, it should still work.  Mine is the same and works just fine.

Ya, It’s working… Thank you…

@kripa1415

Both files are obfuscated to prevent tampering.

They will work perfectly fine in your code though…

I have not been near a dev PC yet when it happened… I am only testing on two devices … Android 4.2 and 4.3 It is happening on both.  I’ll let you know.

OK.  It’d also be interesting to know whether you experience this on the Corona simulator.

I assume you’re using the very latest ChartBoost plugin, right?  They haven’t updated it in a few weeks, but prior to the last update, there were a number of bugs, including some that would cause the behavior you’re describing.

  • Andrew

I am using the latest build, downloaded on Monday.

That’s a great question about the simulator, I have not tried it enough on the simulator to find out, but will do so this morning… It’s pretty sporadic  but its a great excuse to play a game and get paid for it!

Did they submit a new version to github with the above bugs fixed ?

I’ve reported this bug as well as a few others (ad appears offset to frame, and transparent background doesn’t cover full screen on iPhone 5/iPad).

All have been confirmed by them, but no updates have been uploaded yet.

@ingemar,

Using Chartboost’s config.lua should fix the transparent background coverage.

Best,

Martin.

@ingemar,

I don’t have an iPad/iPhone 5 (I’m on a 4G iTouch) but I’ve just checked a Chartboost interstitial in Xcode simulator and the transparent coverage works fine.

Shame about the eCPM though! My dashboard shows 6825 impressions 141 clicks and revenue $0.14. Ouch!

Best,

Martin.

Doing that kind of thing in config.lua is unnecessary. There’s no need to change width/height as it’s easy to make sure the background will cover the whole screen anyway (which I’ve already implemented in my own code to compensate for this while waiting for an official fix).

Regarding low revenue I’d recommend setting up a minimum CPC/CPI in your campaigns. Have multiple campaigns with different priorities with the highest settings for “minimum CPC/CPI” as high-priority and lowest settings for low priority.
I don’t allow anything less than $1.00 to be displayed from Chartboost. If no ads are available I pass on the request to Revmob.

Doing this has given me an average of around $12/day for the last 14 days (with almost the same number of impressions/clicks).

@ingemar,

I agree - it really is totally unnecessary - I merely pointed it out as a solution :slight_smile:

I appreciate the recommendation to look into the minimum CPC/CPI - I’ll get onto that immediately. Thanks a lot for posting those number too.

All the best,

Martin.

Hello guys.

I am wondering about 

cb.startSession()

cb.cacheInterstitial()

cb.cacheMoreApps()

 

being called from in app start/resume event. i am also calling all these functions in my myAds.lua module (where the ad units are initialized and show functions define)

 

Is it a problem for instance to do cb.startSession() at app resume and later when myAds.lua module is required?

 

I just want to make sure I get right before sending the beast to Apple for review?

 

THANKS!

 

Mo

I’m not sure what happens if you call startSession() twice, however why not just skip the call in your myAds.lua?

I call startSession() only on app start/resume.

You don’t need to call startSession() within your initialization function as long as you take care of calling it when you start/resume your app before starting to show ads. The “requires” will always be called before applicationStart/applicationResume.