# ShowFullscreenAdvertAdMob

## Description

Creates a fullscreen (interstitial) advert for revenue generation using AdMob. Before calling this function you must have set your ad account details with SetAdMobDetails. Both iOS and Android use caching to preload ads before displaying them. If an ad has been loaded when you call this command then it will be displayed immediately, otherwise it will attempt to load ad ad for next time you call this command. Failure to load an ad may be because the ad provider has run out of ads to show to users in a particular country. You can check if an ad is waiting to be displayed with GetFullscreenAdvertLoadedAdMob. Your app will be paused when the advert is displayed, and will resume when the advert is dismissed.

## Definition

ShowFullscreenAdvertAdMob()

void agk::ShowFullscreenAdvertAdMob()