Adaptive banner is fullscreened when ad with video is loaded. See screenshots

245 views
Skip to first unread message

Ben

unread,
Jun 2, 2021, 6:19:08 AM6/2/21
to Google Mobile Ads SDK Developers

Using latest dependency:
implementation 'com.google.android.gms:play-services-ads:20.1.0'

Adaptive banner is added programmatically to a RelativeLayout. Thus the RelativeLayout is the parent layout of the adaptive ad and the parent layout is set to a max height of 90dp.

<RelativeLayout
android:id="@+id/layout_ad"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/teal"
android:elevation="8dp"
android:minHeight="50dp"
android:maxHeight="90dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />

The background is set to teal on purpose to make the fullscreen issue visible!

The first picture (taken from a video) shows a Facebook ad, 2nd picture shows the parent layout takes over the whole screen. This is for a split second. The 3rd and 4th picture show a new Facebook ad but with a video inside the banner. The ad is back to a normal size.

The fullscreening issue happens whenever a banner is loaded that has a small video inside of it. So it's not limited to Facebook ads.

1.png2.png3.png
4.png

Mobile Ads SDK Forum Advisor Prod

unread,
Jun 2, 2021, 9:43:49 AM6/2/21
to google-adm...@googlegroups.com
Hi Ben,

Thank you for reporting this. For us to diagnose, could you send us privately a minimally modified sample app project (download here) that reliably demonstrates this issue along with a Charles log of this happening? Alternatively, you may send to us via our testing alias mobileads...@gmail.com with a post on this thread once you have done so.

Regards,

Google Logo
Aryeh Baker
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2HzYZ2:ref

Ben

unread,
Jun 5, 2021, 12:11:46 PM6/5/21
to Google Mobile Ads SDK Developers
Hello!

I downloaded the sample app and I'm able to modify the layout so that it would be like in the pictures in my first post. But before I do so I ran into two issues:

1) I was unable to correctly setup Charles and the proxy on an emulator
2) I was unable to come across any banner ad that has a small video embedded, like the one I posted in my first post

Charles and proxy:

1) I use an emulator from Android Studio running SDK 29 (higher than Android N)
2) Google Play Services - Yes. Update them - Yes
3) Enabling Network Tracing on the mobile device - Yes
4) Installed Charles on Windows 10 - Yes
5) Help - SSL Proxying - Install Charles Root Cert on a Mobile Device - No. There's no dialog asking me to use the certificate. I tried Chrome browser, Google app, Firefox. Also tried setting the website to "Desktop".No luck. Testing the website on my desktop worked instantly.
6) Set IP to 127.0.0.1 or to the IP address which the dialogs shows, i.e. 192.168.xxx.yyy did not help
7) Ads were never loaded. Logcat always printed: Ads: Ad failed to load : 0
8) This line of code was added to the manifest:
<application
android:networkSecurityConfig="@xml/network_security_config"
The file itself had the correct config already. So no changes in network_security_config.xml
9) No ads ever showed up
10) Running the sample app without the proxy shows banner ads



No small embedded video ads in banners

As I mentioned before I was unable to come across any such ad anymore. If I can remember correctly I saw these ads from Facebook, Ebay, Instagram. Only those ads caused the issue I reported. All other ads don't. Is there a way to get a test ad with an embedded video?

Looking forward to hearing from you and how to proceed from here!

Thanks!

doc zy

unread,
Jun 5, 2021, 7:26:27 PM6/5/21
to Google Mobile Ads SDK Developers
HI,
My app is available on appstore
App ID : id1570579524
App link : https://apps.apple.com/app/id1570579524
Apple Account Name : tran nhung
Please help me as soon as possible. please, please

Mobile Ads SDK Forum Advisor Prod

unread,
Jun 7, 2021, 1:34:38 AM6/7/21
to google-adm...@googlegroups.com

Hi Ben,

Thank you for reaching out to us.

I work with Aryeh and will be assisting you on this. With regard to your concern, you can follow this guide on how you capture mobile session traffic. For test ads with video, you can use our sample ad unit id with video ads.

Regards,

Google Logo
Princess Pamela Pineda
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2HzYZ2:ref

Ben

unread,
Jun 7, 2021, 4:01:27 AM6/7/21
to Google Mobile Ads SDK Developers
Hello!

thank you for the two links. I'd like to tackle the second issue first. That is that I need to get a banner ad with an embedded video so that the issue appears. Here's a screenshot with the ad unit ID ( ca-app-pub-3940256099942544/6300978111) from the link above:

temp.jpg

Here's the Facebook ad with the embedded video:

embedded-video.png

I also attached a video of the "fullscreen" issue. I hope this makes it easier to understand of what I saw on my devices. I saw it on a low-end and high-end device. Only have it on video on a low-end device.

Thanks!

The video was not able to end. I'll try it again in the following post.

Ben

unread,
Jun 7, 2021, 4:04:08 AM6/7/21
to Google Mobile Ads SDK Developers
Here's downscaled the video

Admob-540p.mp4

Mobile Ads SDK Forum Advisor Prod

unread,
Jun 7, 2021, 5:33:30 AM6/7/21
to google-adm...@googlegroups.com
Hi there,

I work along with Princess. Allow me to assist you in this.

With regard to the embedded video banner ads, I'm afraid that we don't have a sample ad unit id for this. What you can do is to request an ad using your live ad unit ID with enable test device.

Regards,
Google Logo
Teejay Wennie Pimentel
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2HzYZ2:ref

Ben

unread,
Jun 7, 2021, 5:57:44 AM6/7/21
to Google Mobile Ads SDK Developers
Hello

I did try that already. I tested this on four physical devices simultaneous for about half an hour. Unfortunately none of the devices showed any banner ad with an embedded video. If I'm not able to reliably receive such an ad it'll be very time consuming to catch such an ad alongside with the log. Is there any possibility to escalate this issue to your manager?

Thanks!

Mobile Ads SDK Forum Advisor Prod

unread,
Jun 7, 2021, 11:10:41 AM6/7/21
to google-adm...@googlegroups.com
Hi Ben,

Before I can bring this to my manager, could you tell us if the ad came from mediation and did you set up the sample app for mediation

Regards,

Google Logo
Aryeh Baker
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2HzYZ2:ref

Ben

unread,
Jun 8, 2021, 11:14:02 AM6/8/21
to Google Mobile Ads SDK Developers
At the point in time when I experienced the issue there was no mediation active in my account and at the moment mediation partners are pending. So it's a no. The ads should have only been sent from Admob directly.

To the other point: the specific ads I've been talking about and that had the issue did only appear in my app. At the time I was testing the production build and hence test ads were disabled. Those specific ads did not appear using the sample app. Also those ads don't appear in my app anymore but the issue is probably still there and the issue will appear once another banner ad with an embedded video is dsiplayed.

I'm also more than happy to display a test ad to reproduce the issue. It does not have to come from Facebook as seen in the screenshots and videos above. If I remember correctly I also saw an ad from Ebay which also had an embedded video and which also had the same issue. Additionally the layout of the Facebook and Ebay ad were the same (or very closely the same as far as I remember). So potentially there is a template to create such a banner ad with an embedded small video. It'd be great if there was a special ad unit ID which sends only this type of ad I've been talking about. This would make testing and reproducing the issue a lot easier!

I hope this info helps! Looking forward to your reply!

Mobile Ads SDK Forum Advisor

unread,
Jun 8, 2021, 5:49:27 PM6/8/21
to google-adm...@googlegroups.com
Hi Ben,

Thank you for reaching back out to us. If you can share with us the sample that you are testing with, we can bring that to our team to look at more and see if we can get a test ad to appear with the video embedded.

Also what models are the hard devices you are testing with?

Regards,
Google Logo
William Pescherine
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2HzYZ2:ref

Ben

unread,
Jun 9, 2021, 7:03:47 AM6/9/21
to Google Mobile Ads SDK Developers
Hello,

I'd need to do the following in this order:

1) Reproduce the issue reliably. For this I need to reliably receive test banner ads with an embedded video as seen in the screenshots and videos above
2) Check if the issue appears in the admob sample ad
3) Record logs alongside a video of the issue
4) Report the logs and video

This issue was visible on a Nokia 1 Plus and a OnePlus 7T Pro.

Is there any chance that for 1) an ad unit ID can be made available which reliably displays adaptive banner ads with an embedded video?

Thanks!

Mobile Ads SDK Forum Advisor

unread,
Jun 9, 2021, 10:41:39 AM6/9/21
to google-adm...@googlegroups.com
Hi Ben,

I raised with my team your request for a test ad unit that provides embedded video. You may monitor our test ad units page for an update.

I also raised with my team your issue with this ad and we will get back to you as soon as possible.

Regards,

Google Logo
Aryeh Baker
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2HzYZ2:ref

Mobile Ads SDK Forum Advisor

unread,
Jun 9, 2021, 2:37:47 PM6/9/21
to google-adm...@googlegroups.com
Hi Ben,

My team circled back, could you provide privately your  app Id and ad unit Id, we and you can search for the ad in Ad Review Center.  It would be best though to get a Charles log. Alternatively you can send the Id's via our testing alias mobileads...@gmail.com with a post on this thread once you have done so.

Regards,

Google Logo
Aryeh Baker
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2HzYZ2:ref

Ben

unread,
Jun 10, 2021, 4:26:25 AM6/10/21
to Google Mobile Ads SDK Developers
App ID and Ad unit ID were sent via email to the provided email address!

Ben

unread,
Jun 10, 2021, 4:33:18 AM6/10/21
to Google Mobile Ads SDK Developers
Thanks again for reaching out to your team!

Taking a look in the Ad Review Center is a great idea. Unfortunately I wasn't able to find the ad. Unfortunately I couldn't filter via ad unit id. Since I created a totally new ad unit id as I'm switching from another provider to admob. The other provider also used admob ads and various other ad networks. But I'd like to use Admob from now on. I also didn't go live with the Admob yet because of the issue I reported. So the ads shown on with the new ad unit id should be minimal and the ad should be easy to find.
While I was looking through the Ad Review Center and sorted the ads via most viewed I saw many Interstials and Native ads. But I only display Banner ads in my app. So this is quite confusing. Is this something worth investigating? I'm happy to start a new forum post for this discovery.

Thanks!

Mobile Ads SDK Forum Advisor

unread,
Jun 10, 2021, 10:13:19 AM6/10/21
to google-adm...@googlegroups.com
Hi Ben,

Thank you for the response back. I have also seen your email and have passed that along with your comments here to our team that is looking more into this. Once we have more feedback we will be certain to pass it along to you.

Regards,
Google Logo
William Pescherine
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2HzYZ2:ref

史pingger

unread,
Jun 20, 2021, 3:48:02 AM6/20/21
to Google Mobile Ads SDK Developers
微信图片_20210620154021.jpg微信图片_20210620153953.jpg
I have a similar problem  

Mobile Ads SDK Forum Advisor

unread,
Jun 21, 2021, 3:44:29 AM6/21/21
to shixiao...@gmail.com, google-adm...@googlegroups.com
Hi there,


Thank you for reaching out to us.

Could you please provide privately your  app Id and ad unit Id.  It would be best though to get a Charles log. Alternatively you can send the Id's via our testing alias mobileads...@gmail.com. Kindly inform us on this thread once you sent it directly to the email provided.

Regards,
Google Logo
Princess Pamela Pineda
Mobile Ads SDK Team
 

 

ref:_00D1U1174p._5004Q2HzYZ2:ref

Mobile Ads SDK Forum Advisor

unread,
Apr 25, 2022, 4:28:36 PM4/25/22
to shixiao...@gmail.com, google-adm...@googlegroups.com
Hi everyone,

Is the issue still reproducible? If that is the case, can we get a privately sent captured ad request via Charles log? Otherwise it will be hard for us to debug without any information.

Regards,

Google Logo
Aryeh
Mobile Ads SDK Team
 


 

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