# ShowRewardAdAdMob

## Description

Creates a fullscreen reward video advert for revenue generation using AdMob. Before calling this function you must have set your ad account details with SetAdMobRewardAdDetails. 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 an 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 GetRewardAdLoadedAdMob. Your app will be paused when the advert is displayed, and will resume when the advert is dismissed. Check GetRewardAdRewardedAdMob to see if the user completed watching the reward ad and should be rewarded. It will be set to 0 when you call this command, and then set to 1 when they have finished watching

## Definition

ShowRewardAdAdMob()

void agk::ShowRewardAdAdMob()