We are trying to add a new format to our app. We used a test ad ca-app-pub-3940256099942544/1033173712
.
And in the onAppOpenAdFailedToLoad
callback we get this
{
"Code": 3,
"Message": "No ad config.",
"Domain": "com.google.android.gms.ads",
"Cause": "null",
"Response Info": {
"Response ID": "null",
"Mediation Adapter Class Name": "",
"Adapter Responses": []
}
}
debug build.
What could be the problem?
Thanx
Ads won't show if you haven't integrated the Google Mobile Ads SDK correctly. Is your ad implementation code working properly? Test your implementation code to check that ads can show. You can also use ad inspector to test your app's ad serving.
App open ads are a special ad format intended for publishers wishing to monetize their app load screens. App open ads can be closed at any time, and are designed to be shown when your users bring your app to the foreground. Note: Specific format may vary by region.
Ad serving When apps are newly registered with AdMob, it typically takes up to an hour and a few ad requests to allow inventory to build. Because of this, you may not see live impressions immediately. Note: In some cases, it may take longer than an hour. Please wait 24 hours before seeking additional help.
According to their doc, AdMob has new requirements in order to receive test ads:
Option 1 (worked for us): Add this line to the app-ads.txt
file for your app, and wait 24h for the AdMob crawler to update it:
google.com, pub-3940256099942544, DIRECT, f08c47fec0942fa0
Option 2: Enable test devices as explained here for iOS and Android
I have changed the application id in the app .gradle file. (change the example to a different one)
defaultConfig {
applicationId "com.____._____"
}
Before running the app, delete the Build folder and uninstall the previously installed app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With