Skip to main content

unified_ads_platform_interface 1.0.0 copy "unified_ads_platform_interface: ^1.0.0" to clipboard
unified_ads_platform_interface: ^1.0.0 copied to clipboard

Common platform interface for unified_ads: the AdNetworkAdapter contract, shared ad models, and the adapter registry.

1.0.0 #

Initial release.

  • AdNetworkAdapter contract and AdapterRegistry. Adapters register themselves from their dartPluginClass.
  • BridgedAdNetworkAdapter: a base class for Pigeon/method-channel adapters. It never throws, maps PlatformException → AdError, tracks loaded ads, and translates native events.
  • BridgedAdNetworkAdapter.logMetaBidding: a protected helper the mediation adapters use to report the opt-in Meta bidding adapter.
  • Shared models: AdNetwork, AdFormat, AdConfig, NetworkConfig, PlatformValue, AdError / AdErrorCode, AdResult, the sealed AdEvent hierarchy, BannerSize, BannerRequest, RewardItem, FrequencyCap, PreloadPolicy, TestModeSupport.
  • ConsentState / ConsentProvider, TrackingStatus / TrackingAuthorization.
  • AdsLogger with levels and pluggable sinks, silent by default.
  • UnsupportedAdNetworkAdapter for documented stubs.
1
likes
160
points
225
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Common platform interface for unified_ads: the AdNetworkAdapter contract, shared ad models, and the adapter registry.

Repository (GitHub)
View/report issues
Contributing

Topics

#ads #monetization #advertising

License

MIT (license)

Dependencies

flutter

More

Packages that depend on unified_ads_platform_interface