NewsHour Doc
Comment on page

7. Ads Setup

You can skip this setup for now and can configure it later. We have enabled AdMob ads by default with test ad unit ids. You can enable/disable ads from the admin panel.
We have added two types of AdMob ads.
  1. 1.
    Banner Ads: At the bottom of the normal article screen (lib/pages/article_details.dart).
  2. 2.
    Interstitial Ads: Interstitial ads will show when the video loaded successfully. (lib/pages/video_article_details.dart)
You can control ads from the admin panel. We have added an option to turn off/on ads at any time you want. Don’t enable ads on the admin panel if you are not enabled ads in the app.
We have used Admob ads by default with test unit ids. To test the ads, you should test with the test unit ids. Before releasing the app for production, make sure you have changed the app ids and ad unit ids with yours. Admob is applied by default. So you don’t have to do anything before releasing.
Last modified 9mo ago