Hi all. I use latest version Chartboost sdkbox.
I create:
- app in Chartboost,
- video rewarded company.
- init sdkbox::PluginChartboost::init();
- show Ad sdkbox::PluginChartboost::show(“Level Complete”);
But no show this Ad in my app. What went wrong?
Hi all. I use latest version Chartboost sdkbox.
I create:
But no show this Ad in my app. What went wrong?
Can you show me your sdkbox_config.json?
I also get similar error.
sdkbox::PluginChartboost::init();
MyChartboostListener *listenerChartboost = new MyChartboostListener();
sdkbox::PluginChartboost::setListener(listenerChartboost);
sdkbox::PluginChartboost::show(sdkbox::CB_Location_Default);
I can’t see ads and get following error code.
CB_LoadErrorNoAdFound
I write app id and signature correctly in sdkbox_config.json file.
I use cocos2d-x 3.6 and latest sdkbox.
what is solution ?
“Chartboost”:{
“id”:“559bcb00c909a621b4269384”,
“signature”:“9ca776111a8c32f603bf43bf08ce6bde954f0d5a”,
“ads”:{
“Default”:{
“type”:“interstitial”
},
“DefaultVideo”:{
“type”:“video”
},
“RewardedVideo”:{
“type”:“rewarded_video”
},
“MoreApp”:{
“type”:“more_app”
}
}
}
I fixed crash error.
It’s because chartboost id is for portrait app, my app is landscape app.
I find it by using iOS chartboost sdk directly.
There is such fail case in native sdk.
So I think sdkbox should support such exception like chartboost sdk.
But I don’t know why CB_LoadErrorNoAdFound error occur still.
So you are doing this:
sdkbox::PluginChartboost::show("Level Complete");
But your son has no mention of “Level Complete”.
If you do something like:
sdkbox::PluginChartboost::show("DefaultVideo");
sdkbox::PluginChartboost::show("RewardedVideo");
sdkbox::PluginChartboost::show("MoreApp");
you should be fine.
this work:
sdkbox::PluginChartboost::show(“DefaultVideo”);
sdkbox::PluginChartboost::show(“MoreApp”);
this not work:
sdkbox::PluginChartboost::show(“RewardedVideo”);
Do you have this defined in your Chartboost account?
I have tried everything but it still shows me no ad
Did you run it on simulator?
No, on my own iPhone
I change the reward video campaign’s name to be “Rewarded”, I change the sdkbox_json file to be “Rewarded”: { “type”: “rewarded_video”}, and in the code, I am calling show(“Rewarded”); And it gives me an no add error.