Questions tagged [adview]

Google Adview is an API to show advertisements from Google Admob / AdSense on smartphones and tablets on the Android, iOS and Windows Mobile platforms.

Google Adview is an API to show advertisements from Google Admob / AdSense on smartphones and tablets on the Android, iOS and Windows Mobile platforms.

Questions tagged with are related to the operation and behaviour of this API.

API homepage

300 questions
6
votes
1 answer

AdManagerAdView not rendering ad image when off screen in LazyColumn

I am wrapping an AdManagerAdView in an AndroidView so I can use it in Jetpack Compose. The image fails to load when I use it in a LazyColumn AND the AdManagerAdView tries to load the image before the composable is on screen. If I scroll quickly to…
6
votes
2 answers

How can i add a UIView under my tab bar controller programatically?

I am trying to see how i can add a UIView under my UITabBarController so i can add ads to my app, I cant seem to figure out any way to constrain my UIView to the bottom of the tab bar. Is this possible? EDIT: By bottom of the tab bar i mean below…
ricks
  • 3,154
  • 31
  • 51
6
votes
1 answer

Adview loadAd() triggering a StrictMode violation

I am trying to add some adds in my application. When I have StrictMode enabled, I get a bunch of policy violations like this one (maybe 6 or 7 of these). Is this normal? 18817-18817/com.xyz.xyz.xyz D/StrictMode: StrictMode policy violation;…
Kamy
  • 586
  • 4
  • 18
6
votes
3 answers

Android , Admob / Adview takes|steals focus from edittext , How to prevent?

I am creating views and add these views to a linearlayout , These input is taken from edittext at the bottom of the screen like a messanger application. Whenever i push the 'done' button it triggers and add that message to that message linearlayout.…
Suat KARAKUSOGLU
  • 622
  • 6
  • 14
6
votes
1 answer

Prevent AdView from recreating itself for each activity

I have the following in all of my activities:
IVlad
  • 43,099
  • 13
  • 111
  • 179
6
votes
3 answers

How to hide/disable admob adview?

I hide admob adview by…
Tamas
  • 353
  • 1
  • 4
  • 9
6
votes
4 answers

Android How to align AdView to center in a linear layout

I am trying to align gogole Adview to the bottom and center of a list, till now I was able to force the Adview to come at the bottom of list without interfering with the list but it is not coming in center . Code is pasted below , Sorry cudn't…
Shakti
  • 2,013
  • 8
  • 27
  • 40
5
votes
2 answers

Android AdMob not showing LinearLayout on Bottom

Okay really weird situation with AdMob. I want to place the ad on the bottom I have a LinearLayout. When I do it never shows up. When I place it on top it shows up perfectly. Not sure what the deal is here is my code. I do get a warning in…
JPM
  • 9,077
  • 13
  • 78
  • 137
5
votes
3 answers

Eclipse Graphical Layout unable to display adView

I updated from Eclipse Helios to Eclipse Juno, updated Android SDK tools to v23, and Google Play lib 4.4. Since them i am unable to view XML layouts in eclipse Graphical Layout Window. I get following error. Exception raised during rendering:…
kasai
  • 145
  • 1
  • 3
  • 10
5
votes
2 answers

How to check if AdView is visible?

I want to check if AdView did load ads and is visible and therefore requires space on the display or if did not load an ad for example if internet connection is not available. If it did not load ads I can use the space for something else. How to…
MacMarde
  • 149
  • 2
  • 12
5
votes
1 answer

Failed to receive Google Mobile adds

I am unable to receive mobile adds in my app. My code is here:- -(void) createMObAdds { bannerView_ = [[GADBannerView alloc] initWithAdSize:kGADAdSizeBanner]; // Specify the ad unit ID. bannerView_.adUnitID = @"d81cb38a93cc479"; …
sureshJangid
  • 145
  • 9
5
votes
2 answers

Adview (admob) with asynchronous data loading

I have an activity where the ads are populated over the dynamic table populated from java code, this table has images which are loaded from network asynchronously. When I don't include ad everything works as expected for me. But when I include…
Amandeep Singh
  • 3,754
  • 8
  • 51
  • 72
5
votes
1 answer

AdMob - Disable request onPause()

I have read few articles on trying to stop adView when the app is hidden/minimised but this crashes my app. This is my code, adView.LoadAd... and adView.stopLoading both crashes the app on startup. public class MainActivity extends Activity…
KickAss
  • 4,210
  • 8
  • 33
  • 41
4
votes
3 answers

AdView overlaps last item of RecyclerView

I hope the attached screenshot make my issue clear, The the last item in the RecyclerView list is getting overlapped by the AdView. Adding bottom padding & margin to the RecyclerView, leaves a blank space at the bottom behind the AdView, this is…
naxrohan
  • 352
  • 3
  • 15
4
votes
2 answers

Can't seem to display both a ListView and an AdView at the same time

I have an Activity in my app that simply displays some results from a search. This data is displayed using a ListView. This works well. I recently tried adding an Adview underneath it, but it simply doesn't display. What's more, it pushes my…
Paul Hunnisett
  • 898
  • 1
  • 17
  • 36
1
2
3
19 20