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
220
votes
9 answers

Does this app use the Advertising Identifier (IDFA)? - AdMob 6.8.0

I'm currently uploading my App to the App Store and Apple is asking me if this app users IDFA. I'm using the latest Admob SDK or 6.8.0 and I don't know if it uses IDFA or not, and if it does which check boxes should I hit X.X Image…
Jessica
  • 2,367
  • 2
  • 13
  • 14
175
votes
19 answers

Plugin with id 'com.google.gms.google-services' not found

I have followed this link to integrate ads in my app. But it shows this error: This is my build.gradle: apply plugin: 'com.android.application' apply plugin: 'com.google.gms.google-services' android { compileSdkVersion 24 buildToolsVersion…
Lakshmi
  • 1,791
  • 3
  • 9
  • 10
164
votes
25 answers

Error "library not found for" after putting application in AdMob

I am getting an error after I put my application in an AdMob. The app was working until today. The error is the following: ld: library not found for -lGoogleAdMobAds clang: error: linker command failed with exit code 1 (use -v to see…
ViniciusPV
  • 1,657
  • 2
  • 11
  • 7
145
votes
25 answers

error: No resource identifier found for attribute 'adSize' in package 'com.google.example' main.xml

When I followed the instructions to add an ad into my app by xml, I got the following errors: Description Resource Path Location Type error: No resource identifier found for attribute 'adSize' in package 'com.google.example' main.xml …
user584819
  • 1,509
  • 3
  • 12
  • 8
132
votes
7 answers

Admob Error in Eclipse for android:configChanges

Eclipse is giving me an error on the android:configChanges line in my AndroidManifest.xml:
Mark Cameron
  • 2,359
  • 2
  • 24
  • 29
117
votes
7 answers

Xcode 10 seems to break com.apple.commcenter.coretelephony.xpc

I have upgraded to Xcode 10 on High Sierra and now the Rewarded Ad example project from AdMob complains that com.apple.commcenter.coretelephony.xpc is not working correctly. Is there a new entitlement that I have to enable? I am searching for hours…
Houman
  • 64,245
  • 87
  • 278
  • 460
113
votes
18 answers

How can I get device ID for Admob

I'm using Eclipse to develop applications for android, and I want to integrate Admob to make money. The tutorial says I should watch the LogCat to find ID, but where is it? When I run in either the test mode or the real mode, sometimes the eclipse…
Sheldon Rong
  • 1,506
  • 2
  • 14
  • 19
112
votes
11 answers

Action requested: Declare your Ad ID permission

Today i have got this email: Last July, we announced Advertising policy changes to help bolster security and privacy. We added new restrictions on identifiers used by apps that target children. When users choose to delete their advertising ID in…
Abdullah
  • 1,181
  • 2
  • 3
  • 7
82
votes
8 answers

App not showing in admob when trying to link?

Don't know if it's ok to ask this question here, but I didn't know where to ask it... I have made an app with an ad from AdMob. It works just fine, showing up in the app and everything. The problem is when I want to link my app in the AdMob…
andysando
  • 1,192
  • 2
  • 11
  • 21
81
votes
9 answers

iOS 10 GM release error when submitting apps "app attempts to access privacy-sensitive data without a usage description" due to GoogleSignIn, AdMob

I just started facing this issue with the iOS 10 GM release. I received an email saying: To process your delivery, the following issues must be corrected: This app attempts to access privacy-sensitive data without a usage description. The app's…
77
votes
20 answers

admob getting an ad response. ErrorCode: 0 Failed to load ad:0

I have followed many answers about that error here, but my problem is not solved. Every time I run my app no ads appear and I get this error message in Logcat: "There was a problem getting an ad response. ErrorCode: 0 Failed to load ad:0" Here is…
Ahmed Samir
  • 791
  • 1
  • 5
  • 8
73
votes
7 answers

Interstitial Admob ads: "IllegalStateException: Only fullscreen activities can request orientation"

Background I have an app with Admob SDK used in it, to show Interstitial ads (full screen ads). Reccently Google has updated the SDK, along with many other things (build tools, gradle plugin, IDE, etc...), including admob (firebase ads). compile…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
72
votes
5 answers

What is app-ads.txt and how do I implement it in AdMob?

I received mail from Google AdMob titled AdMob is launching support for app-ads.txt Can anyone suggest what I have to do in my existing Android Application?
Android Dev
  • 1,496
  • 1
  • 13
  • 25
61
votes
17 answers

Admob shows Test ads but not real ads

I'm using admob for showing android ads. The test ads are working fine but real ads are not shown. Also, I've no issue with real interstitial ads as they work fine. Just the real banner ads are not showing up. My java code is private InterstitialAd…
Vishal Afre
  • 1,013
  • 3
  • 12
  • 39
56
votes
24 answers

duplicate symbols for architecture i386 clang

I've seen several posts on google and stackoverflow related to this error, I've read all of them but still fetching the problem , I will be glad for a solution. Here is the error mesage I recieve when compiling ... directory not found for option…
Bharat
  • 2,987
  • 2
  • 32
  • 48
1
2 3
99 100