Test your implementation
As our algorithm works with precise targeting, you may not receive any ad while testing your application. In this case we provide two ways for you to test:
  • by using a test Ad unit id.
  • by adding a test device on your asset.
Test devices and test ad units will always receive test ads when calling the Ogury SDK.

Test ad units

You can suffix the Ad unit id with _test in your ironSource Dashboard.
  • Select the right app.
  • Click on the edit button of the Ogury network in the Custom network tab.
  • In the pop-up window, add _test suffix to the Ad Unit Id and click on Save.
    • E.g. replace "012345678-abcd-abcd-0123456789ab" by "012345678-abcd-abcd-0123456789ab_test"
Make sure to remove _test suffix from the Ad unit id before pushing your application to any store.
This is the preferred way to test your implementation if you are behind a VPN.

Test device

Step 1: Get your device Google Advertising ID (AAID)

  • Open your device Settings.
  • Under Google > Ads, copy the value under Your advertising ID.

Step 2: Add your device as a test device

  • Go to your Asset list and select your Asset.
  • Click on the Monetization settings line in the left-menu.
  • Switch to the TEST DEVICES tab and click on NEW TEST DEVICE.
  • Paste the Advertising ID in the AAID field and click on ADD TEST DEVICE.

Step 3: Check on your device

Once properly setup you will be able to see test ads on your device.
It may take up to 1 hour before you start receiving test ads on your device.
If you ever wish to see actual ads on the test device you have configured above, you will need to explicitly remove the device from your list of test devices.

Enable logging

The Ogury SDK provides logs to get useful information on your integration status and any issue that might occur. To follow those logs:
  • Connect your device to Android Studio
  • Then filter the logs after the OGURY keyword to separate them from everything else.
By default, the log level is set to ERROR so that you can tracks every errors might occur. For more details around the integration status you can enable the DEBUG level by calling the following method before the Ogury SDK start:
To disable logging set the log level to NONE.