@Marquisd wrote:
I've installed Admob via SDKBox into my coco2dx v3.10 project.
in the AppDelegate::applicationDidFinishLaunching(), i call:
sdkbox::PluginAdMob::init(); sdkbox::PluginAdMob::show("home");
and nothing happens.
Checking isAvailable returns false all the time.
sdkbox::PluginAdMob::isAvailable("home")
I've replace the id for the 'id' of my own ad in the 'sdkbox_config.json'
Does my application need to be published for the ad's to show up? I'd like to test the ads before publishing. Is there a way to do this?
I've tried adding:
sdkbox::PluginAdMob::setTestDevices(MY_HASHED_DEVICE_ID);
but still no luck.
Posts: 1
Participants: 1