Questions tagged [admob]

AdMob is a mobile advertising company owned by Google. This tag should be used for questions relating to the use of the AdMob SDK and incorporation of AdMob services into your code. Stack Overflow is not a site for discussion of features or usage of the AdMob service.

AdMob is a mobile advertising company owned by Google which lets developers monetize their applications by "renting" screen real-estate to display ads.

Available on Android (as part of Google Play services or stand-alone SDK) and iOS.

Further reading:

10017 questions
3
votes
1 answer

Android Admob interstitial request timeout

Currently when trying to load an interstitial, there is a timeout for the request (which I have noted) of 30 seconds or so. I would like to reduce that to 10-15 seconds, but I am unable to find a method to set the timeout value. Is there such a…
AndreiBogdan
  • 10,858
  • 13
  • 58
  • 106
3
votes
3 answers

My Admob Account disabled for "Invalid Activity"

My Admob account got disabled on 14 April 2016 for reason "Invalid Activity". I have multiple android applications and was using Admob in all my apps. I did not click on my ads and also not paid/motivated anyone to do so. I made the appeal giving…
user2446474
3
votes
1 answer

Admob ad won't display in an dialog themed activity

What i have is a simple activity with some content inside of it. Right below that I have an admob ad. And it works great. However, when i add android:theme="@android:style/Theme.Dialog" to the activity in the manifest the activity still loads, the…
brybam
  • 5,009
  • 12
  • 51
  • 93
3
votes
0 answers

Admob banner ads and screen sizes

My problem, i have an app which i want to show admob banner ads, but only in layout/screen sizes for tablets 7" and 10". And just because there is more room for banner ads, because bigger screen size. Now the problem is that when banner ads works…
3
votes
1 answer

Testing AdMob on iOS

Beginning using AdMob in an iOS app, I have this question: When I am testing my app, I should not be using real adds. For that I use: bannerUnitID = "ca-app-pub-3940256099942544/2934735716" // Provided in Googl’s tutorial. All is fine with that.…
Michel
  • 10,303
  • 17
  • 82
  • 179
3
votes
1 answer

Error adding Google AdMob on Android libraries - LIBGDX project

I would like to add the Google library to my project libgdx in Android Studio. Currently I have done: opened the SDK manager and downloaded play-services from the SDK manager, added the compile string in build.gradle: compile…
Mr. Developer
  • 3,295
  • 7
  • 43
  • 110
3
votes
0 answers

How to request AdMob Interstitial before transition to display the ads immediatelly

I've been using AdMob integration (interstitial ads) in my project. My project has the following structure: -Main Screen -Choose Level -Play Screen Is there anyway to request the interstitial ads in the Main Screen, and once the user enters the…
TylerC
  • 95
  • 1
  • 6
3
votes
1 answer

Swift interstitial ad on viewDidLoad (AdMob)

I am following this tutorial So far I have got it to work when I click the button. However I cannot seem to get it to show an interstitial ad on viewDidLoad. This is what I have: override func viewDidLoad() { super.viewDidLoad() …
JamesG
  • 1,552
  • 8
  • 39
  • 86
3
votes
1 answer

Android M: Effect of Selective Permissions on Ads

Now that Android 6.0 becomes more popular among users, I've asked myself what the consequences of the selective permission granting are. Let's assume I had a free ad-supported version of an app. It will obviously need internet permission to query…
mad
  • 3,493
  • 4
  • 23
  • 31
3
votes
2 answers

Can you preload admob DFPBannerView on iOS

Can you preload admob DFPRequest on iOS? I know you can for interstitials, but was wondering about DFPBannerView
Tim Walsh
  • 1,089
  • 11
  • 27
3
votes
0 answers

RewardedVideoAdListener Methods - Admob

I am trying to understand the RewardedVideoAdListener. I have setup the Admob to show the rewarded video Ads and it is showing the video Ads…
iappmaker
  • 2,945
  • 9
  • 35
  • 76
3
votes
2 answers

How AdMob identifies that it is a test device or real user?

I am creating an app with AdMob ads, and I have provided my test device id so that my account is not banned. But when I am finished developing, I want to install the real app on the same device and use it as a normal user would. Is my device still…
Imran Ahmed
  • 790
  • 1
  • 9
  • 22
3
votes
3 answers

How to properly update Google Play Services

Is it possible to update my app after changing the Google Play service library in the build.gradle? I changed it from: compile 'com.google.android.gms:play-services:8.3.0' to compile 'com.google.android.gms:play-services-ads:8.4.0' After changing…
3
votes
2 answers

Pod install resulting in "Using Google-Mobile-Ads-SDK" during installation but files do not exist

I'm having some issues with my cocoapods install since pulling from a new repo: When i grab code from the repo on the new machine and try to run it straight off the bat i get errors with various missing files. Now this is expected as i have not…
SmokersCough
  • 967
  • 7
  • 22
3
votes
2 answers

Displaying Banner Ad in bottom of RecyclerView?

I want to display a simple banner ad in RecyclerView which loads a list of images. just a simple bottom banner ad. This is my RecyclerViewXML
Atiq
  • 14,435
  • 6
  • 54
  • 69