<Google:HTML> Not all asset views lie inside the native ad view. This indicates an integration problem. Such implementations will not be supported in the future

219 views
Skip to first unread message

dmitriy...@easybrain.com

unread,
Nov 26, 2020, 6:15:42 AM11/26/20
to Google Mobile Ads SDK Developers

When trying to render AdMob native ad we see log:

```
1 2020-11-26 13:32:08.533 15110-15110/com.google.android.gms.example.nativeadvancedexample I/Ads: Received log message: <Google:HTML> Not all asset views lie inside the native ad view. This indicates an integration problem. Such implementations will not be supported in the future. Please make sure that all native ad assets are rendered inside the native ad view.

```

It happens on Samsung devices (Samsung Galaxy S8, S9, S20) when in the device display settings screen zoom, screen resolution are changed.
In particular, if we set in the device display settings:


image-20201125-130454.png   image-20201125-130515.png image-20201125-131250.png


We see the problem log in the AdMob sample (when using our template):

AdMob: 19.5.0

The template for native ad we’re using:

```
<com.google.android.gms.ads.formats.UnifiedNativeAdView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content"> <androidx.constraintlayout.widget.ConstraintLayout style="?attr/easyNativeRootStyle" android:layout_width="match_parent" android:layout_height="wrap_content"> <androidx.constraintlayout.widget.Guideline android:id="@+id/guidelineStart" android:layout_width="0dp" android:layout_height="0dp" android:orientation="vertical" app:layout_constraintGuide_begin="16dp" /> <androidx.constraintlayout.widget.Guideline android:id="@+id/guidelineEnd" android:layout_width="0dp" android:layout_height="0dp" android:orientation="vertical" app:layout_constraintGuide_end="16dp" /> <androidx.constraintlayout.widget.Guideline android:id="@+id/guidelineTop" android:layout_width="0dp" android:layout_height="0dp" android:orientation="horizontal" app:layout_constraintGuide_begin="16dp" /> <androidx.constraintlayout.widget.Guideline android:id="@+id/guidelineBottom" android:layout_width="0dp" android:layout_height="0dp" android:orientation="horizontal" app:layout_constraintGuide_end="16dp" /> <FrameLayout android:id="@+id/easyNativeIconPlaceholder" android:layout_width="50dp" android:layout_height="50dp" app:layout_constraintStart_toStartOf="@+id/guidelineStart" app:layout_constraintTop_toTopOf="@+id/guidelineTop"> <ImageView android:id="@+id/easyNativeIcon" android:layout_width="match_parent" android:layout_height="match_parent" /> </FrameLayout> <TextView android:id="@+id/easyNativeTitle" style="?attr/easyNativeTitleStyle" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="10dp" android:layout_marginBottom="4dp" app:layout_constraintBottom_toTopOf="@+id/easyNativeAdText" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@+id/easyNativeIconPlaceholder" app:layout_constraintTop_toTopOf="@+id/easyNativeIconPlaceholder" app:layout_constraintVertical_chainStyle="packed" tools:text="Title" /> <TextView android:id="@+id/easyNativeAdText" style="?attr/easyNativeAdTextStyle" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="10dp" android:text="@string/easy_native_ad" app:layout_constraintBottom_toBottomOf="@+id/easyNativeIconPlaceholder" app:layout_constraintEnd_toEndOf="@+id/guidelineEnd" app:layout_constraintStart_toEndOf="@+id/easyNativeIconPlaceholder" app:layout_constraintTop_toBottomOf="@+id/easyNativeTitle" /> <TextView android:id="@+id/easyNativeText" style="?attr/easyNativeTextStyle" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="16dp" app:layout_constraintEnd_toEndOf="@+id/guidelineEnd" app:layout_constraintStart_toStartOf="@+id/guidelineStart" app:layout_constraintTop_toBottomOf="@+id/easyNativeIconPlaceholder" tools:text="Text" /> <FrameLayout android:id="@+id/easyNativeMainPlaceholder" android:layout_width="0dp" android:layout_height="0dp" android:layout_marginTop="10dp" app:layout_constraintBottom_toTopOf="@+id/easyNativeCta" app:layout_constraintDimensionRatio="16:9" app:layout_constraintEnd_toEndOf="@+id/guidelineEnd" app:layout_constraintStart_toStartOf="@+id/guidelineStart" app:layout_constraintTop_toBottomOf="@+id/easyNativeText"> <com.google.android.gms.ads.formats.MediaView android:id="@+id/easyNativeMain" android:layout_width="match_parent" android:layout_height="match_parent" /> </FrameLayout> <Button android:id="@+id/easyNativeCta" style="?attr/easyNativeCtaStyle" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="10dp" app:layout_constraintBottom_toBottomOf="@+id/guidelineBottom" app:layout_constraintEnd_toEndOf="@+id/guidelineEnd" app:layout_constraintStart_toStartOf="@+id/guidelineStart" app:layout_constraintTop_toBottomOf="@+id/easyNativeMainPlaceholder" tools:text="Install" /> </androidx.constraintlayout.widget.ConstraintLayout> </com.google.android.gms.ads.formats.UnifiedNativeAdView>
```
Logs are in the attachment.

At the same time we see that native ad is displayed correctly and all views are laid inside UnifiedNativeAdView:


image.png

image.png

Is that an issue with our template (and if so, how we should fix it).
Or it is an issue on the AdMob SDK side (false-positive detection)?

Thanks!


log_admob_native.log

Mobile Ads SDK Forum Advisor Prod

unread,
Nov 26, 2020, 10:07:28 PM11/26/20
to google-adm...@googlegroups.com

Hi there,

Thank you for reaching out to us. Could you please share with us the project file (based from our sample app for native ad) which this issue is reproducible for our test reference? 

You may send us a shareable link to it via "Reply to author". In case the "Reply to author" is unavailable you may send that link to our testing alias mobileads...@gmail.com.


Regards,

Google Logo
Sherwin Diesta
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q28lAIl:ref
Message has been deleted
Message has been deleted

dmitriy...@easybrain.com

unread,
Nov 27, 2020, 7:32:11 AM11/27/20
to Google Mobile Ads SDK Developers
Hi, Admob team. I sent email with Admob Sample.
Please review box-  mobileads...@gmail.com.

Ritosh Stauts

unread,
Nov 27, 2020, 9:58:11 AM11/27/20
to dmitriy...@easybrain.com, Google Mobile Ads SDK Developers
Super

--

---
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/6f78f672-1332-48fa-a192-4ef036977b44n%40googlegroups.com.

Mobile Ads SDK Forum Advisor Prod

unread,
Nov 30, 2020, 12:32:59 PM11/30/20
to google-adm...@googlegroups.com
Hi Dmitriy,

Thank you for the response back. I was your email and was able to run the app on our end. From what I can tell everything ran fine.While I did see a few errors due to depreciation. Everything showed as the ad being within the Native Ad View. If there is something else you can add to this. Or if you have more information about how you are able to see this error please let us know.

Regards,
Google Logo
William Pescherine
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q28lAIl:ref

dmitriy...@easybrain.com

unread,
Dec 1, 2020, 1:52:58 AM12/1/20
to Google Mobile Ads SDK Developers
HI!. ~You need to use test environment from my 1st message (you have to change device and screen setting as well)
///
It happens on Samsung devices (Samsung Galaxy S8, S9, S20) when in the device display settings screen zoom, screen resolution are changed.
In particular, if we set in the device display settings:


///

Mobile Ads SDK Forum Advisor Prod

unread,
Dec 1, 2020, 4:21:07 AM12/1/20
to google-adm...@googlegroups.com

Hi there,

Thank you for your response. Let me share this with the rest of the team to investigate further. Will get back to you once we have our findings.


Regards,

Google Logo
Sherwin Diesta
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q28lAIl:ref

Mobile Ads SDK Forum Advisor Prod

unread,
Dec 2, 2020, 12:16:04 AM12/2/20
to google-adm...@googlegroups.com

Hi,

Sam here from the Mobile Ads SDK support team.

I tested this on a Samsung S8 using the provided sample with a range of screen zoom settings and I did not see the log message you mentioned.

Can you provide more specific instructions to reproduce with provided sample?

Regards
 

Sam



ref:_00D1U1174p._5004Q28lAIl:ref

dmitriy...@easybrain.com

unread,
Dec 2, 2020, 3:01:40 AM12/2/20
to Google Mobile Ads SDK Developers
Device - Samsung Galaxy S8 (Android 7) (G950F)
Settings - Display,
 zoom and font / screen zoom -> (в small) 
 screen resolution -> 1480x720 (HD+)

    



Message has been deleted

Mobile Ads SDK Forum Advisor Prod

unread,
Dec 3, 2020, 12:04:50 AM12/3/20
to google-adm...@googlegroups.com
Hi,

Please see attached screenshots, I was unable to reproduce this using the provided settings.

Note that this is in BrowserStack since I don't have access to a Samsung device specified.

If you could provide any more info or perhaps a video of this occurring with logs that would be helpful.
Screen Shot 2020-12-03 at 3.01.23 PM.png
Screen Shot 2020-12-03 at 3.01.35 PM.png
Reply all
Reply to author
Forward
0 new messages