Amazon Mobile Ads and MoPub mediation error on createAdvertisingIdClient
Hi, I need help. I want to integrate Amazon Mobile Ads and MoPub integration. I created the class for this. But i got error so ad not load. I tested it on emulator and device, but the problem was remain the same. Could not find method com.google.android.gms.ads.identifier.AdvertisingIdClient. , referenced from method com.amazon.device.ads.GooglePlayServicesAdapter.createAdvertisingIdClient Other network that use advertisingidclient such as inmobi, just working fine. Any suggestion? Thank you
Hello wahyuway, Please try the following to resolve this error. 1) Make sure that the most up-to-date Amazon Mobile Ads API is being used. It can be downloaded from
https://developer.amazon.com/ads 2) Check to make sure the device is running on an Android OS version that supports Google Play Services Advertising ID 3) Make sure you're not obfuscating Google's AdvertisingIdClient class (com.google.android.gms.ads.identifier.AdvertisingIdClient) If you have any additional questions please raise a Contact Us (
https://developer.amazon.com/help/contactus.html ) with us and we will look into the issue.
I can confirm this problem. I'm using the latest API, it's running on Android 4.4 and there is no obfuscation. All other ad APIs are working as expected. I'll have to disable Amazon ads on all my Google Play apps. If Google notices that Amazon isn't using the Advertising ID, they'll suspend affected apps.
Hi everyone, I'm Andy, a software developer for the Amazon Mobile Ads API team. Our apologies that you are running into this issue. After reviewing the issue and our code, this is an errant log message that can be safely ignored. We do understand this issue causes confusion, and we are still retrieving the Google Play Services Advertising Identifier successfully (you can verify this by reviewing the logs for our network call and look for an "idfa" field). The error message is referring to a reference to a method that doesn't exist in Google's AdvertisingIdClient (the init "new" method). The method encapsulating that method call is not ever being called so there is no risk of a MethodNotFoundException being thrown. We are working on a fix, and this will be included in a future SDK update. Thank you for being a customer! Andy