0
votes

I am new to Flutter and experimenting around on how to ad Admob ads in Flutter applications, found firebase_admob package, but according to the documentation we are required to create a Firebase project for that, is there any way to integrate Admob without actually crating a hole Firebase project for it ?

1

1 Answers

1
votes

actually you dont need to create a firebase project to use admob.

your ads widget in flutter require adUnitId parameter.

example for BannerAd widget

adUnitId: YOUR_AD_ID //for real device

adUnitId: BannerAd.testAdUnitId //for test in emulator

So you need to create a admob project in https://admob.google.com/

after that you will get adUnitId to use in your real device