Whilst developing your app, you can use our test activity to ensure your Tapdaq integration is successful.
Run this method after Tapdaq has been initialised.
This page allows you to test your integration as it would normally be used.
This allows you to show any type of add you have set up, and it will automatically select a network for you.
Here is a list of all the networks available and the state they are in, selecting any of them will allow you to directly interact with that network for testing.
Here you can directly test each network and see ads from them. Only the ad types appropriate for each network will be available.
Tapdaq SDK, Adapter and Network SDK versions are also noted, the Tapdaq SDK & Adapter version MUST match.
TLog class has 5 logging levels (Disabled, Info, Warning, Error and Debug), you can set your preferred level at any time using the following code.
Google AdMob and Facebook Audience Network ad services both allow developers to specify test devices, these will serve test ads before you have your account fully set up.
When creating the adapters and initialising Tapdaq, you should add your device IDs, like so:
TapdaqConfig config = new TapdaqConfig(); config.registerTestDevices(TMMediationNetworks.AD_MOB, Arrays.asList("")); config.registerTestDevices(TMMediationNetworks.FACEBOOK, Arrays.asList(""));
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 and Facebook, they look like this:
// Android AdMob I/Ads: Use AdRequest.Builder.addTestDevice("4D32C4G30407EPC0EBB847E0E2694ACE") to get test ads on this device. // Android Facebook D/AdSettings: Test mode device hash: 441g39532c1fy296e2840753c9c217b0
When testing Facebook Audience Network, the test device should have the Facebook app installed and logged in