Flutter Interstitial Mobile Video Ads
Вставка
- Опубліковано 14 жов 2024
- This tutorial goes through how to use Interstitial ads in your Flutter Mobile application. Interstitial ads are video advertisements that take up the full screen and require at least 5 seconds of watching before being able to dismiss the advertisement.
Code: github.com/Bob...
For more weekly Flutter content be sure to subscribe to the channel and turn on your notifications.
If you have any questions or are needing help with your Flutter project, join the Bleyl Dev discord and connect with other Flutter developers to help answer your questions!
✅ Discord: / discord
✅ Twitter: / bleyldev
✅ Facebook: / bleyldev
✅ Medium: / bleyldev
✅ The Flutter Shop: teespring.com/...
#flutter #admob #interstitial
that's what i exactly wanted by the way are you planning to make how to implement native ads in flutter ? i ready need that and i'm really appreciate for it :)
hi bro but ads have been loaded how to show every time that I click a button? please I need help
As mentioned in the video, you need to refresh the state of the app to create a new instance of the ad for you to show multiple ads within the same class. So you need to setup a method that creates a new ad instance and loads it each time the user clicks a button and then shows that ad immediately after.
@@BleylDev please can help , with code lines I'm begginer
I'm also interested in this question
Really good, worked on the first run, thanks!
Anyone getting the error "The class 'InterstitialAd' doesn't have a default constructor" ??
use the old package , latest one have errors.
yup
Great tutorial, thanks. Are you thinking to make one for Rewarded ads? that would be marvellous and much appreciated.
Sure thing!
Thanks. For banner ad, do I need to repeat codes at every page or one code can be used to show at all pages.
You could probably setup an implementation where you could re-use the same class and object. But each different banner needs to have it's own BannerAd instance, so whatever you do, just keep that in mind.
The easy way to make ads loaded after one ad is shown is to wrap the createAds function inside the adsClosed when u closed the ad.
Really awesome explanation.
Looking forward for more such videos.
Thanks!
Please show how to ad native ads in
future list
using Google Mobile ads
Is this the same for Interstitial Ads with Rewards (Beta)? Because my Interstitial ads can always be closed instantly, also they never show videos. Only images.
I'm unsure about that, I'd have to look into it more. As far as the only images, no video ads, that is a little odd. Are you using their test ads or are you seeing this in a published app?
Great video. I have a question. I'm trying to reload my ad onAdClosed by calling super.initState(). But it is not working. It's still giving an error. Can you please show me a better way? Thanks
Understood the problem. I was disposing the ad before loading it xd
Good catch! Glad you were able to figure that out.
hey sir, i have question concerned the type of ad for video and Interstitial!
how do i specify to not get a +18 ads.. like naked women or..
because iam building a quiz app and i will put ads on it so .. i would like to put an educational ad type maybe or anything under +18 thanks a lot
You will never get ads like that, but you can set maturity settings on the ads. Check out the documentation for the package.
@@BleylDev thanks a lot , i will check the documentation
Hype 🤗
Appreciate the hype 😁
respect
Thanks for the support!