Platforms to show: All Mac Windows Linux Cross-Platform
Back to GADBannerViewMBS class.
GADBannerViewMBS.adSize as GADAdSizeMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Mobile Ads | MBS iOS Plugin | 22.5 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
If not using mediation, then changing the adSize after an ad has been shown will cause a new request (for an ad of the new size) to be sent. If using mediation, then a new request may not be sent.
(Read and Write property)
GADBannerViewMBS.adUnitID as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Mobile Ads | MBS iOS Plugin | 22.5 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
Required value created on the Ad Manager website. Create a new ad unit for every unique placement of an ad in your application. Set this to the ID assigned for this placement. Ad units are important for targeting and statistics.
Example Ad Manager ad unit ID: "/6499/example/banner"
(Read and Write property)
GADBannerViewMBS.autoloadEnabled as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Mobile Ads | MBS iOS Plugin | 22.5 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
If enabled, you do not need to call the loadRequest method to load ads.
(Read and Write property)
GADBannerViewMBS.Collapsible as Boolean New in 26.4
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Mobile Ads | MBS iOS Plugin | 26.4 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
(Read only property)
GADBannerViewMBS.Handle as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Mobile Ads | MBS iOS Plugin | 22.5 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
(Read and Write property)
GADBannerViewMBS.placementID as Int64 New in 26.4
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Mobile Ads | MBS iOS Plugin | 26.4 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
This property must be set prior to presenting the ad.
(Read and Write property)
GADBannerViewMBS.responseInfo as GADResponseInfoMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Mobile Ads | MBS iOS Plugin | 22.5 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
Nil until the first ad request succeeds or fails.
(Read only property)
The items on this page are in the following plugins: MBS iOS Plugin.