Test Mode

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 debugging like so:

Objective-C
Swift
// Objective-C

TDProperties *properties = [TDProperties defaultProperties];
properties.isDebugEnabled = YES;

...

// Initialise Tapdaq with properties
[[Tapdaq sharedSession] setApplicationId:@"YOUR_APP_ID"
                                   clientKey:@"YOUR_CLIENT_KEY"
                                  properties:properties];

AdColony

Set via the AdColony dashboard on a Zone level

AdMob

Full documentation available in their documentation

Adding test devices

Devices ID's can be found in log messages shown in the Console of the Debug Area of Xcode when Tapdaq starts loading an ad from AdMob and Facebook, they look like this:

// iOS AdMob
<Google> To get test ads on this device, call: request.testDevices = @[ @"d3fsh152gbac80cbcf774dd4520a4696" ];

To add your test devices, update the initialisation code in your AppDelegate.m/AppDelegate.swift file by inserting device ID's from the above log messages like so:

Objective-C
Swift
// Objective-C
TDProperties *properties = [TDProperties defaultProperties];
...


TDTestDevices *amTestDevices = [[TDTestDevices alloc] initWithNetwork:TDMAdMob
                                                          testDevices:@[ @"d3fsh152gbac80cbcf774dd4520a4696", @"MY_OTHER_DEVICE_ID" ]];
[properties registerTestDevices:amTestDevices];

[[Tapdaq sharedSession] setApplicationId:@"YOUR_APP_ID"
                               clientKey:@"YOUR_CLIENT_KEY"
                              properties:properties];

AppLovin

Set via the AppLovin dashboard on an App level. Note it is not immediate and will only be enabled for a few hours

Chartboost

Set via the Chartboost dashboard on an App level. Note it will only be enabled for a set time period

Facebook Audience Network

Two options are detailed in their documentation

When testing Facebook Audience Network, the test device should have the Facebook app installed and logged in

Server Side

Uses IDFA/GAID to identify test devices, set via their Monetisation Manager dashboard

Client Side

A device id can be obtained from the logs and set via the Tapdaq interface.

Adding test devices

Devices ID's can be found in log messages shown in the Console of the Debug Area of Xcode when Tapdaq starts loading an ad from AdMob and Facebook, they look like this:

[FBAudienceNetworkLog/FBAdSettings:133 thread:1] Test mode device hash: 0aaea61262f466eedc5efacf191bd33a321e676c

To add your test devices, update the initialisation code in your AppDelegate.m/AppDelegate.swift file by inserting device ID's from the above log messages like so:

Objective-C
Swift
// Objective-C
TDProperties *properties = [TDProperties defaultProperties];
TDTestDevices *fbTestDevices = [[TDTestDevices alloc] initWithNetwork:TDMFacebookAudienceNetwork
                                                          testDevices:@[ @"0aaea61262f466eedc5efacf191bd33a321e676c", @"MY_OTHER_DEVICE_ID" ]];
[properties registerTestDevices:fbTestDevices];

[[Tapdaq sharedSession] setApplicationId:@"YOUR_APP_ID"
                               clientKey:@"YOUR_CLIENT_KEY"
                              properties:properties];

InMobi

Set via the InMobi dashboard on a Placement level

IronSource

Set via the IronSource dashboard on an App/Ad Unit level

Maio

Set via the SDK, enable Tapdaq Debug mode for testing.

Mintegral

No test mode available.

Tapjoy

Full details in their documentation

Set via the Tapjoy dashboard, IDFA/GAID's can be added to enable ads on specific devices

UnityAds

Set via the UnityAds dashboard on an App/Project level

Vungle

Set via the Vungle dashboard on an App level

YouAppi

Set via the YouAppi dashboard on an App level

ZPlay

Some test credentials are available in their documentation