MTAdmob icon indicating copy to clipboard operation
MTAdmob copied to clipboard

Ads not loading on iOS with "Cannot find an ad networks adapter...com.google.DummyAdapter"

Open DancesWithDingo opened this issue 4 years ago • 2 comments

I implemented MTAdmob on my iOS app, and after some tinkering I was able to get it working. I went off to work on another feature, and when I returned to work on the ad feature, I could not get any ads to load (banner or interstitial).

The only difference I've noticed in the output window is a message "<Google> Cannot find an ad network adapter with the name(s): com.google.DummyAdapter. Remember to link all required ad network adapters and SDKs, and set -ObjC in the 'Other Linker Flags' setting of your build target."

Note that the message appears once a minute while the app is running.

I created a sandbox app to test the issue, and in that simplified situation, ads loaded as expected.

Expected behavior Ads should load, and there should not be a google error message in the output window.

Smartphone

  • Device: Simulator, iPhone 8+
  • OS: iOS 14.7.1

Additional context I've googled the error message, but I was unable to find anything that seemed relevant to the situation.

DancesWithDingo avatar Sep 13 '21 18:09 DancesWithDingo

Are you using the test ads? If not, it's normal that they don't appear

marcojak avatar Sep 14 '21 19:09 marcojak

Sorry I neglected to specify that, yes I am using the test ad identifiers. It’s strange because it worked before, and it worked in a sandbox app I used for testing.

On Sep 14, 2021, at 12:16, Marco @.***> wrote:

Are you using the test ads? If not, it's normal that they don't appear

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/marcojak/MTAdmob/issues/70#issuecomment-919443681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC2DHWIWSK47ZGOUWUAGRFLUB6NSFANCNFSM5D6PHUHA.

DancesWithDingo avatar Sep 14 '21 23:09 DancesWithDingo