show ads in flutter website(flutter web app)

2k Views Asked by At

How to implement AdSense or any other to show ads on the flutter website (flutter web app).

Which are the ad provider options like Adsense for a flutter web app.

3

There are 3 best solutions below

0
On

I don't think flutter is in a mood to encourage adds on flutter web. Google uses crawlers to search the content on websites which will not work in case of flutter that well event though you try to inject adds through js code using plugin and this made me scrape my whole UI project and start it over again on angular or react.

0
On

Currently if you try, your application will be submitted for review, and then you will inaccurately obtain a "Valuable Inventory: No content" flag/violation. The problem is noticed though, but unfortunately it will be a good amount of time before it gets prioritized over the mobile ad framework.

https://github.com/flutter/flutter/issues/40376

1
On

Take a look at this new package I just saw has been released. Still in the infancy stages as it says but it's a start at least.

https://pub.dev/packages/admanager_web

Example of implementation:

 AdBlock(
     size: AdBlockSize.largeRectangle,
     adUnitId: "/6355419/Travel/Europe", 
 )