The Audience Network SDK debugger for Android is a tool to help developers troubleshoot their integration of the Audience Network SDK for Android. This tool will be helpful to you if you are experiencing some of the following issues:
SDK.init
is required, and failing to call it can block you from integrating successfully.show()
before load()
.load()
at all.In your application, include the following code before any initialization.
AdSettings.setDebugBuild(true)
Then, while you are running the app, either in an emulator, or on a phone attached with a USB cable, run the following command in the terminal.
adb logcat -s ADNW_DEBUG_LOGGER
To clear the logs, run the following command.
adb logcat -c
Below are some example logs showing successful and unsuccessful integrations. The first example shows a successful integration.
In this example, you can see the following:
The example above shows a successful flow with all the steps that must occur for a successful integration. Below you can see an example of an unsuccessful integration where a NO FILL error occurs.
You can see that at 16:14:07 the server replied successfully, but a "NO FILL" was received, meaning that we could not return an ad. The following line explains that the placement_id
was invalid.
In this case, the publisher needs to fix the placement_id
.