I developing a Flutter and added Google adMob to my app. While intializing admob I used appId and used adID also in required places But the realtime ad was not shown. In debug console it says something like ad not loaded error 3. On searching internet some suggested to install the apk of a release version. I also tried it and nothing works.
My code just works fine for testAds but not for the real-time ads.
When I change testDeviceAd to my adId it doesn't show anything.
My account has be also approved by admob. What's the reason for this?
Related
The app I use shows google_mobile_ads on a test device but shows no ads on a real device.
Moreover, it shows this in logs on real device
I/flutter (14971): Failed to load a banner ad: No ad config.
I found some person said that you must publish the application on the store and then download it on your device, and the ads will appear.
Is it true? Is the app must be published before the ads will be shown?
p.s. when using firebase_admob I facing the same issue - on a real device in prod it shows no ads but works with test device, so maybe the issue lays somewhere deeper?
No, you don't need to upload to the store, you can add test device from Admob panel or use test ids to view ads, please review the
document.
I am working in Unity 2020.3.13 using the Google Mobile Ads SDK v6.0.1 package running banners, interstitials, and rewarded ads. My Admob account is in fine standing and has other apps showing real ads without issue, and none of the Admob Ids described below were recently created.
In the Unity editor everything shows as a test ad even though I have set the real app ID and Ad Unit IDs from Admob. The problem is that once the app builds in Xcode the banner ads show as real ads, while the rewarded ads show as test ads still. I have double and triple checked the Ad Unit IDs they are all correct. Any ideas why I am seeing real ads for banners but test ads for Rewarded?
Some where in your code you've added your device as a test device or you are testing using emulator.
To verify this use another phone that you did not use before.
I have already installed Cocoapods and the Google mobile ads SDK. I've followed everything on the admob get started site and even checked a few youtube videos. All the code seems to be fine but I keep getting these two errors repeatedly in the console;
WF: _WebFilterIsActive returning: NO
WF: _userSettingsForUser : (null)
The ads don't show and the app continues to run but the area where the ad is supposed to be just goes blank. How can I fix this? Been searching around for ages
-Thankyou
I have everything set up correctly for my Unity game ads. When I run the ad, the console shows the ShowAD() message, but no ads are seen. I am using the test ad id and did the sdk and jdk are correctly installed.
you can not see the ads in the unity editor , you should make an APK file and run it on your device
BTW are you also using test app ID in Assets->Google Mobile Ads-> Setting-> Admob App ID?
in my case this was the problem.
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 Android app. This is working fine.
Created a new developer account in facebook.
Added a new app (application id) in facebook.
Added two publishers id in facebook (one for banner and other for interstitial)
Included the adapter jar in the eclipse and added it to build path
Downloaded facebook sdk and added the classes.jar in eclipse. Added this to build path.
Added meta-data for facebook app id in Android Manifest
Project is compiled without any errors
Made proguard changes as per the instruction available at: https://firebase.google.com/docs/admob/android/mediation#include_network_adapters_and_sdks
Added mediation entries in Admob with ecpm 0.01 and 5.00.
When I run the code, I only get test ads from admob. On facebook, i see no ad requests. Till facebook doesn't recieves the ad request, it won't validate the app and ads.
Not sure if I need to make any change to android code. I am using the same code that worked for admob. It is just that I have now included the facebook jars and made changes to manifest file. No change is made to java code files or xml files?
Also, does facebook need activity context in adview request? I have adview defined in XML so I don't knw how to pass the activity context.
The code is driving me crazy.. and there is no single documentation available on how to make admob and FAN work in android code..
Prioritize facebook so the traffic/request will go to facebook instead admob just for testig purposes.
In my case to redirect traffic to facebook I set admob floor eCPM to $50 so it won't be served and surely it will try facebook since you configured it in the mediation stack.
NOTE: DO not use test ads on admob when doing above. Use real ads just don't click on it.
Here's what I did: For Facebook to validate your app, deactivate the mediation in your code and try loading just a Facebook ad instead as they show on their how-to-page. Once you see the ad from Facebook the status of your App turns to "validating". For me after like 3-4 hours it changed to "ready".
To get the Facebook ads delivered to your device, you need to have Facebook app installed and logged-in at least once. Do the following:
Install the Facebook app on your phone
Log in to the Facebook app with the same account from which you are requesting the ads
Now open your own app and request the ads from Facebook. If your integration is fine, you should get the ads.