functional_google_mobile_ads

Functional Google Mobile Ads

Introduction

This project is a functional version of the google mobile ads,

First of all, you have to follow mobile ads sdk(quick-start).

from here

import

import 'package:functional_google_mobile_ads/functional_google_mobile_ads.dart';

One line functional Usage

FunctionalInterstitialAd

  await FunctionalInterstitialAd.loadAndShow(adUnitId: 'adUnitId');

FunctionalRewardedAd

  await FunctionalRewardedAd.loadAndShow(adUnitId: 'adUnitId');

FunctionalRewardedInterstitialAd

  await FunctionalRewardedInterstitialAd.loadAndShow(adUnitId: 'adUnitId');

FunctionalBannerAd

Column(
    children: [
        FunctionalBannerAd(adUnitId: 'adUnitId', adSize: AdSize.banner),
    ] 
)