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
0 answers

How to fix failed to load ad 1 error?

I waant to add ads in my app . Tomorrow I am going to publish this app on playstore. I added but ads nott showing with a error failed to load ad 1 . So please tell me how to fix it ! Thank you in advance. package com.buckydroid.app.droidcpu; import…
bucky
  • 57
  • 8
3
votes
1 answer

How to make ads in RecyclerView display different contents

I am applying this answer to display admob ads after every 7th item in RecyclerViews on phones and after every 13th item on tablets. The problem I am having is that all the ads are displaying the same content (message, title, picture). I think it's…
X09
  • 3,827
  • 10
  • 47
  • 92
3
votes
0 answers

No fill from any mediation ad networks always showing for admob test ads

I am trying to run test ads on my app but I am always getting this error 06-14 19:42:04.223 7573-7573/com.pk.kapp I/Ads: Starting ad request. 06-14 19:42:08.757 7573-8262/com.pk.kapp I/Ads: Trying mediation network: 06-14 19:42:08.767…
X09
  • 3,827
  • 10
  • 47
  • 92
3
votes
1 answer

How to implement Google AdMob mediation in Unity 5.3.5

I am very needy of help setting up AdMob as an ads provider for Unity, for an Android, and also using Admob mediation for receiving ads from other networks in-game. I have "googled" for a loooong time, seriously. But I'm exhausted of finding no…
3
votes
3 answers

AdMob Facebook Mediation in Android

I am unable to mediate between admob and facebook audience network (FAN) in android app. The app is only serving ads from Admob network. The mediation between Admob and FAN is not working. Below is the process I have followed: Integrated Admob in…
3
votes
3 answers

How to show ad after user clicks on listview item but not for every item in Android?

I have a listview populated with data from a remote database. When the user clicks on an item they are taken to a detail screen. My question is how do I show and ad when the user clicks on a list item but not everytime they click on a list item. I…
Steve C.
  • 1,333
  • 3
  • 19
  • 50
3
votes
2 answers

What is the main difference between Admob and AdSense

I have a news website with more than 10,000 page views. I have also adsense enable on the site and earning from the same . Now i m planning to develope an app for my website . How can i monetize my news app ? i heard , adsense is not allowed on…
pradip
  • 197
  • 4
  • 11
3
votes
0 answers

Is it possible to use AdMob Unity Plugin with CustomEvent?

I'd like to perform mediation with the AdMob Unity plugin. But I couldn't find any way to perform mediation with Custom Event. Is it possible? see also: googleads-mobile-unity, AdMob mediation support
Takayuki Sato
  • 1,023
  • 1
  • 14
  • 22
3
votes
1 answer

Could not find custom event class named MPGoogleAdMobBannerCustomEvent

I am having trouble integrating the AdMob SDK into MoPub (in Fabric). I installed MoPub through the fabric installer. I am using iOS with Swift, XCode Version 7.3.1 (7D1014), base SDK iOS 9.3, project deployment target iOS 8.0. I am able to…
chrifs
  • 31
  • 5
3
votes
2 answers

Clicking on ads on your own app

It says in Admob policies and guidelines: It is against AdMob policy to click on your own live ads. During development and testing, use test ads. If you do need to render live ads before launch, avoid clicking on them. If you click on live ads, your…
simiboy96
  • 207
  • 2
  • 5
  • 14
3
votes
1 answer

Integration AdMob without Firebase: unwanted permissions (C2D)

I'm porting an old game from AdMob to the latest AdMob with Firebase. I was using a deprecated version of AdMob. I want the smallest integration as possible, I don't want Firebase analytics. I have a working integration (using Android Studio…
Frozax
  • 153
  • 2
  • 10
3
votes
0 answers

CA::AttrList::set(unsigned int, _CAValueType, void const*) Crash

Recently I'm getting a lot of crashes on Crashlytics with title : QuartzCore CA::AttrList::set(unsigned int, _CAValueType, void const*) This crash is caused i think by Google Admob SDK, And only on iOS 8.4.1. i did a little research to find out…
AaoIi
  • 8,288
  • 6
  • 45
  • 87
3
votes
1 answer

Why am I getting ObjCClassNotFoundException: GADInterstitial in RoboVM?

I am implementing admob in my iOS module using this guide. I have a view controller where my interstitial ads are initialized like this @CustomClass public class ViewController extends UIViewController implements ActionResolver { private…
Zack
  • 1,527
  • 2
  • 20
  • 32
3
votes
1 answer

Interstitial auto-reloading after error?

What's the behavior of the admob interstitial after an error occurs? It automatically retries to reload the data or not? In other words I have to write something like: mInterstitialAd.setAdListener(new AdListener(){ //ERROR…
darkalbo
  • 323
  • 6
  • 17
3
votes
2 answers

How long does it take for an AdMob Ad unit ID to become active?

I created a new Ad unit ID around 4 hours ago and started using it in the release build of my unreleased Android app. But all I get is a blank view and the following logcat output: W/Ads: Received error HTTP response code: 400 W/Ads: There was a…
crazystairs
  • 91
  • 1
  • 5