[SOLVED] Chart boost ads not showing

Hello y’all,

I’m trying to get chart boost to work on my app. I’m currently using test ads on chart boost as my app is not in stores yet. The call backs are telling me that the ads have cached ok and that they are ready to play, but when I use sdkbox:::PluginChartboost::show(“Default”); nothing happens not even an error message. Anybody have any ideas what is happening here?

Thanks,

Matt

Have you enabled Test Mode on your chartboost account?

Yes i have test mode enabled. I’ve tried all three different ad types with the same result: callbacks are telling me they cache ok and are ready to run just nothing happens when i try to run them. Could there be linker problem or some other setting in cocos2dx? I’m getting nothing in the logs

Can you double check the sdkbox_config.json has all the placement you want to use?

Dose the sample app works for you?

Hi Nite,

The config file looks good, and I can’t run the sample when I do I get this error:

sample_func.sh: line 64: ios-deploy: command not found

Any ideas?

I was able to reproduce the issue, we will be investigating and update you when there is a fix.
At the same time, you could run the sample by loading and run iOS project in sdkbox-sample-chartboost/cpp
Thanks for your patience!
Ryan

To clarify the script didn’t work, however you can still run it from the xcode.

Ok so I added a return true to this function:

bool chartBoostListener::onChartboostShouldDisplay(const std::string& name) {

log("should display");
return true;

}

and now it works fine. Thanks for everybody’s help.

Matt

Thank you soooooo much @muskovite!

I’ve been banging my head against a wall for over a day wondering why my ads no longer work (I’m sure they used to work without the return true before?)

This fixed the issue for me. Thanks again :slight_smile:

No worries, glad to be of help! :smile:

Hi all,

How about using sdkboxads with chartboost as unit it also not show the ads too. How to fixe this issue?

Mostly will be config issue, here is an example of config for sdkbox ads