Configure Facebook Ads

Modified on Thu, 11 May 2023 at 04:04 AM

1. Make sure you have an Facebook Audience Network account, If you haven't created it, please signup here.


2. Login into Facebook Audience Network console.


3. Select menu Integration and click the Properties menu.


4. Create new your property of your app and give it the name of your app, (ex; Test Demo App).



5. Select the platform of your choice, for example we choose Android.


6. Fill the app details, if you already publish your app to play store. Paste your play store app URL, if you haven't leave it empty or fill later.



6. Next, select your payment account if you have one, otherwise create one and verification.



7. Then, choose the Media Platform with Google AdMob. Then Create placement.



8. Create your ad placement by selecting Banner and Interstitial ad.



9. Then, copy and paste the Placement ID in your app.



10. Open the Project Folder and go to lib\fb_ad_helper.dart. Change bannerAdPlacementId and interstitialAdPlacementId with your own ID.



11. Then go to lib\main.dart, change the value of adProvider inside FlavorConfig to Facebook Ads.



12. Done, rebuild the app and now Facebook Ads will appear in your app.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article