question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Smart and Adaptive banners not Working on Android

See original GitHub issue

Describe the bug Smart and adaptive banners not working on Android.

To Reproduce Steps to reproduce the behavior:

    const options: BannerAdOptions = {
      adId,
      adSize: BannerAdSize.SMART_BANNER,
      position: BannerAdPosition.BOTTOM_CENTER,
    };
    AdMob.showBanner(options).then(() => {
      console.log('MY-LOG ' + 'Banner Ads Ready!!');
    });

subscribing to

AdMob.addListener(BannerAdPluginEvents.FailedToLoad, (error) => {
          console.error(error.code); // 3 
         console.error(error.message); // No ad config
});

Desktop (please complete the following information):

  • OS: [MacOS]

Smartphone (please complete the following information):

  • OS: [Android]

Additional context Checking the source code of the plugin I found this:

    ADAPTIVE_BANNER("ADAPTIVE_BANNER", AdSize.INVALID),
    SMART_BANNER("ADAPTIVE_BANNER", AdSize.zza);

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

Anchored adaptive banners | Android - Google Developers
Adaptive banners are the next generation of responsive ads, maximizing performance by optimizing ad size for each device. Improving on smart ...
Read more >
Add Smart Banner for apps - Google Ad Manager Help
Use of Smart Banners with other features, such as Native ads, is not supported. The Smart Banner ad unit size doesn't work with...
Read more >
Smart banner returning error code `Ad failed to load: 3`.
I have lots of ad units, creative and line items which are already running and active. But after implementing new ad unit which...
Read more >
Android Notifications Not Showing Up? 10 Fixes You Can Try
2. Review the App's Notification Settings ... If restarting your phone didn't do the job, one of the most common reasons notifications don't...
Read more >
Integrate Adaptive Banner with Android Studio
Adaptive banners are the next generation of responsive ads, maximizing performance by optimizing ad size for each device. Improving on smart banners, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found