does setTestDevices work? I used the setTestDevices API, but I still got real Ads?
1 Like
Hey @newguy
Please go through the following -
this is the call to use a debug configuration:
sdkbox::PluginAdMob::setTestDevices("kGADSimulatorID");
otherwise, he has to register your device, and add it to the call
sdkbox::PluginAdMob::setTestDevices("<YOUR_DEVICE_ID_HERE>");
You need to specify your test device ID’s.
please check with our sample code comments also -
https://github.com/sdkbox/sdkbox-admob-sample/blob/master/cpp/Classes/HelloWorldScene.cpp
UPDATE:
also please check this link -
Best,
Pabitra