question

wahyuway avatar image
wahyuway asked

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
mobile ads
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ta-Dah Apps avatar image
Ta-Dah Apps answered
For what it is worth, we get this information/error line in logs in our apps yet we do get Amazon apps served. We are using adMob mediation.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Amelia@Amazon avatar image
Amelia@Amazon answered
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.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

neildev avatar image
neildev answered
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.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

ad-men avatar image
ad-men answered
Are you trying to run banners or interstitials? I have interstitials mediating through MoPub and am not experiencing this issue.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

amazonatandy avatar image
amazonatandy answered
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
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.