Table of Contents
- 1 Adding a test device using the Tapjoy Developer Console
- 2 Finding your device’s Advertising ID.
- 3 Adding your Test Device’s Advertising ID to the Tapjoy Dashboard
Test Devices open up additional Tapjoy features when you are developing your application. Test Devices can view content set to "only for test devices" so you can 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.
If you are interested in learning more about the Advertising ID, check out Google’s documentation here.
Adding a test device using the Tapjoy Developer Console
The easiest way to add a test device to the test device list is to use the Tapjoy "Developers Console". The "Developers Console" can be found by navigating to the upper right under Tools/Developer Console or the following link:
Make sure your app is in debug mode. After navigating to the "Developer Console" link. Run your app on your device and make sure you have connected to Tapjoy. (This depends on the app and where the connect is actually done). Once this is done you can find your device in the list by clicking the ‘User Info’ button and confirm your device by ip address or other information provided in the details page. Once you have confirmed your device click on the +Add to add your device to the test devices page. If for some reason you can not find your device please see sections below for other methods.
Finding your device’s Advertising ID.
If you have too many transactions hitting your app and your device can not be found in the "Developers Console" there are other methods to find your advertising ID. Listed in this section are other options.
Option 1 – Google Settings App.
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. Note the "Google Settings" app is NOT in the device settings application, but a separate app called "Google Settings".
Option 2 – Tapjoy Device Capture Tool.
The second method to capture Advertising Id is to use the free app called "Tapjoy Device Capture Tool". You can find that application here on Google Play.
This is a screenshot of the Tapjoy Device Capture Tool. As you can see it allows you to easily capture your Advertising ID as well as other device IDs.
Option 1 – “The Identifiers App”
– For iOS devices the simplest method to find the advertising ID is to use a Free App called "The Identifiers". You can get it on iTunes here.
Once you install this app you can copy the Advertising ID and then email yourself the Advertising ID.
Android or iOS – Advertising ID from Tapjoy log files.
For both iOS and Android it is possible to capture the advertising ID by observing the log files. In order to enable this “Tapjoy debug” must be turned on in the application. Instructions to turn on Debug Mode can be found at the following links: Native Android SDK, Native iOS SDK, Unity SDK, AIR SDK.
Once debugging 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.
11-03 16:35:09.256: I/TapjoyConnect(2983): advertising_id: 41bbb39c-4569-4916-a6ee-4a27765f36e1
Adding your Test Device’s Advertising ID to the Tapjoy Dashboard
Once 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.
Once this is done you can then make use of Test Device features. Content units that have ‘Only for Test Devices’ selected can only be viewed by Test Devices.