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
Required to set this banner view to a proper size.

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
The ad unit ID.

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
A Boolean value that determines whether autoloading of ads in the receiver is enabled.

If enabled, you do not need to call the loadRequest method to load ads.
(Read and Write 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
The internal object reference.

(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
Information about the ad response that returned the current ad or an error.

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.


The biggest plugin in space...