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.
9,888
questions
0
votes
1
answer
26
views
An issue with App Open Ads in Kotlin | Android
App Open Ads-
I want to show ads with the first launch "onStart() function" but,
The problem is that the Ads don't show in the first launch (onStart() function) it shows in the onResume() ...
1
vote
1
answer
42
views
How to notify adapter if the fragment deatched or destroyed [needed for Admob NativeAd AdViewHolder]
In my app, I have implemented ad mob native ads inside my PostAdapter class, I have 7 different fragments, and I need to know when the fragment is detached or destroyed to call nativeAd.destroy() to ...
0
votes
1
answer
31
views
Will my Admob account be banned if I export a flutter app to apk and use it on my phone
I initially built the application to aab and uploaded it to the play store and the application is still in the review, if I make an apk version and install it on my phone and the phones of my friends, ...
0
votes
1
answer
19
views
Admob is not working in flutter latest version 3.03. App Crashes after adding admob sdk
I have tried googl_mobile_ads and admob_flutter. Both SDK Crashes App. Is there someone facing the same issue
0
votes
0
answers
25
views
Implement ad banner in Fragment android
I have managed to implement the anchored adaptive banner as explained in this tutorial (anchored adaptive banner).
First within an Activity and then within a Fragment.
override fun onCreateView(
...
0
votes
0
answers
20
views
how to apply adview/admob with the concept of singleton?
I want to make AdView with different unit id in many tab.
This is my code:
public class SingletonAdMobBanner {
private static SingletonAdMobBanner instance;
private AdView adView;
private ...
0
votes
0
answers
14
views
Problem with AdMob Open App Ads on WhatsApp Sticker App
I've issue with implementing Open App Ads on my WhatsApp Sticker App (https://github.com/WhatsApp/stickers)
Which activity should I put the open app ad codes? I tried put the code at EntryActivity, it ...
0
votes
0
answers
18
views
How to completely disable tracking/collection in AdMob?
I want to show ads in my iOS app, but I don't want to track/collect any user behaviour/data so I don't have to deal with GDPR consent or privacy policy stuff.
My code so far:
func application(_ ...
0
votes
0
answers
19
views
Error "No Ad Config." & "No Fill" in released app?
I have two problems is given below:
Ads working fine in test ads unit but when i applied own ads unit it show "No Ad Config" error.
Admob Mediation FAN : Ads is working fine with mediation ...
0
votes
0
answers
32
views
How to programmatically detect on Android 11+ if our app was installed from Google Play
AdMob ad serving is limited to certain apps due to "invalid traffic concerns". I realized that the apps were getting installed outside of Google Play in certain countries. (For example - ...
-1
votes
0
answers
17
views
How to add ads (Admob or another) to flutter desktop app?
I'm creating an app for android and desktop using flutter. Is it possible to show ads on the desktop version of my app.
1
vote
0
answers
19
views
Does the Admob network punish me in any way if I have a low "show rate"?
I use the strategy of preloading interstitials and rewarded videos at application startup, and this means that the user doesn't have to wait for an ad to load when it's time to display it. However, ...
0
votes
0
answers
36
views
Proper integration of Admob Banner ads in JetPack Compose
I am looking for correct integration of Admob Banner ads in my JetPack Compose View.
In my case, I used to load Banner Ads in LazyColumn between various LazyColumn Items. But I am having a problem ...
0
votes
0
answers
31
views
How to make only one interstitial ad show per app session in flutter
I've been able to make interstitial ads work by following google's official documentation.
There are four buttons on my page and anytime they are clicked an interstitial ad loads. Please can someone ...
-1
votes
0
answers
23
views
How to show Admob Interstitial Ad in flutter app once per session
How do I write my code so that the interstitial ad will show anytime I click 1 page, 2page, or 3page page routes categorycardwithimage. My interstitial ad is currently in a separate dart file so how ...
-1
votes
0
answers
37
views
How to show Admob Interstitial Ad after 10 seconds of opening flutter app
Been on this for days but cant seem to do it. I've been able to create a banner ad that works the way I want but all I can do is create an interstitial ad that pops up anytime a button is clicked.
...
0
votes
0
answers
32
views
Flutter This AdWidget is already in the Widget tree
After trying out the examples in other posts I am still stumped by this error. I have a list of 50 items and am showing an ad every 10. The first ad loads fine but others do not.
I have 5 different ...
0
votes
1
answer
23
views
Is it possible in an angular web app to run slightly different code on mobile using capacitor?
I would like to add google ads to my app, but you need to use admob for web and adsense for mobile. First I wanted to use angular native, but I couldn't get it running and I found capacitor, but I don'...
0
votes
1
answer
30
views
Appcelerator APP with add's, using AdMob or StartApp
Good Morning,
I'm trying to implement Google Admob or StartApp to have add's in my iOS app, made in Appcelerator and JS.
I found a tutorial at:
https://medium.com/appseed-io/integrate-admob-with-...
0
votes
0
answers
25
views
AdMob banner ads stop the application audio
The AdMob banner ad receives another ad ~every few minutes which triggers this method each time :
func adViewDidReceiveAd(_ bannerView: GADBannerView) {}
Rarely, but sometimes, the banner contains ...
0
votes
0
answers
22
views
How to implement google native ads in flutter using ios swift ui instead of xib
I havent work on XIB before just use the swift View to create UI in ios but in documentation of flutter native ads for ios is only using XIB here
how i can create UI on swiftUI instead of XIB for this
...
0
votes
0
answers
20
views
ionic + issue with displaying AdMob Ad Interstitial
So i have issue with displaying Ad Interstitial in my ionic app.
The code looks following:
async showInterstitial() {
const adMyId = this.platform.is('ios') ? 'ios-ad-id' : 'android-ad-id';...
0
votes
1
answer
31
views
com.google.android.gms:play-services-ads | ERROR
After update it to version 21.0.0, I get an error msg
(The Val cannot reassign).
implementation 'com.google.android.gms:play-services-ads:21.0.0'
AndroidView(
factory = {
AdView(it)....
0
votes
0
answers
18
views
How to handle age restriction in Banner ads on android app
I want to implement banner ads in my android app in such a way if the user clicks on it app activity will confirm the user's age and then redirect to the ad URL. I guess that I can use the onAdClicked ...
0
votes
1
answer
21
views
Admob on YouTube embed video in Android application?
I'm developing news app which is showing YouTube matching embed video on click news post, I'm not owner any of those videos, but I want to place Admob banner ad to the bottom of the video, I saw this ...
0
votes
1
answer
18
views
AdMob Ad in UIView() Swift
Can I add a native AdMob ad in a UIView() that is a property of a UICollectionViewCell?
let adView: UIView = {
let ad = UIView()
(in here I want to show the ad.)
return ad
}()
then in ...
3
votes
0
answers
49
views
How to fill Google Play Data Safety section when app uses Admob and Firebase Crashlytics?
I have an app that uses Admob for ads and Crashlytics for crash logging. As a developer, I do not collect or share any user data. But I have a couple of questions about Data Safety section:
Are ...
0
votes
1
answer
45
views
Anchored adaptive banners in LinearLayout structure
Good afternoon!
I am updating the normal(smart) admob banners for admob Anchored adaptive banners, I am following the example of google but I have several doubts.
I use LinearLayout as a general ...
-1
votes
0
answers
38
views
When Updating app to playstore it gives java.lang.SecurityException: GoogleCertificatesRslt:
When i was updating application bundle i received this error in pre launch report
java.lang.SecurityException: GoogleCertificatesRslt: debug cert rejected: pkg=com.google.android.apps.docs, sha256=[...
0
votes
0
answers
39
views
Link UnityFramework arm64: Undefined symbols
I have a Unity project, built and released for both iPhone and Android, but the project got too large for my tiny laptop (that I probably shouldn't have used, but was all I had) - so I upgraded to a '...
0
votes
0
answers
22
views
Swift Method for obtaining AdMob API earnings report information
I've been having trouble retrieving my AdMob earnings report, and despite carefully reading the AdMob API Document on this link, I keep failing.
Only the first and second steps were successful in ...
0
votes
0
answers
31
views
What is the right way to preload ad on compose?
What I want: I want to be able to load ads on one screen and show it on another screen. I found some code to do this but only with an interstitial ad, I tried to do this with a rewarded ad and it ...
1
vote
1
answer
31
views
Snackbar overlays Admob banner ad
I have a snackbar which overlays the banner ad. It has a LENGTH_INDEFINITE because I have some functionality I need to complete after the snackbar is displayed.
Would this be considered a violation of ...
1
vote
2
answers
56
views
AdMobInterstitial [Unhandled promise rejection: Error: Ad is already loaded.]
I have been applying ads and the app shows only ad once,
if the the ad is closed
and making the add to show
The add shows only once
and to make it show again
i have to reload he app or restart the app
...
1
vote
0
answers
17
views
Admob showing "getting ready" even after adding apps-ads.txt 2 weeks ago
I have published my first app on playsrore 1.5 months ago and then i dont know about the apps-ads.txt so after know about it i have created one and host it on https://www.app-ads-txt.com/ and then i ...
0
votes
1
answer
21
views
Admob randomizing interstitial ad popup time
Hello I wanted to seek help regarding admob interstitial ad.
My query is can I display a random interstitial ad popup after every 2, 3, 5 minutes on the screen?
I'm really confused. Is it against ...
0
votes
1
answer
46
views
Google Admob not showing in product mode for ios (react native)
I am using "react-native-google-mobile-ads": "^6.3.0",
It was working when I uses expo-ads-admob
https://docs.expo.dev/versions/latest/sdk/admob/
But it's deprecated a month ago, ...
0
votes
0
answers
34
views
How to load SHOW an interstitial ad in a fragment of an Android app?? New Version of Google ads
I've been trying to look for a way to load an interstitial ad in a fragment of my app. Some of you would say why do you want to do that if the insterstitial ad goes between activities? Well in this ...
0
votes
0
answers
21
views
How to convert rewarded ads coins to currency?
I have an app that has rewarded ads using AdMob, now when a video advertisement is viewed I can see the reward having coins returned but how can I implement a way of converting those coins into what ...
0
votes
2
answers
36
views
Interstitial advertising (admob) only works once
These days I am doing a test, the objective is to click on a button to go to activity2 and show the interstitial advertising. For now this is the result thanks to information from: link
The problem:
...
0
votes
1
answer
43
views
No internet permission but the permission is given, when i intilize the admob banner (it give a red underlying saying i dont have permission)
I get this missing "Missing permissions required by BaseAdView.loadAd: android.permission.INTERNET" when i copy pasted the meta tags that are needed for the google maps sdk, without them it ...
0
votes
0
answers
31
views
Unity admob doesn't show ads anymore
My game used to show banner ads. Then I add rewarded ad unit. But I haven't updated it yet on app markets, there are still the old versions. When I run it on my test device which is registered on ...
1
vote
1
answer
86
views
AndroidJavaException: java.lang.ClassNotFoundException: com.google.unity.ads.UnityInterstitialAdCallback
I added Admob into my game and my test ads works on unity editor perfectly and ı don't get any error. However when ı get build for my android device, Ads doesn't show and I get error for this line :
...
2
votes
0
answers
31
views
This AdWidget is already in the Widget tree while using native ad
I am using google_mobile_ads package to show Native ad in my app, everything is working fine, but i want to show native ad multiple time in list and thus application throw the exception.
Below is my ...
0
votes
0
answers
50
views
Why there are no ad impressions on facebook audience network
So the problem is that till 29th May my Facebook audience network was getting impressions but i don't know what happened after that, now I am not getting a single impression from last 2 weeks.
Can ...
0
votes
2
answers
57
views
Can I show interstitial ads after a certain number of button clicks?
I am trying to show an interstitial ad after a certain number of clicks but I am not able to do so, I know there are some answers already there but they don't much help me.
Here is a list of onClick ...
-2
votes
0
answers
32
views
Ad mob test ads not showing
Test ads are not working after flutter 3.0, I haven't changed any code but ads stopped showing.
I have included output aslo.
these are the test ad unit ids I'm using
class AdHelper {
static String ...
0
votes
1
answer
35
views
How do I ensure my Google AdMob control is visible on page load?
I'm writing my first mobile Xamarin.Forms app in Visual Studio using ContentPages linked to ViewModels. Everything about the app works as expected - the data comes in from API and gets displayed, ...
0
votes
0
answers
42
views
Admob limitation effects other bidding partners
When we have ad serving limit on admob account, it also effects other mediation partners like facebook audience network. However Admob says " limited ad serving applies to AdMob Network only and ...
0
votes
1
answer
18
views
W/ActivityManager: Duplicate finish request for ActivityRecord (closing the interstitial)
Hello I get the following warning when closing the interstitial ad between activity and activity 2 (android studio Logcat):
2022-06-10 14:30:09.946 845-861/? W/ActivityManager: Duplicate finish ...