Test Mode - tapdaq/cordova-plugin GitHub Wiki
The Tapdaq SDK does not have a test mode, however many networks do and will enable ads to show reliably for test purposes. To enable SDK level test mode (for networks which support it), enable debug logging like so:
var config = {
logLevel: Tapdaq.LogLevel.Debug
;
Set via the AdColony dashboard on a Zone level
Full documentation available in their documentation
When initialising Tapdaq, add device IDs like so:
var config = {
ios: {
appId: "<iOS_APP_ID>",
clientKey: "<IOS_CLIENT_KEY>",
testDevices: [
{
network: Tapdaq.AdNetwork.AdMob,
devices: [
"<ADMOB_TEST_DEVICE_ID>"
]
}
]
},
android: {
appId: "ANDROID_APP_ID",
clientKey: "ANDROID_CLIENT_KEY",
testDevices: [
{
network: Tapdaq.AdNetwork.AdMob,
devices: [
"ADMOB_TEST_DEVICE_ID"
]
}
]
}
};
Use adb logcat or Android Studio's console to view the applications logs, devices ID's will be printed when loading an ad from AdMob, they look like this:
I/Ads: Use AdRequest.Builder.addTestDevice("4D32C4G30407EPC0EBB847E0E2694ACE") to get test ads on this device.
Set via the AppLovin dashboard on an App level. Note it is not immediate and will only be enabled for a few hours
Set via the Chartboost dashboard on an App level. Note it will only be enabled for a set time period
Two options are detailed in their documentation
When testing Facebook Audience Network, the test device should have the Facebook app installed and logged in
Uses IDFA/GAID to identify test devices, set via their Monetisation Manager dashboard
A device id can be obtained from the logs and set via the Tapdaq interface.
When initialising Tapdaq, add device IDs like so:
var config = {
ios: {
appId: "<iOS_APP_ID>",
clientKey: "<IOS_CLIENT_KEY>",
testDevices: [
{
network: Tapdaq.AdNetwork.FacebookAN,
devices: [
"<FAN_TEST_DEVICE_ID>"
]
}
]
},
android: {
appId: "ANDROID_APP_ID",
clientKey: "ANDROID_CLIENT_KEY",
testDevices: [
{
network: Tapdaq.AdNetwork.FacebookAN,
devices: [
"FAN_TEST_DEVICE_ID"
]
}
]
}
};
Use adb logcat or Android Studio's console to view the applications logs, devices ID's will be printed when loading an ad from Facebook, they look like this:
D/AdSettings: Test mode device hash: 441g39532c1fy296e2840753c9c217b0
Set via the InMobi dashboard on a Placement level
Set via the IronSource dashboard on an App/Ad Unit level
Set via the SDK, enable Tapdaq Debug mode for testing.
Full details in their documentation
Set via the Tapjoy dashboard, IDFA/GAID's can be added to enable ads on specific devices
Set via the UnityAds dashboard on an App/Project level
Set via the Vungle dashboard on an App level
Set via the YouAppi dashboard on an App level