"Asset uses ImageView, not MediaView"

506 views
Skip to first unread message

luk...@gmail.com

unread,
May 28, 2021, 11:28:59 PM5/28/21
to Google Mobile Ads SDK Developers
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

Mobile Ads SDK Forum Advisor Prod

unread,
May 31, 2021, 12:47:09 AM5/31/21
to luk...@gmail.com, google-adm...@googlegroups.com

Hi there,

Thank you for reaching out to us.

Could you please provide the following details via Reply privately to author option or send it directly to mobileads...@gmail.com?

Regards,

Google Logo
Princess Pamela Pineda
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2HyojD:ref
Reply all
Reply to author
Forward
0 new messages