--
---
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/82f22a71-d152-4c5d-b711-158119766af4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,Thank you for reaching out to us.The setReturnUrlsForImageAssets() option is used mainly to inform the SDK if the image assets will be downloaded automatically or not. Setting this to true will result to the SDK returning just the URI and Scale properties and not download the image asset/s, thus the Drawable in the returned NativeAd.Image will be null. However, this option is mainly for the NativeAd.Image used when setting the ImageView asset as seen in our sample code.As per guide, you are correct that you should now use the MediaView asset, instead of the ImageView asset, to render the main image asset in your native ad layout. Since the NativeAd.Image is not used when setting the MediaView, then you don't need to set the setReturnUrlsForImageAssets() option for this. On the other hand, I will double check this with the rest of the team to get more clarity on this then get back to you for any official feedback.Regards,Ivan BautistaMobile Ads SDK Team
On 09/02/18 11:52:10 a0s...@gmail.com wrote:
google play services: 11.4.2--test on Android 6.x ~ 8.x
If we use NativeAdOptions.Builder().setReturnUrlsForImageAssets(true), MeidaView won't display any images even we call adView.setMediaView(mediaView).If we pass false to setReturnUrlsForImageAssets(), MediaView can redener the image asset correctly.Since the new AdMob police ask developers must use MediaView to render image/video, does it means that we have to pass false to setReturnUrlsForImageAssets()?
If so, please note it clearly in the document.
---
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.
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/6f2bcd61-927b-44d6-9a6c-bf5f4685f837%40googlegroups.com.
Hi If we use NativeAdOptions.Builder().setReturnUrlsForImageAssets(false) may cause Out of memory.Now the new AdMob police ask developers must use MediaView to render image/video; It bothers me~
On Sunday, September 2, 2018 at 11:52:10 AM UTC+8, Sam Lu wrote:google play services: 11.4.2test on Android 6.x ~ 8.x
If we use NativeAdOptions.Builder().setReturnUrlsForImageAssets(true), MeidaView won't display any images even we call adView.setMediaView(mediaView).If we pass false to setReturnUrlsForImageAssets(), MediaView can redener the image asset correctly.Since the new AdMob police ask developers must use MediaView to render image/video, does it means that we have to pass false to setReturnUrlsForImageAssets()?
If so, please note it clearly in the document.
--
---
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/f2a1d468-3299-4c31-bb91-f9b2bcde0fa5%40googlegroups.com.
What's the difference between ad-manager and Admob? When to use over other? Thanks
Hi,Thank you for reaching out to us.The setReturnUrlsForImageAssets() option is used mainly to inform the SDK if the image assets will be downloaded automatically or not. Setting this to true will result to the SDK returning just the URI and Scale properties and not download the image asset/s, thus the Drawable in the returned NativeAd.Image will be null. However, this option is mainly for the NativeAd.Image used when setting the ImageView asset as seen in our sample code.As per guide, you are correct that you should now use the MediaView asset, instead of the ImageView asset, to render the main image asset in your native ad layout. Since the NativeAd.Image is not used when setting the MediaView, then you don't need to set the setReturnUrlsForImageAssets() option for this. On the other hand, I will double check this with the rest of the team to get more clarity on this then get back to you for any official feedback.Regards,Ivan BautistaMobile Ads SDK Team
On 09/02/18 11:52:10 a0s...@gmail.com wrote:
google play services: 11.4.2--test on Android 6.x ~ 8.x
If we use NativeAdOptions.Builder().setReturnUrlsForImageAssets(true), MeidaView won't display any images even we call adView.setMediaView(mediaView).If we pass false to setReturnUrlsForImageAssets(), MediaView can redener the image asset correctly.Since the new AdMob police ask developers must use MediaView to render image/video, does it means that we have to pass false to setReturnUrlsForImageAssets()?
If so, please note it clearly in the document.
---
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.
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/82f22a71-d152-4c5d-b711-158119766af4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
---
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/4fed2bf9-ed0c-4ea1-ad46-992f183e9c9a%40googlegroups.com.