App Open
This section contains information about App Open, if you are looking for examples, head to the Blueprint examples or the C++ examples.
What are they?
App open ads are a special ad format intended for publishers wishing to monetize their app load screens. App open ads can be closed at any time, and are designed to be shown when your users bring your app to the foreground.
API Reference
Methods
LoadAd
Description
Loads an ad. This method must be called before trying to display an ad. It takes time to complete.
Parameters
- AdUnit
FStringView
: The ad unit used for the App Open. - Keywords
const TArray<FString>&
: The keywords for the ad. - Orienation
EAppOpenOrientation
: The orientation for the ad. - Callback
FAdMobCallback
: Callback called when the ad has been loaded.
Show
Description
Shows the ad. An ad has the be loaded first by using LoadAd.
Parameters
- Callback
FAdMobCallback
: Callback called when the ad is shown.
IsAdAvailable
Description
Returns a bool
value indicating if an ad has been loaded and is available.
GetAdLoadTime
Description
Returns a FDateTime
value indicating when the ad was loaded.
IsShowing
Description
A static function which returns a bool
value indicating if an AppOpen is currently presented on screen.
Events
OnPresented
Called when the AppOpen ad has been presented to the user.
OnDismissed
Called when the user dismissed the ad.
OnImpression
Called when the ad recorded an impression.