Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17093

AdMob with SDK box not showing ads. Ad isAvailable always false

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 17093

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>