1. Sample app source code could be found here, compiled apk is here
2. Steps to reproduce:
- Install and run the attached file AdMobTest.apk
- Click "Init ads" button
- Wait until "Request ads" button becomes active
- Press "Request ads" button.
Expected result: Ad loaded and registered successfully, no
exceptions
Actual result: Ad assets registration throws the following
exception: No such proxy method:
_lrzYIkvPC4Ct86Sgf1d6FlyaJ3M._eXQBkxLYQ0eJrSK9oYuIIkse1ON.onPaidEvent
Please see attached AdMobTest_log_1.txt
3. Unity Version
Reproducible on: Unity 2020.3.18, Unity 2020.3.30
4. SDK version:
SDK version is not explicitly specified, unity package is called GoogleMobileAds-native.unitypackage, and does not contain any version declaration
In GoogleMobileAdsDependencies.xml I see the following versions: com.google.android.gms:play-services-ads:19.5.0, com.google.code.gson:gson:2.8.5
Hi Vasily,
Thank you for providing the requested information.
Can you confirm if you implemented both unity plugin and native plugin in your application where you encountered this error? In addition to that, can also you confirm if you've tried to use the new unity version that supports and tested on the new version(Google Play services 20.6.0) of the AdMob SDK for android?
Regards,
|
||||||
Hi Princess Pamela
>Can you confirm if you implemented both unity plugin and native plugin in your application where you encountered this error?
Yes.
I imported unity plugin (I tried both GoogleMobileAds-v6.1.2.unitypackage and GoogleMobileAds-v7.0.0.unitypackage) into the project then I imported the native plugin (GoogleMobileAds-native.unitypackage)
(please note that GoogleMobileAds-native overwrites the following libraries during the import process: GoogleMobileAds.dll, GoogleMobileAds.Core.dll and GoogleMobileAds.Common.dll)
After that I can reproduce described behavior: on native ad
asset registration I can see the following exception
Unity: Exception: No such proxy method: _lrzYIkvPC4Ct86Sgf1d6FlyaJ3M._eXQBkxLYQ0eJrSK9oYuIIkse1ON.onPaidEvent(System.Int32,System.Int64,System.String)
>In addition to that, can also you confirm if you've tried to
use the new unity
version that supports and tested on the new version(Google
Play services 20.6.0) of the AdMob SDK for android?
GoogleMobileAds-native overwrites GoogleMobileAdsDependencies.xml
and replaces play-services-ads:20.6.0 with play-services-ads:19.5.0.
Please see attached GoogleMobileAds-native import screenshot
WBR
Vasily
Hi Vasily,
Thank you for your response.
Since you mentioned that you're using both unity plugin and native plugin. This might be the reason for these errors as GoogleMobileAds-native.unitypackage is not compatible with GoogleMobileAds-v6.x.x.unitypackage. Then for the new version of unity plugin to be compatible with the native plugin, we will be releasing a separate Native ads plugin that will have a dependency on this main plugin.
Hello Mark, hello Princess Pamela
Thanks you for your response.
I've uploaded updated sample project (SourceCode.zip, AdMobTest.apk and AdMobTestLog_2.txt) to the google form provided by Mark
Steps to reproduce are the same:
1. Install and run the attached file AdMobTest.apk
2. Click "Init ads" button
3. Wait until "Request ads" button becomes active
4. Press "Request ads" button.
5. Wait until ad is loaded and applied
Please note that according to my investigations exception is thrown when I try to register ad gameobjects, please see "NativeAdView" class "RegisterObjects(UnifiedNativeAd nativeAd)" method
WBR
Vasily
Hi Vasily,
Thank you for getting back to us.
Let me share this to the rest of the team to further check this. We will update you once we have more information.
WBR
Vasily
|
||||||
|
||||||
Hi Vasily,
The Google Mobile Ads Native plugin 7.0.0 requires the Google Mobile Ads plugin version 7.0.0 to work. [Can you please upgrade the plugin](https://github.com/googleads/googleads-mobile-unity/releases/tag/v7.0.0) and try again?
Thanks,
Nick
Hi Vasily,
Thank you for your response.
I've shared this to the rest of the team to further check your research on this. We will update you once we have more information.
Regards,
|
||||||
Hi Vasily,
Thank you for your response.
Upon checking, apparently there's no update yet from the team. We will update you once we have more updates from the team.
Hi Vasily,
I hope you're doing well.
I just want to circle back on this. The team mentioned that this has been fixed. Feel free to come back to us if you still encounter any issues regarding this.
Hi Vasily,
Thank you for confirming that you still have some errors on your end. With that, can you provide us with your sample app where this error are happening so that we can check it further?
If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:
1. Navigate to https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002ZKqQvQAL&entry.80707362=00100978
2. Fill out all fields, and attach your file(s).
3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.
Hi Vasily,
I'm glad to know that the bug is gone on the new version. If you have any other concerns related to the implementation of Google Mobile Ads SDK, kindly provide us the details. We'll be happy to assist you.
Hi Tienhagioi,
Can you confirm if you still encountering this error using the latest version of the unity?