Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android ads slow performance very much

I have been experimenting with BANNER ads on my Android app, following this guide. When the ad load and is being presented a significant FPS drop is observed. This is very frustrating experience for the user, because View animations are core part of my app and they look awful in low FPS.
Everything runs fine when I set the adView to View.GONE. I don't know where this problem might be originating from. I'm not sure how the UI thread becomes so heavily loaded with a simple BANNER ad... Any suggestions here?
This problem is present both in my emulator and real Android device.

like image 590
BabbevDan Avatar asked Jul 26 '15 11:07

BabbevDan


People also ask

Why is AdMob eCPM so low?

If your Effective CPM (eCPM) appears to be lower than your Minimum CPM, it does not mean ads were displayed at a price lower than your Min CPM. Ad rendering, invalid activity filters, and other factors can cause the calculation of eCPM to appear lower than your minimum price threshold.

Why is AdMob matching rate so low?

Your apps may experience less demand from Google while we evaluate your traffic quality. This can occur for up to one week after a new app or ad unit is created. If you still have low match rate after one week, use the following guide to understand common reasons for low match rate.


1 Answers

Google AdView has WebView with a lot of animation inside. It will heats up all mobile CPU.

Summing up it's normal. I have the same situation in my applications. AdView take 30% of CPU. I tried to find any solution but it's known issue. Below links can help you optimize your banners but you have to know that, it will always take some of CPU.

stackoverflow - admob banners cause high cpu usage

stackoverflow - webviewcorethread used by admob adview is using high cpu

stackoverflow - android admob consuming more cpu

pzoleeblogen - how to solve adview cpu consuming

Please vote up my answer if I help you. Have fun.

like image 80
Eliasz Kubala Avatar answered Oct 02 '22 21:10

Eliasz Kubala