Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App Open Ads on admob - No ad config on test ads

Tags:

ads

admob

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

like image 626
Mykhailo Avatar asked Oct 02 '20 08:10

Mykhailo


People also ask

Why is my app not showing AdMob ads?

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.

What is open ads in AdMob?

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.

How long does it take for AdMob to show ads?

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.


2 Answers

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

like image 103
Josselin Avatar answered Oct 24 '22 02:10

Josselin


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.

like image 7
swarajbhagat11 Avatar answered Oct 24 '22 01:10

swarajbhagat11