smartlinks_ad
Banner, interstitial, and native ads for the SmartLinks ad network.
Recommended: initialize via
SmartLinks.initialize()and useSmartLinks.ads. Full docs: repository README.
Features
SmartLinkBannerAd, interstitial, native ad builders- Session-aware frequency capping
- Impression/click analytics with
app_user_id - Offline event batching
Quick start (umbrella SDK)
import 'package:smartlinks_flutter/smartlinks_flutter.dart';
await SmartLinks.initialize(apiKey: 'YOUR_KEY', initializeAds: true);
// In your widget tree:
SmartLinkBannerAd(adService: SmartLinks.ads)
Interstitial
await SmartLinks.ads.showInterstitial();
Skip ads at init
await SmartLinks.initialize(apiKey: 'YOUR_KEY', initializeAds: false);
Push ads
See smartlinks_ad_push — enable with SmartLinks.initialize(enablePushAds: true) (requires Firebase).
License
MIT — see LICENSE.