Publisher data not found for Ads in #capacitor-community/admob - android

I am using capacitor-community/admob in my Ionic 5 and Capacitor 3 project. I have completed all the setup as per documentation and test interstitial and rewardedVideo ads are working fine with the test ads ids provided here.
I have set up my Admob account correctly and created Ad units before a couple of days. So, It's not new. There are no warning or error messages or issues with the account. Double checked the app id and ad unit ids in my app. App id is maintained in android string.xml as
<string name="admob_app_id">ca-app-pub-***</string>
and in AndroidManifest.xml as
<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="#string/admob_app_id" />
I have linked my Admob with the Firebase account. So the file google-services.json also contains the ads App id.
The Ads are working when using test ids but not loading when using real Ads. Following is the error I am getting.
Publisher data not found. <https://support.google.com/admob/answer/9905175#9>
I have checked all the information under Publisher data not found but it's not helping.

Important links to get correct advertisements
Check for setup issue, policy issue https://support.google.com/admob/answer/9469204?hl=en
Link your app to admob account https://support.google.com/admob/answer/10037806?hl=en
Run Admob troubleshooter https://support.google.com/admob/troubleshooter/9092685
Once app is made live, give it some time before live advertisements start showing. Don't use live ads during testing
Visit admob policy implementation guidelines https://support.google.com/admob/answer/2936217?hl=en

Related

Admob test ads is not showing on a specific app ,but the same code is working fine on other app

Ad-mob test ads is not showing on one of my app ,but the same code is working fine on my others app,
then I find out that this is happening because of the app package name ,if I rename the package name then also ads are showing.
Some months ago the app were showing ads , but app got ads serving limited issue ,then I deleted all the ad units from Admob of the app ,after one week this issue solved ,then I wanted to implement ads again but since then even test ads are not showing.
and I couldn't found an error on logcat so I don't Know what to do
There are two things here.
Either you show test ads via local configuration before initializing the sdk like -
val testDeviceIds = Arrays.asList("Your Test ID from logcat. ")
val configuration = RequestConfiguration.Builder().setTestDeviceIds(testDeviceIds).build()
MobileAds.setRequestConfiguration(configuration)
Or add the following in your app-ads.txt file.
google.com, pub-3940256099942544, DIRECT, f08c47fec0942fa0.
More info here: https://developers.google.com/admob/android/test-ads
Admob does not deliver ad when your app live any time. Add test id's and change your application id then test your implementation. When you live your application then restore your application id in gradle and live your app. When your app live on play store admob deliver your ad.

Failed to read publisher's account configuration; please check your configured app ID. Received app ID: `ca-app-pub-3940256099942544~3347511713`

You guys have any idea as to what may be the possible cause of this error in UMP SDK for Android?
Publisher misconfiguration: Failed to read publisher's account configuration; please check your configured app ID. Received app ID: ca-app-pub-3940256099942544~3347511713.
ca-app-pub-3940256099942544~3347511713 is Test Application ID
and this Error Pops up when trying to use Obtaining Consent with the User Messaging Platform
I followed the procedure as outlined in https://developers.google.com/interactive-media-ads/ump/android/quick-start
I do not get an option to create / view Funding Choices account, but still this is a test application id.
public void onConsentInfoUpdateFailure(FormError formError)
{
}
I fixed this error by logging into Admob and configuring my GDPR and IDFA messages here: https://apps.admob.com/v2/privacymessaging
After I configured and allowed those messages the error went away, and it worked even while displaying test ads on an emulator.
I faced a similar case and the solution is simple. You're using the sample AdMob ID: ca-app-pub-3940256099942544~3347511713 and thats the case.
It's good enough to displays test ads but not to set user's consent and it end up with an error. You are actually trying to send the request in AdMob test account what is not allowed.
For UMP to works, you need to create a real (your own) AdMob account and use its AdMob ID. If you still need to run test ads, just set the test device ID https://support.google.com/admob/answer/9691433?hl=en

Admob real ads are not showing

I am getting this error but when I put test ads they work fine but original are not working please help me out in this.
Error - W/Ads: Failed to load ad: 3
this is said ,as per google support
If you are getting this error, then your code is correct. The issue is that AdMob does not always have an ad to return for every request. This may happen particularly if you have just registered your AdMob publisher ID, as it takes some time and multiple requests before the new ID starts returning ads
My answer is
Add your payment information on main page of admob site, if you haven't already done this.
You have to publish game on google play at least to internal test to see ads, for my case there was the message when I'm installing game on phone "Unknown developer".
For more information add your code to the issue.

Using AdMob for own ads (in-house) in own application, how?

The problem
A client wants to use AdMob to print his own in-house ads in his own application. He wants to monetize the app through his own sponsors, hence he creates the necessary ads himself and shows them on the app in native ads.
At first we tried to implement our own advertisement system but the app was rejected by Google.
So my former manager (before being fired for incompetence) sold to the client an AdMob account and training (?) by Google (whatever that means). I had to take over recently after having implemented the native ad into the application.
The actual setup
In AdMob I have created the following campaign:
with the following goal (manual eCPM):
I have the following Mediation group created:
with the following settings:
State of things
Still all I see are ads from the AdMob Network. I can't publish the app on a large scale yet because of the missing in-house ads.
What am I doing wrong? I've seen unfortunately few tutorials on the subject and over all they contradictory on the eCPM values.
Thank you in advance!

Facebook AudienceNetwork loaded failure: No fill, Error Message "No fill", what is the reason about FaceBook android Advertise?

Facebook AudienceNetwork loaded failure: No fill, Error Message "No fill", what is the reason about FaceBook android Advertise? And facebook ad offten shows me load frequency, the frenquent has limits?
You need to add a test device. Go to logcat and type Facebook and you will see a message like this, which is also the solution:
When testing your app with Facebook's ad units you must specify the
device hashed ID to ensure the delivery of test ads, add the following
code before loading an ad:
AdSettings.addTestDevice("328404cebf50ec1fdb05795c0007a8a7");
So add this to your onCreate method:
AdSettings.addTestDevice("328404cebf50ec1fdb05795c0007a8a7");
(Don't forget to use your own hash id.)
This means we are not able to serve ads to this person. This could occur because:
The person testing has not logged into the native Facebook app on their mobile device
The person testing has enabled "Limit Ad Tracking" (iOS only) or has selected "Opt out of interest-based ads" (Android only) in their device settings.
We don't have ad inventory to show for that person
Note that if you can see test ads, your implementation works correctly and people will be able to see ads in your app once it's live.
you can get more clarification here
Filling in payout details fixed this for me.
If you want to display real Ads, you have to fill in your payout details.
I have same problem in my application but this helps me
Ref: Step 4: Check for Error Codes of Production Ads Requests
Facebook Error : No fill
1001 - No Fill
This is a common error seen while testing, and relates to a "No Fill" response; the most common reason for this is the user is not logged in to the Facebook App when testing your mobile app or not logged in to the Facebook mobile website when testing your mobile website.
Error 1001 - No Fill. May be due to one or more of the following:
User not logged into Native Facebook App on Mobile Device
Limit Ad Tracking turned on (iOS)
Opt out of interest-based ads turned on (Android)
No Ad Inventory for current user
Your testing device must have the native Facebook application
installed.
Your application should attempt to make another request after 30 seconds.
And Sometimes According to me
If your ad account newly created then wait some time like 1 hour or more
after some time you will get some better response
I know its late answer but this may helps other people who new in android and Using Facebook Ads
If you see
When testing your app with Facebook's ad units you must specify the
device hashed ID to ensure the delivery of test ads, add the following
code before loading an ad:
AdSettings.addTestDevice("328404cebf50ec1fdb05795c0007a8a7");
This may happen because of this:
FacebookSdk.setIsDebugEnabled(true);
Make sure, Your Device have Facebook app installed and logged in. And also make sure, the developer account that created Ads and the Facebook user logged in the device are same. If not read
https://developers.facebook.com/docs/audience-network/testing/
try to this sdk verison.
implementation 'com.facebook.android:audience-network-sdk:5.1.0'
I got the same problem and it's resolved, Please follow the below steps for the live ads issue:
Check the SDK version and use the latest one
Check and confirm live SDK key
Upload your application in store
Enable live mode in Facebook ads console
Fill proper details in testing test
The above steps are upto date, then after the test the application after 48 hours of the time of app publishing.
I wasted more than one month to resolve the No Fill error.
(Only relevant if you're in the Europe?)
On your phone, go to the Facebook app
Go to Settings & Privacy
Permissions > Cookies
Enable "Our cookies on other apps and websites"
On my end, as soon as this is turned off, Audience Network fails to fill any ads.
To request a test ad, you have to use the following test ad type string to concatenate the placement ID with '#'
Example
InterstitialAd(context,"VID_HD_16_9_46S_APP_INSTALL#YOUR_PLACEMENT_ID")
For getting more information about available test ads visit https://developers.facebook.com/docs/audience-network/setting-up/test/test-device
Add this line for display test ad
AdSettings.setTestMode(BuildConfig.DEBUG);

Categories

Resources