Native Advance - UnifiedNativeAdView

894 views
Skip to first unread message

Vjy Anand

unread,
Aug 2, 2018, 12:26:46 PM8/2/18
to Google Mobile Ads SDK Developers
I use Native Advance Ad units (video disabled) with UnifiedNativeAdView class. I am not using MediaView as my Adunit doesn't have video enabled. However, I see below logs in logcat

08-02 21:51:24.117 20139 20139 I Ads     : Received log message: <Google:HTML> You are using the deprecated native ads API. Upgrade to the unified native ads APIs to simplify your native ads integration and to maximize advertiser demand for your native ad impressions. See https://goo.gl/ftp5no for more details.
08-02 21:51:24.118 20139 20139 I Ads     : Received log message: <Google:HTML> No media view is detected. Please implement media view even when no video creative is received. See https://goo.gl/BMzTS2 for more details.

Why do I see these messages even when I use UnifiedNativeAdView and Video disabled in adunit settings? How to address this issue? Thanks

mobileadssdk-a...@google.com

unread,
Aug 2, 2018, 2:58:55 PM8/2/18
to Vjy Anand, Google Mobile Ads SDK Developers
Hi Vijay,

Thanks for reaching out to us. This sounds like an integration issue. For the first issue, make sure that you have updated to the latest version of the SDK and try again. As for the No Media View detected error, the SDK requires you to integrate MediaView even if you are not showing any video. MediaView will also be able to load image assets from the ad response and you can read more about this here.

Regards,
Deepika Uragayala
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/3d9235b5-4cbd-487b-a43f-84ab474c2645%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vjy Anand

unread,
Aug 3, 2018, 1:02:03 AM8/3/18
to google-adm...@googlegroups.com
1) Why MediaView is needed if video or image assets are not used(both are optional) 
2) implementation 'com.google.android.gms:play-services-ads:15.0.1', is this the latest? 

mobileadssdk-a...@google.com

unread,
Aug 3, 2018, 3:12:31 PM8/3/18
to Vjy Anand, Google Mobile Ads SDK Developers
Hi Vijay,

You can ignore this log if you do not have any MediaView to load. However, if you have a main image to be rendered in the app, you are required to use MediaView - 

"You are required to use the MediaView asset instead of the ImageView asset if you want to include a main image asset in the layout for your native ad."

And, v15.0.0 is the latest version for the SDK and you can monitor this here.

Regards,
Deepika Uragayala
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 08/03/18 01:02:02 vi...@iavian.com wrote:
1) Why i need MediaView if I dont want use video or image assets (both are optional) 
2) implementation 'com.google.android.gms:play-services-ads:15.0.1' is this the latest? 


On Friday, August 3, 2018 at 12:28:55 AM UTC+5:30, mobileadssdk-a...@google.com wrote:
Hi Vijay,

Thanks for reaching out to us. This sounds like an integration issue. For the first issue, make sure that you have updated to the latest version of the SDK and try again. As for the No Media View detected error, the SDK requires you to integrate MediaView even if you are not showing any video. MediaView will also be able to load image assets from the ad response and you can read more about this here.

Regards,
Deepika Uragayala
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 08/02/18 12:26:46 vi...@iavian.com wrote:
I use Native Advance Ad units (video disabled) with UnifiedNativeAdView class. I am not using MediaView as my Adunit doesn't have video enabled. However, I see below logs in logcat

08-02 21:51:24.117 20139 20139 I Ads     : Received log message: <Google:HTML> You are using the deprecated native ads API. Upgrade to the unified native ads APIs to simplify your native ads integration and to maximize advertiser demand for your native ad impressions. See https://goo.gl/ftp5no for more details.
08-02 21:51:24.118 20139 20139 I Ads     : Received log message: <Google:HTML> No media view is detected. Please implement media view even when no video creative is received. See https://goo.gl/BMzTS2 for more details.

Why do I see these messages even when I use UnifiedNativeAdView and Video disabled in adunit settings? How to address this issue? Thanks

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.

Fran Soto

unread,
Aug 30, 2018, 4:27:30 AM8/30/18
to Google Mobile Ads SDK Developers
I have the same problem, we are using UnifiedNativeAds and v15.0.1 that is the last one defined in Google's Maven: https://dl.google.com/dl/android/maven2/index.html 

mobileadssdk-a...@google.com

unread,
Aug 30, 2018, 3:23:34 PM8/30/18
to Fran Soto, Google Mobile Ads SDK Developers
Hello Fran, 

Could you elaborate the issue you're facing along with the complete device logs so I can take a look at the error you're receiving and assist you on this? 

Thanks,
Bharani Cherukuri
Mobile Ads SDK Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.

Francisco Soto

unread,
Sep 11, 2018, 7:54:32 AM9/11/18
to Google Mobile Ads SDK Developers
Of course,


I received this log:

09-11 13:45:25.124 26302-26505/com.google.android.gms.example.nativeadvancedexample I/advancedexampl: The ClassLoaderContext is a special shared library.
09-11 13:45:25.284 26302-26302/com.google.android.gms.example.nativeadvancedexample W/Ads: Not retrying to fetch app settings
09-11 13:45:25.524 26302-26508/com.google.android.gms.example.nativeadvancedexample W/Ads: Update ad debug logging enablement as false
09-11 13:45:25.615 26302-26510/com.google.android.gms.example.nativeadvancedexample W/cr_CrashFileManager: /data/user/0/com.google.android.gms.example.nativeadvancedexample/cache/WebView/Crash Reports does not exist or is not a directory
09-11 13:45:25.683 26302-26302/com.google.android.gms.example.nativeadvancedexample I/Ads: Javascript has loaded for native ads.
09-11 13:45:54.951 26302-26302/com.google.android.gms.example.nativeadvancedexample D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraNativeAdViewDelegateCreatorImpl
09-11 13:45:55.594 26302-26302/com.google.android.gms.example.nativeadvancedexample I/Ads: Received log message: <Google:HTML> You are using the deprecated native ads API. NativeAppInstallAd and NativeContentAd APIs will be removed in an  upcoming version of the SDK. Upgrade to the unified native ads APIs to simplify your native ads integration and to maximize advertiser demand for your native ad impressions. See https://goo.gl/ftp5no for more details.
09-11 13:45:55.598 26302-26302/com.google.android.gms.example.nativeadvancedexample I/Ads: Ad impression.

Why ? That sample only use UnifiedNativeAds. 

mobileadssdk-a...@google.com

unread,
Sep 11, 2018, 1:48:55 PM9/11/18
to Francisco Soto, Google Mobile Ads SDK Developers
Hello Fran, 

I was able to replicate the warnings that you're receiving while running our sample apps. I have shared this information with the team. I will keep you posted on any further updates. 

Thanks,
Bharani Cherukuri
Mobile Ads SDK Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.

Jānis Kalpišs

unread,
Sep 12, 2018, 6:09:31 AM9/12/18
to Google Mobile Ads SDK Developers
Hello,

Strangely I also started to get those warnings and have done everything as per instruction/samples.
Would like to get notified about this issue.

Sincerely,
Jānis

mobileadssdk-a...@google.com

unread,
Sep 12, 2018, 9:49:58 AM9/12/18
to Jānis Kalpišs, Google Mobile Ads SDK Developers
Hello Jānis, 

Sure, I will keep you posted on any further updates from the team. 

Thanks,
Bharani Cherukuri
Mobile Ads SDK Team

mobileadssdk...@google.com

unread,
Feb 5, 2019, 9:14:58 AM2/5/19
to Google Mobile Ads SDK Developers
Hello, 

Thank you for your patience. We are not able to replicate the issue with the Native Advanced example now. Could you please get back to us if you're still experiencing this issue with a sample application, to troubleshoot this further?

Regards,
Bharani Cherukuri
Mobile Ads SDK Team
Reply all
Reply to author
Forward
0 new messages