Platforms to show: All Mac Windows Linux Cross-Platform
GADAppOpenAdMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Mobile Ads | MBS iOS Plugin | 22.5 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
Used to monetize app load screens.
See https://developers.google.com/admob/ios/app-open to get started.
- 8 events
- event DidDismissFullScreenContent
- event DidFailToPresentFullScreenContentWithError(error as NSErrorMBS)
- event DidRecordClick
- event DidRecordImpression
- event loadCompleted(error as NSErrorMBS)
- event paid(value as GADAdValueMBS)
- event WillDismissFullScreenContent
- event WillPresentFullScreenContent
- 2 properties
- property Handle as Integer
- property responseInfo as GADResponseInfoMBS
- 6 methods
- method canPresent(byref error as NSErrorMBS) as Boolean
- method Constructor
- method Destructor
- method loadWithAdUnitID(adUnitID as String, orientation as Integer, request as GADRequestMBS = nil)
- method loadWithAdUnitID(adUnitID as String, request as GADRequestMBS = nil) New in 24.0
- method Present
- 7 constants
Device Orientation Constants
Constant | Value | Description |
---|---|---|
DeviceOrientationFaceDown | 6 |
The device is held parallel to the ground with the screen facing downwards. |
DeviceOrientationFaceUp | 5 |
The device is held parallel to the ground with the screen facing upwards. |
DeviceOrientationLandscapeLeft | 3 |
The device is in landscape mode, with the device held upright and the home button on the right side. |
DeviceOrientationLandscapeRight | 4 |
The device is in landscape mode, with the device held upright and the home button on the left side. |
DeviceOrientationPortrait | 1 |
The device is in portrait mode, with the device held upright and the home button at the bottom. |
DeviceOrientationPortraitUpsideDown | 2 |
The device is in portrait mode but upside down, with the device held upright and the home button at the top. |
DeviceOrientationUnknown | 0 |
The orientation is currently not known. |
This class has no sub classes.
Some examples using this class:
Blog Entries
Release notes
- Version 24.0
- Added new loadWithAdUnitID method to GADAppOpenAdMBS class.
The items on this page are in the following plugins: MBS iOS Plugin.
GADAdValueMBS - GADBannerViewMBS