Documentation

Support

Test Devices

Register a device as a test device in the Tapjoy dashboard to access test-only content and automatically enable debug logging during development.
Read time 1 minuteLast updated 3 hours ago

Test Devices open up additional Tapjoy features when you are developing your application. Devices registered as ‘Test Devices’ can view content cards set to "only for test devices". This lets you test specific content units without showing them to all users. Test Devices will automatically turn on Tapjoy Debug Logging for themselves after the SDK connects to the server (compatible with SDK 11.4.0+). Setting up test devices involves finding the advertising ID on the device and adding that ID to the Tapjoy Dashboard "App Settings/Test device” panel. For more information, refer to the Play Console Help documentation on Advertising ID.

Finding your device’s Advertising ID

Google Settings

The first method to capture the advertising ID is to use the Google Settings App. In the Ads section the bottom of the screen will have your Advertising ID.

Logcat

It is possible to capture the advertising ID by observing the log files. To see this in logcat you must ensure Tapjoy debug mode is enabled. For instructions on how to turn on Debug Mode, refer to the following resources: When debug mode is enabled the SDK will write extra data to the device’s logs, including your advertising ID. Here is an example of the id returned on the connect call. You can find this in logcat.
    11-03 16:35:09.256: I/TapjoyConnect(2983): advertising_id: 41bbb39c-4569-4916-a6ee-4a27765f36e1

Registering your test device on the Tapjoy Dashboard

When you have obtained the advertising ID, go to your application’s Settings/ Test Device page. Here you can enter the Advertising ID – this will set your device as a test device for your application.
Test devices user interface page
You can then use test device features. For example, content cards that have ‘Only for Test Devices’ enabled can only be viewed by test devices.
Content card configured only for test devices