googleads-mobile-flutter: [Android] Test ads are not working

Plugin Version

0.13.5

Steps to Reproduce

Just create an ad and you will see that the ad is not loading. I’m using banner ads.

Expected results: A test Ad

Actual results: Nothing!

Logs
There is a message saying "Ad failed to load : 3"
No issues found! (ran in 2.8s)
[✓] Flutter (Channel stable, 2.5.3, on Pop!_OS 21.04 5.13.0-7614-generic, locale en_US.UTF-8)
    • Flutter version 2.5.3 at /home/dipansh/snap/flutter/common/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (9 days ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /home/dipansh/Android/Sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /home/dipansh/Softwares/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /home/dipansh/Softwares/android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] IntelliJ IDEA Community Edition (version 2021.2)
    • IntelliJ at /home/dipansh/Softwares/intelliJ
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.61.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.27.0

[✓] Connected device (2 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 12 (API 31) (emulator)
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 95.0.4638.54

• No issues found!

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 8
  • Comments: 32

Most upvoted comments

Is this still being researched on? Seems a little funky to me that no test ads are showing with everything as it should be.

This is also happening to me, no test ads are dropping for me and the code is exactly as the one shared here. The error code is 3 and the error message prompted on the onAdFailedToLoad callback is No ad config.. This is very odd as my app in production is consuming ads perfectly (using 0.11.0+3), but in the newer version that I am working on the test ads are not even showing (using 1.0.1).

Update

I have just tested the app with different combinations of app and banner IDs, here is a table demonstrating the outputs I got:

Test 1 Test 2 Test 3
App ID Test App ID Personal App ID Personal App ID
Banner ID Test Banner ID Test Banner ID Personal Banner ID
Expected Output Test Ads Displaying Test Ads Displaying Real Ad Displaying
Actual Output Test Ads Displaying No ad config. Error code: 3 Real Ad Displaying

It seems that the banner test ID does not like being called within the personal app ID, thus resulting in the no config error.

still test ads are not showing giving me the error code 3.

Thanks will check.

I’m really sorry, It took a very long

No worries, IMO that was quick.

Yeah, I’m creating a repo for that! Please give me few minutes

Can you please try again after adding those dependencies I have mentioned?