1

I need to set height of my com.google.android.gms.ads.formats.MediaView to wrap_content, so it nicely wraps the images. Will video ads will still show?

<com.google.android.gms.ads.formats.MediaView
    android:id="@+id/mediaview"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>

Native ads policies & guidelines state that

For native videos, the main asset MediaView must be at least 120x120dp (Android) or 120x120pts (iOS). Video ads will not serve to implementations with main asset MediaViews smaller than 120dp in any dimension.

When testing I never get any video ad - just images. I would expect video ads to be working with this setup.

Primož Kralj
  • 5,534
  • 14
  • 65
  • 125

0 Answers0