Google Mobile Ads plugin for displaying advertisements.
Type Declaration
isPrivacyOptionsRequired: function
isPrivacyOptionsRequired():Promise<boolean>
Check whether the privacy options entry point must be shown, for example so users can change
their consent. Use it to decide whether to show a settings button that calls
Ads.presentPrivacyOptionsForm.
Returns Promise<boolean>
true if privacy options must be presented. false if they are not required, or if the check fails.
Handles banner ads, interstitial ads, rewarded ads, and privacy options.
Requires the google_mobile_ads plugin to be enabled in the app configuration.
Set ad unit IDs once via setAdUnitId(), then call load/show as normal.
Google Mobile Ads plugin for displaying advertisements.