googleads-adsense-examples
googleads-adsense-examples copied to clipboard
AdSense API returning null in Android 6.0
List<Account> items = apiController.getAdsenseService().accounts().list().execute().getItems();
When I run this command in Android 6.0, it always returns null.
java.lang.IllegalArgumentException: the name must not be empty: null
Running same command in previous version of Android works fine.