ds_ads library
Classes
- ALInstanceManager
-
Maintains access to loaded
Adinstances and handles sending/receiving messages to platform code. - DSAd
- DSAdLocation
- DSAdsAppOpen
- Allows to pre fetch and show Google and AppLovin MAX app open ads
- DSAdsAppOpenEvent
- DSAdsAppOpenLoadedEvent
- DSAdsAppOpenLoadFailedEvent
- DSAdsAppOpenPreShowingEvent
- DSAdsAppOpenShowDismissedEvent
- DSAdsAppOpenShowedEvent
- DSAdsAppOpenShowErrorEvent
- Error when displaying advertisements
- DSAdsBanner
- Widget to show Google and AppLovin MAX banner ads
- DSAdsEvent
- DSAdsInterstitial
- Allows to pre fetch and show Google and AppLovin MAX interstitials
- DSAdsInterstitialEvent
- DSAdsInterstitialLoadedEvent
- DSAdsInterstitialLoadFailedEvent
- DSAdsInterstitialPreShowingEvent
- DSAdsInterstitialShowDismissedEvent
- DSAdsInterstitialShowedEvent
- DSAdsInterstitialShowErrorEvent
- Error when displaying advertisements This event allows the next advertisement to be loaded immediately after the event occurs
- DSAdsManager
- [DSAdsManager} is a root point to control ads Call DSAdsManager.preInit before create application Call constructor for init ds_ads library Read README.md file for more information
- DSAdsNativeClickEvent
- DSAdsNativeClosedEvent
- DSAdsNativeEvent
- DSAdsNativeLoadedEvent
- DSAdsNativeLoadFailed
- DSAdsNativeOpenedEvent
- DSAdsOverlayScreen
- DSAdsRewarded
- Allows to pre fetch and show Google and AppLovin MAX rewarded ads
- DSAdsRewardedEvent
- DSAdsRewardedLoadedEvent
- DSAdsRewardedLoadFailedEvent
- DSAdsRewardedPreShowingEvent
- DSAdsRewardedShowDismissedEvent
- DSAdsRewardedShowedEvent
- DSAdsRewardedShowErrorEvent
- Error when displaying advertisements This event allows the next advertisement to be loaded immediately after the event occurs
- DSAppAdsState
- DSAppLovinNativeAd
- DSAppLovinNativeAdFlutter
- DSAppOpenAd
- DSInterstitialAd
- DSNativeAd
- DSNativeAdBannerStyle
- DSRewardedAd
- DSStateStub
- NativeAdBanner
- Legacy
- NativeAdBannerFlutter
- Flutter defined native banner description (currently supported by AppLovin) Use DS-widgets to prevent direct access to applovin_max lib. For example DSMaxNativeAdIconView instead of MaxNativeAdIconView
- NativeAdBannerInterface
- NativeAdBannerPlatform
- Platform-specific native banner description
Enums
Mixins
-
DSAdsNativeLoaderMixin<
T extends StatefulWidget> - Widget mixin to show Google and AppLovin MAX native ads with different ad id
Typedefs
- BannerAdBuilder = Widget Function(BuildContext context, bool isLoaded, Widget child)
- DSConsentStatus = ConsentStatus
- DSDurationCallback = Duration Function()
- DSIsAdAllowedCallback = bool Function(DSAdSource source, DSAdLocation location)
- DSMaxNativeAdAdvertiserView = MaxNativeAdAdvertiserView
- DSMaxNativeAdBodyView = MaxNativeAdBodyView
- DSMaxNativeAdCallToActionView = MaxNativeAdCallToActionView
- DSMaxNativeAdIconView = MaxNativeAdIconView
- DSMaxNativeAdMediaView = MaxNativeAdMediaView
- DSMaxNativeAdOptionsView = MaxNativeAdOptionsView
- DSMaxNativeAdStarRatingView = MaxNativeAdStarRatingView
- DSMaxNativeAdTitleView = MaxNativeAdTitleView
- DSMaxNativeAdView = MaxNativeAdView
- DSMaxNativeAdViewController = MaxNativeAdViewController
- DSNativeStyle = String
- DSOnAdFailedToLoad = void Function(DSAd ad, int errCode, String errDescription)
- DSOnPaidEventCallback = void Function(DSAd ad, double valueMicros, PrecisionType precision, String currencyCode, String? appLovinDspName)
- DSOnRewardEventCallback = void Function(DSAd ad, num amount, String type)
- DSPrecisionType = PrecisionType
- DSRetryCountCallback = int Function(DSAdSource source)
- NativeAdBuilder = Widget Function(BuildContext context, bool isLoaded, Widget child)
- NativeAdBuilderFlutter = Widget Function(BuildContext context, DSAppLovinNativeAdFlutter ad)
-
OnPaidEvent
= void Function(DSAd ad, DSAdMediation mediation, DSAdLocation location, double valueMicros, PrecisionType precision, String currencyCode, DSAdSource source, String? appLovinDspName, Map<
String, Object> metricaAttrs) -
OnReportEvent
= void Function(String eventName, Map<
String, Object> attributes)