google_ads_helper 1.0.1 copy "google_ads_helper: ^1.0.1" to clipboard
google_ads_helper: ^1.0.1 copied to clipboard

A comprehensive Flutter plugin for Google Mobile Ads with easy integration, smart initialization, revenue tracking, and professional widgets.

Changelog #

1.1.0 #

New Features #

  • Random Interstitial Frequency: Interstitial ads now show at random intervals between 3-5 calls instead of fixed count
  • Smart Preloading: Interstitial ads are now preloaded 2 calls before they're needed for instant display
  • Enhanced Callback System: onAdFailedToShow callback now only triggers when count doesn't match (ad won't show)
  • Improved Revenue Tracking: Better integration with the new random frequency system

Improvements #

  • Better User Experience: Ads load proactively, eliminating loading delays when showing
  • More Natural Ad Flow: Random intervals make ad showing less predictable and more user-friendly
  • Optimized Loading: Reduced unnecessary ad loading by using smart preloading strategy
  • Enhanced Debug Info: Debug helpers now show interstitial count information and preloading status

Technical Changes #

  • Updated AdConstants.interstitialShowEveryCount to use random generation (3-5 range)
  • Added getNewRandomInterstitialCount() helper method
  • Modified showInterstitialAd() to implement smart preloading logic
  • Updated initialization to exclude automatic interstitial loading (now uses smart preloading)
  • Enhanced debug output with interstitial count tracking

Bug Fixes #

  • Fixed callback timing for interstitial ads
  • Improved error handling during preloading phase

1.0.1 #

Bug Fixes #

  • Minor documentation updates
  • Improved error handling

1.0.0 #

Initial Release #

  • Easy one-line initialization for Google Mobile Ads
  • Smart ad loading with count-based interstitial control
  • Revenue tracking and calculation
  • Professional UI widgets (Banner, Native, Smart containers)
  • Automatic retry logic and error handling
  • Debug helpers for development
  • Support for Banner, Interstitial, Rewarded, and Native ads
8
likes
130
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

A comprehensive Flutter plugin for Google Mobile Ads with easy integration, smart initialization, revenue tracking, and professional widgets.

Homepage

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter, google_mobile_ads

More

Packages that depend on google_ads_helper

Packages that implement google_ads_helper