Type String Event adsRequest Revision Release 2022.3683 Keywords ads, advertising, AdMob, adsRequest, phase See also adsRequest admob.*
String value indicating the phase of the adsRequest event. Possible values include:
"init"
— Indicates that the AdMob plugin was initialized successfully. You must wait for this event phase before trying to load/show ads.
"loaded"
— Indicates that an ad has been loaded successfully via admob.load().
"displayed"
— Indicates that an ad has been displayed successfully via admob.show().
"refreshed"
— Indicates that a banner ad has been updated with a new ad.
"reward"
— Indicates that a rewarded video ad has been viewed to its completion and that a reward should be given. Additionally, for this phase, event.data is a rewardItem
and rewardAmount
keys.
"hidden"
— Indicates that a banner ad has been hidden.
"clicked"
— Indicates that an ad was clicked/tapped.
"closed"
— Indicates that an interstitial ad was closed.
"failed"
— Indicates that an ad failed to load. For this phase, event.isError will be true
and event.response provides additional context on the error. Additionally, for this phase, event.data is a errorCode
and errorMsg
keys.