androidadmobmopub

When using a test ad unit I get "no ad config" on AdMob


I've setup AdMob on Android to load a test ad unit ca-app-pub-3940256099942544/2247696110, this used to work fine before but now I'm getting an error. I think it is related to app-ads.txt, which is configured fine for my own ads but maybe it fails on the test ad units? Is there a way to get around this when using MoPub to mediate?

{
  "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": []
  }
}

Solution

  • I believe this solves the issue https://developers.google.com/admob/android/test-ads

    You have to add an entry to your app-ads.txt