8. Ads Setup

We have added interstitial AdMob ads. You can also set how many times a user clicks to show an ad. By default, we have added clicksCount for 5 times. That means when a user goes to a screen and if the clicksCount is multiplied by 5, then an ad will be shown. Then means after 5,10,15...clicks an ad will be shown if the ads are loaded properly. We have applied ads to 5 screens.

  • lib/pages/place_details.dart,

  • lib/pages/blog_details.dart,

  • lib/pages/guide.dart,

  • lib/pages/hotel.dart,

  • lib/pages/restaurant.dart

That means ClickCount will be applied only for these 5 screens. To edit the clickCount times, go to lib/config/ad_config.dart file and edit the amount.

Last updated