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

КОМЕНТАРІ • 29

  • @tusharpatel3290
    @tusharpatel3290 3 роки тому +3

    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 :)

  • @shqipchannel3919
    @shqipchannel3919 3 роки тому +4

    hi bro but ads have been loaded how to show every time that I click a button? please I need help

    • @BleylDev
      @BleylDev  3 роки тому

      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.

    • @shqipchannel3919
      @shqipchannel3919 3 роки тому +1

      @@BleylDev please can help , with code lines I'm begginer

    • @beart5228
      @beart5228 3 роки тому +3

      I'm also interested in this question

  • @philf1993
    @philf1993 3 роки тому +1

    Really good, worked on the first run, thanks!

  • @dianagomeztato
    @dianagomeztato 3 роки тому +4

    Anyone getting the error "The class 'InterstitialAd' doesn't have a default constructor" ??

  • @sadikyasarpinarci444
    @sadikyasarpinarci444 3 роки тому +1

    Great tutorial, thanks. Are you thinking to make one for Rewarded ads? that would be marvellous and much appreciated.

  • @Hi-tk4he
    @Hi-tk4he 3 роки тому +2

    Thanks. For banner ad, do I need to repeat codes at every page or one code can be used to show at all pages.

    • @BleylDev
      @BleylDev  3 роки тому +1

      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.

  • @howarddong2960
    @howarddong2960 2 роки тому

    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.

  • @theomkale
    @theomkale 3 роки тому +1

    Really awesome explanation.
    Looking forward for more such videos.

  • @shahidwani6445
    @shahidwani6445 3 роки тому

    Please show how to ad native ads in
    future list
    using Google Mobile ads

  • @TheMcSebi
    @TheMcSebi 3 роки тому

    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.

    • @BleylDev
      @BleylDev  3 роки тому

      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?

  • @hanzalasaeed9797
    @hanzalasaeed9797 3 роки тому

    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

    • @hanzalasaeed9797
      @hanzalasaeed9797 3 роки тому

      Understood the problem. I was disposing the ad before loading it xd

    • @BleylDev
      @BleylDev  3 роки тому

      Good catch! Glad you were able to figure that out.

  • @ninehichem5037
    @ninehichem5037 3 роки тому

    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

    • @BleylDev
      @BleylDev  3 роки тому +1

      You will never get ads like that, but you can set maturity settings on the ads. Check out the documentation for the package.

    • @ninehichem5037
      @ninehichem5037 3 роки тому +1

      @@BleylDev thanks a lot , i will check the documentation

  • @TheyElectronica
    @TheyElectronica 3 роки тому +1

    Hype 🤗

    • @BleylDev
      @BleylDev  3 роки тому

      Appreciate the hype 😁

  • @ergi5664
    @ergi5664 3 роки тому +1

    respect

    • @BleylDev
      @BleylDev  3 роки тому

      Thanks for the support!