kolbma
July 14, 2015, 1:08pm
1
Hi,
Recently i switch from Chartboost to AdColony, but I’m not able to get AdColony display some ads.
In log you can see this:
Ad is not ready to be played, as AdColony currently has no videos available to be played in zone [zone_id]
I don’t know if this has to do with AdColony itself or with cocos, because in general it should work…
Was anyone able to get Adcolony work?
So to be sure.
you have specified your adcolony information in sdkbox_config.json
you have called sdkbox::PluginAdColony::init()
you are calling sdkbox::PluginAdColony::show("video"); or sdkbox::PluginAdColony::show("v4vc"); someplace depending upon what you are doing…
kolbma
July 14, 2015, 3:38pm
3
I’m using js but yes I’m doing all the calls and adcolony is able to communicate with servers…
I see, ok, thanks, let me look at this.
Sometimes AdColony can take a little while to get setup and start displaying ads, this can be an issue on there end so just be patient.
kolbma
July 21, 2015, 10:01am
6
Waited 5 days and even now no change ^^
Any suggestions?
Could you show us screenshots of the adColony dashboard and how you have set up your app please.
Yes, @SonarSystems systems has a good point, can you show us your code, sandbox_config.json, etc so we can help with this?
nite
July 21, 2015, 10:16pm
9
Can you set a listener like this.
And see if onAdColonyChange ever gets called?
sdkbox.PluginAdColony.setListener({
onAdColonyChange : function (data, available) {
// Called when AdColony finish loading
cc.log("finish loading ads:" + data.name);
},
onAdColonyReward : function (data, currencyName, amount, success) {
// Called when AdColony v4vc ad finish playing
},
onAdColonyStarted : function (data) {
// Called when ad starts playing
},
onAdColonyFinished : function (data) {
// Called when an ad finish displaying
}
});
kolbma
July 22, 2015, 1:02pm
10
nite:
sdkbox.PluginAdColony.setListener({
onAdColonyChange : function (data, available) {
// Called when AdColony finish loading
cc.log(“finish loading ads:” + data.name);
},
onAdColonyReward : function (data, currencyName, amount, success) {
// Called when AdColony v4vc ad finish playing
},
onAdColonyStarted : function (data) {
// Called when ad starts playing
},
onAdColonyFinished : function (data) {
// Called when an ad finish displaying
}
});
Interesting…
Everytime i try to add an AdColony-Listner, my screen goes white after starting the app. If i comment out the listner-Block everything goes right.
I tried to place the listener at the end but my screen goes blank too
nite
July 22, 2015, 5:28pm
11
Make sure to include
#include "PluginAdColonyJSHelper.hpp"
And register the js callbacks with
sc->addRegisterCallback(register_all_PluginAdColonyJS_helper);
http://sdkbox-doc.github.io/en/plugins/adcolony/v3-js/#usage
Were you ever able to get it up and running? If not, I’d love to help.
hey have you got any solution about this ? i have same problem .
nite
May 16, 2016, 6:41pm
14
Did our sample works on your device?