This is a tremendous resource, thank you very much for it. Its gives this hobbyist programmer clear and visual instructions which were easy to follow along. Thank you Flutter team.
Adsense should provide better information for scenarios regarding the "Ad serving has been limited" issue. It will be better if we know the exact cause of the problem so that we can address it promptly if something needs to be fixed at our end. The backend user experience should be user-friendly.
By using this method banner ads are reloading as it leave and re-enter display. It is very bad to adsense account reputation and ecpm. The reason behind is Listview.builder (as i found yet). Add some print statement in mid process and observe in console. Here list is a "list of widget" or data and list.map is used to return each of them one by one. Try ...list.map((element) {return YourContent;})
@@aminelahrim8142 Personally I'm also a big fan of Kotlin and Swift, and wanted to use them in the codelab as well. However, many people are still on the legacy (Java and ObjC) side. For those who're using Kotlin and Swift should have enough knowledge to convert Java and ObjC code into Kotlin and Swift, I believe. :) But I'll consider to include Kotlin/Swift code to the content, as per your comment.
flutter _won't_ be a game engine. Unless they will make game engine flutter based, which would only support 2d. Two causes why it _won't_ happen: 1. It's extremely difficult, flutter is made for apps, so it will be even more difficult than writing a game engine from scratch. 2. Google don't really need it, as shown in flutter 2.0, many google apps were made with flutter, so that means google made flutter to make _apps_ for themselves
Solutions to errors as of Dec 30, 2022: Use BannerAdListener instead of AdListener, use "BannerAd? banner;" and "child: AdWidget(ad: banner!)," for null safety.
BannerAd banner; line of code shows error in my case. It says banner initialization error. Also if I mark it as late, then the loading screen of my phone says lateinitialization error. But in the video they have got no error. Please help to resolve this issue.
Thank you so much for even explaining things like the cascade operator! I learned so much from just this one video. Everything was very clear and PACKED with info! And, you are all cool! ;) Since I'm a Flutter/Dart beginner (but veteran programmer), I had to watch the video at 0.5 speed and keep pausing it to take notes, so I'm INCREDIBLY thankful that RUclips has this feature, and that your visuals were clear and everything was timed well to still work great at 0.5 speed!
@@sathishcanine Ok, I understand I can, but should I? Is it ok to share the same bannerAd between different BannerWidgets or should I create one for each screen? I feel like firebase_admob had fewer ad options, but it was so darn easier and simpler.
Great video for including ads in flutter apps! But unfortunately, I could not find a working guide on how to properly implement the user messaging platform SDK in connection with these ads. Maybe you could make a video on this topic, since making apps with ads GDPR compliant is still an obstacle...
I do think this can be done through Ad Manager - and you can add your own banners which you sell. We've used FAN through Ad Manager on mobile websites. Not looked into Admob mediation - that might also be a solution.
Thank for this great video ,The real world scenario we have to check if user has subscription purchase or not then display ads ,Could you please recommend best scenario ?
You'd probably want to use an in-app purchase plugin (see pub.dev) to determine whether the user has the correct subscription. Once that's done, your code can make the decision about whether or not to load and display ads.
Error while building APK:- As per the instructions at pub.dev you might be using gradle 6.5 for google_mobile_ads.... have you tried building apk ? Am using windows machine Gradle 5.6.2 is working fine But above version aren't Am badly trying to solve this issue from last week. Please help Thank you in advance
I have started Flutter a week ago and build a simple calculation app with a logo and splash screen and was curious to place ads in it but it just all went over me... :))
Thanks for the video. When are you going to tackle adding ads to the web builds? Now that web left the beta it would be good to have at least adsense support...
The admob package is very unstable and when banner ads are implemented it lowers your app's performance drastically. Implementing admob into flutter is very easy, you just have to go through the official documentation with some tutorials if needed. But the major issue is getting your application reviewed by the Google before you can start getting payment. If you are a beginner at this, there is a very high chance you won't get approval and all your hard work would account for nothing. I personally had my admob account banned because it didn't follow the "policy", and if your account gets disabled, then, I'm sorry, you are on your own.
We can check this off the list 🗒️ Happy to hear this, Gavin. You can also check out the Flutter Update video regarding App Monetization via this link: goo.gle/3T3XBTF
I am having performance problems when using this plugin. Problems scrolling and crashing apps on devices running android 8 and earlier. This plugin is very unstable.
Can we just stick an Banner Ads widget on every page without worrying about Ad Request frequency? Admob states that we should limit ad request to one every 60 seconds. Please advise.
So, are these instructions valid only if you build app with Flutter? Do you need a Mac operating system if you want to deploy to Apple Store or does Flutter let you compile apps for IOS even on a Windows OS? Thank you
This is an official bug of the admob package. The issue is more apparent in the banner ads. Even in profile mode it has lowered performance and causes low frame rates.
the ad mob that integrate the ads on the widget tree is good but on phones with Arabic language has a weird ui bug it works but dont totally render like on latin languages maybe cause the text is from right to left didnt try the chinese or other language u should check it thank you for the plugin
It’s ridiculous how easy it is to get banned by AdMob. Don’t put your income solely in the hands of google. They can cut you off at any time, and not even tell you why, and not allow you to talk to them about it. They’ll just say something vague like “against our terms of service” and cut you off. I love flutter, but I don’t like Google controlling how and if I’m allowed to make money.
Google admob frustrated me And is still going to frustrate many It’s so sad how they can terminate an account without guiding you on specific solution. Neither do they all you to reach them. Automated response is there priority So sad 😞
imagine wanting to add the ad mob feature to your flutter app and you find this video which gets you done in 20 minutes, with utter ease ! just imagine. and they say development is difficult !
By using this method banner ads are reloading as it leave and re-enter display. It is very bad to adsense account reputation and ecpm. Please Help if fix available.
Thank you If Google pay is used to purchase app (direct purchase from play store), it reverses and get cancelled. I get more than 30 cancellation in a month with only few charged. I reported to support, no reply I don't know if it happens for any UPI payment in India If I use in- app purchase, will it happen
Hello, once again a really good video! Could you possibly add in a video (this is important for the european programmers) how to correctly integrate Google's User Messaging Platform (UMP) with Flutter? That would be so awesome!
Hello I'm Andrew and I just started learning flutter a couple of months i was A REACT dev for 4 years so i have long tech experience hoping to connect or something
This is a tremendous resource, thank you very much for it. Its gives this hobbyist programmer clear and visual instructions which were easy to follow along. Thank you Flutter team.
OMG guys thanks for this tutorial. I really needed this for monetization. Keep up the great work.
this is very important thing for some people, thanks for enabling it in flutter!
Adsense should provide better information for scenarios regarding the "Ad serving has been limited" issue. It will be better if we know the exact cause of the problem so that we can address it promptly if something needs to be fixed at our end. The backend user experience should be user-friendly.
By using this method banner ads are reloading as it leave and re-enter display. It is very bad to adsense account reputation and ecpm. The reason behind is Listview.builder (as i found yet). Add some print statement in mid process and observe in console. Here list is a "list of widget" or data and list.map is used to return each of them one by one. Try ...list.map((element) {return YourContent;})
Great explanation. Pls is it possible to have the source code ?
I hope get an example for native ad, because am working on A project right now and i need to use the native ad and this keynote come, i feel so lucky
Here you go - codelabs.developers.google.com/codelabs/admob-inline-ads-in-flutter
@@TaehoKim all flutter new app usr kotlin and swift buy unfortunately this doc use java and objective c
@@aminelahrim8142 Personally I'm also a big fan of Kotlin and Swift, and wanted to use them in the codelab as well. However, many people are still on the legacy (Java and ObjC) side.
For those who're using Kotlin and Swift should have enough knowledge to convert Java and ObjC code into Kotlin and Swift, I believe. :)
But I'll consider to include Kotlin/Swift code to the content, as per your comment.
@@TaehoKim ok thank you so much, am now in a project and am stuck
An adds after the user completes a level in a "game", so it seems they support flutter being a game engine
flutter _won't_ be a game engine. Unless they will make game engine flutter based, which would only support 2d.
Two causes why it _won't_ happen:
1. It's extremely difficult, flutter is made for apps, so it will be even more difficult than writing a game engine from scratch.
2. Google don't really need it, as shown in flutter 2.0, many google apps were made with flutter, so that means google made flutter to make _apps_ for themselves
Solutions to errors as of Dec 30, 2022: Use BannerAdListener instead of AdListener, use "BannerAd? banner;" and "child: AdWidget(ad: banner!)," for null safety.
BannerAd banner; line of code shows error in my case. It says banner initialization error. Also if I mark it as late, then the loading screen of my phone says lateinitialization error. But in the video they have got no error. Please help to resolve this issue.
Have you been able to fix this? Having a similar issue. I know it's related to null safety.
Wow, this is great. I love flutter! Great works flutter-team!
Thank you so much for even explaining things like the cascade operator! I learned so much from just this one video. Everything was very clear and PACKED with info! And, you are all cool! ;)
Since I'm a Flutter/Dart beginner (but veteran programmer), I had to watch the video at 0.5 speed and keep pausing it to take notes, so I'm INCREDIBLY thankful that RUclips has this feature, and that your visuals were clear and everything was timed well to still work great at 0.5 speed!
If we have 10 Screens in our app and we want to display banner add on each screen. Shall we create 10 Admob Banner Ad units for each Screen?
Use testad while developing play around
Yes you can create different banner ad unit for each and every screen..
@@sathishcanine Ok, I understand I can, but should I? Is it ok to share the same bannerAd between different BannerWidgets or should I create one for each screen? I feel like firebase_admob had fewer ad options, but it was so darn easier and simpler.
It's no longer AdListener now it is BannerAdListener
which is weird becuase now there are less parameters
Thank you so much yrr, you saved me. I had been struggling to solve this problem since 2 days now. Finally I got you, thanks a lot.
@@suniltimilsina7425 your welcome, I struggled a fair bit myself with that one lol
Thanks. Deprecated code is the biggest fail with flutter.
Great video for including ads in flutter apps! But unfortunately, I could not find a working guide on how to properly implement the user messaging platform SDK in connection with these ads. Maybe you could make a video on this topic, since making apps with ads GDPR compliant is still an obstacle...
I am looking for Facebook Audience Network . Admob Gives ads limit most of the times .
I do think this can be done through Ad Manager - and you can add your own banners which you sell. We've used FAN through Ad Manager on mobile websites. Not looked into Admob mediation - that might also be a solution.
Yes, I'm too getting ad serving limits frequently and sadly they don't give proper reason. Finally moving to FAN
Thank for this great video ,The real world scenario we have to check if user has subscription purchase or not then display ads ,Could you please recommend best scenario ?
You'd probably want to use an in-app purchase plugin (see pub.dev) to determine whether the user has the correct subscription. Once that's done, your code can make the decision about whether or not to load and display ads.
Error while building APK:-
As per the instructions at pub.dev you might be using gradle 6.5 for google_mobile_ads.... have you tried building apk ?
Am using windows machine
Gradle 5.6.2 is working fine
But above version aren't
Am badly trying to solve this issue from last week. Please help
Thank you in advance
I have started Flutter a week ago and build a simple calculation app with a logo and splash screen and was curious to place ads in it but it just all went over me... :))
Thanks for the video.
When are you going to tackle adding ads to the web builds? Now that web left the beta it would be good to have at least adsense support...
When will google_mobile_ads be available for null safety?
In the App I just need this package so I can use the benefits of programming in null safety.
I believe it's currently being migrated, so keep an eye on pub.dev!
Do i need to dispose the banner ad?
same doubt... How to dispose banner ads on list?
I was looking for this solution. Great👍😊
The admob package is very unstable and when banner ads are implemented it lowers your app's performance drastically. Implementing admob into flutter is very easy, you just have to go through the official documentation with some tutorials if needed. But the major issue is getting your application reviewed by the Google before you can start getting payment. If you are a beginner at this, there is a very high chance you won't get approval and all your hard work would account for nothing. I personally had my admob account banned because it didn't follow the "policy", and if your account gets disabled, then, I'm sorry, you are on your own.
can I use same ad unit for multiple appearances in a list? I get This AdWidget is already in the Widget tree exception
Very useful package and video.
We're happy to hear you found this helpful! Don't forget to check out the links in the description for more tips and tutorials 😄
@@flutterdev Ok thank so much I will check it
HEllo, I am just facing a problem with the release version where ads are not shown there thoough they apear normally on the debug version, any help
Can you explain about sdk version maximum 19
Its about change the version on your build.grade but sometimes it doest work
A very good tutorial for Flutter in general too. Very useful for me and has given me some ideas regarding ListItems. Thanks!
We can check this off the list 🗒️
Happy to hear this, Gavin. You can also check out the Flutter Update video regarding App Monetization via this link: goo.gle/3T3XBTF
can I get the link to the git repo of this session please?
I am having performance problems when using this plugin. Problems scrolling and crashing apps on devices running android 8 and earlier. This plugin is very unstable.
Can we just stick an Banner Ads widget on every page without worrying about Ad Request frequency? Admob states that we should limit ad request to one every 60 seconds. Please advise.
So, are these instructions valid only if you build app with Flutter? Do you need a Mac operating system if you want to deploy to Apple Store or does Flutter let you compile apps for IOS even on a Windows OS? Thank you
Wonderful tutorial ! just go a little issue "Request Error: No ad to show" if any one has an advice it would be great !
After implementing the banner ad, my app is kinda slow now, even on release build, I don't know what did I do wrong, anyone?
The same thing happens to me, have you managed to solve it?
This is an official bug of the admob package. The issue is more apparent in the banner ads. Even in profile mode it has lowered performance and causes low frame rates.
thanks for this great tutorial!
This is amazing! I hope we get desktop and web support soon!
I'm not a programmer, can i make dart as my first programming language?
Sure! There are a number of courses and tutorials you can find on the web that start off at the beginner level.
Dart is a very easy language to pick up also.
@@andrewbrogdon558 I am having an error when tried with real adunitid and appid
Great work, thank you!
Absolutely wonderful work. thank you ))
It's our pleasure, Davit. You can check out even more information regarding monetization features via this link 😁: goo.gle/3fWeuS9
the ad mob that integrate the ads on the widget tree is good but on phones with Arabic language has a weird ui bug it works but dont totally render like on latin languages maybe cause the text is from right to left didnt try the chinese or other language u should check it thank you for the plugin
Thanks Google!
I have one question .. how we can create tests with production ads?
Hi, i'm having issues using Admob with the cloud firestore plugin.. Someone having also this issue?
it works with test ads but with real ads this error occur
AdWidget requires Ad.load to be called before AdWidget is inserted into the tree
Same
My Android emulator doesn't work and I'm stuck fixing it😭 . I'm really excited building my own apps 😞.
how my android app user get the updated subscribed info or premium version of my app which was purchased with iphone app version ?
What if developers have been banned by Google from AdMob/AdSense? Without an adequate explanation? Where are alternatives?
Switching to Facebook Audience Network ☺
It’s ridiculous how easy it is to get banned by AdMob. Don’t put your income solely in the hands of google. They can cut you off at any time, and not even tell you why, and not allow you to talk to them about it. They’ll just say something vague like “against our terms of service” and cut you off. I love flutter, but I don’t like Google controlling how and if I’m allowed to make money.
Google admob frustrated me
And is still going to frustrate many
It’s so sad how they can terminate an account without guiding you on specific solution. Neither do they all you to reach them. Automated response is there priority
So sad 😞
@@extremeHoration3:06
Hey. Can you maybe update this video with the using-permission gms stuff? (Android)
How add native ads in future list
Wow... thanks Flutter!
Hello, facing an issue Error: 'InitializationStatus' isn't a type. Thanks in advance
Thanks a lot, clear explanation and the demo is very easy to implement
perfect but if you have a lot of state management code need be different or everytime u get a banner ad at 10
I want to play vast ads in video player. Any refrence please.
If I implemented exactly what was shown and published the app on the store will I get ad revenues?
Hey nice video!
Can you make a video how to ask for the app tracking transparency?
You need it for iOS..
Great work ❤️
Is mediation supported with other networks
Thank you so much .. helping us a lot ❤️😃
Don't mention it, Leela! We're happy to help ❤️😄
imagine wanting to add the ad mob feature to your flutter app and you find this video which gets you done in 20 minutes, with utter ease !
just imagine.
and they say development is difficult !
why if and else statement syntax is different here... why no {}(Curly braces) 17:40
Where i get my factoryId for native ads?
By using this method banner ads are reloading as it leave and re-enter display. It is very bad to adsense account reputation and ecpm. Please Help if fix available.
buenas tardes, actualmente a hoy 2024, sigue vigente esto?
Thanks a lot ❤
Great Video ❤
How to resolve publisher data not found error while implementing in banner ad?
How can we remove the empty space when the error failed to load? as the listener is in the other class...
How to dispose of Banner ad which is on the list?
Cool! I need this to ease my job
Hi Lưu! Don't forget to visit the resource site here: flutter.dev/monetization
This is a cool feature that I wait to see and implement for along time. Thank you for releasing this good feature.
When I tried real adunitid and appid it gives me an error
Thank you
If Google pay is used to purchase app (direct purchase from play store), it reverses and get cancelled. I get more than 30 cancellation in a month with only few charged. I reported to support, no reply
I don't know if it happens for any UPI payment in India
If I use in- app purchase, will it happen
you have to call verify purchase ,after 3 days the purchasing will be cancelled if not called ,this is google policy
thank you so much
We're happy to hear that you enjoyed the video!
Be sure to check out the links in the description for more tips and tutorials 😃
@@flutterdev is there on video on how the monetizing works ? Like it’s a weird question but if you click yourself on the banner you’ll get + money
@@flutterdev please after installing all these i got white screen issue... please can you help me solve it.. im really new to the flutter language
Hello, once again a really good video! Could you possibly add in a video (this is important for the european programmers) how to correctly integrate Google's User Messaging Platform (UMP) with Flutter? That would be so awesome!
anyone, can u show me, how to impelement Add for !Banner please, thanks
Hello I'm Andrew and I just started learning flutter a couple of months i was A REACT dev for 4 years so i have long tech experience hoping to connect or something
can anyone please provide me with full code for this video? 🥺
Nice tutorial!
can we use facebook audient network to show ads, help please.
i got error at "AdListener" do you know how to fix it guys?
great video. What if the list widget is an animated list ?
Please make a flutter monetizing tutorial for beginners. this is too complex to understand!
THANKS!!!!!!
Native ads in future list please show an example
Awesome 👍🏾👍🏾👍🏾
Very important video
Very good 👍
why the BLACK for the banenr was missing for the first one :) ? :D
have this error AdWidget requires Ad.load to be called before AdWidget is inserted into the tree
have same error did you find an fix ?
So funny, Thanks Flutter !!!
That was good , but its not that easy . I need to practice more
Me too. :)
can someone explain for me why my AdListener dosent work for me ??
Very interesting
🙏 👍 💰 ❤️️ Thanks for tutorial, Flutter is amazing and i love it!
Does anyone were able to make native ads works on ios device? 😭😭😭
thank you but at 31/03/2022 we got an error:
- AdListener class not exist
@Another way of doing thanks
Thank You
Be sure to check out this link for more information and resources on Monetization with Flutter: goo.gle/3rKpfJP
Happy Fluttering 👍
How to Fetch All Videos Of Device Storage into My Flutter App after Giving Storages Permission?
How can be monetize using monetag
What about flutter web apps?
youtube video quality: him
youtube ad quality: her
Please make that Google admob package null safety..