bit_ads_pakage 1.0.6 bit_ads_pakage: ^1.0.6 copied to clipboard
bitcoding_pragnesh_flutter
UnityAds #
TODO: Show Intra Ads
UnityAds.showVideoAd(
placementId: 'PLACEMENT_ID',
onStart: (placementId) => print('Video Ad $placementId started'),
onClick: (placementId) => print('Video Ad $placementId click'),
onSkipped: (placementId) => print('Video Ad $placementId skipped'),
onComplete: (placementId) => print('Video Ad $placementId completed'),
onFailed: (placementId, error, message) => print('Video Ad $placementId failed: $error $message'),
);
TODO: Show Banner Ads
Googleads.unityBannerShow;
Getting started #
TODO: List prerequisites and provide or point to information on how to start using the package.
Usage #
TODO: Include short and useful examples for package users. Add longer examples
to /example
folder.
const like = 'sample';
for admob
for adx
-WidgetsFlutterBinding.ensureInitialized(); -Admob.initialize();
- show ads final isLoaded = await interstitialAd.isLoaded; if (isLoaded ?? false) { interstitialAd.show(); } else { showSnackBar( 'Interstitial ad is still loading...'); }
ad manager test id Banner :- /6499/example/banner Intra :- /6499/example/interstitial Reward :- /6499/example/rewarded
admob test id Banner :- ca-app-pub-3940256099942544/6300978111 Intra :- ca-app-pub-3940256099942544/1033173712 Reward :- ca-app-pub-3940256099942544/5224354917 #
Additional information #
TODO: Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.