Hello,
I just updated to AdMob sdk 20.1 from an older version and I mediate Native Ads trough MoPub.
During the updating process, I properly changed the usage of ImageView to MediaView as required for the new SDK.
At this point, AdMob Native Ads were working fine on my test device with a debug build.
But now I just created a release build apk to test and I am suddenly getting this error:
2021-05-29 01:23:03.182 18045-18045/E/MoPub: [com.mopub.nativeads.GooglePlayServicesNative] [ca-app-pub-xxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxx] Adapter GooglePlayServicesNative LOAD Failed with error: {
"Code": 3,
"Message": "Asset uses ImageView, not MediaView. <https:\/\/
support.google.com\/admob\/answer\/9905175#5>",
"Domain": "com.google.android.gms.ads",
"Cause": "null",
"Response Info": {
"Response ID": "null",
"Mediation Adapter Class Name": "",
"Adapter Responses": []
}
}
Please note that the only thing I did was changing from Debug build to Release build.
I then switched back to create a Debug build and I am now getting the same error in the Debug apk too.
Again, please note that before this event, the Native Ads were loading and displaying properly. No code was changed in my App.
Do you maybe have any idea what's happening?
Thanks a lot