Platforms to show: All Mac Windows Linux Cross-Platform

Back to GADBannerViewMBS class.

GADBannerViewMBS.AddToControl(Control as MobileControl)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Mobile Ads MBS iOS Plugin 22.5 ❌ No ❌ No ❌ No ✅ Yes iOS only
Adds the control to the existing mobile control as children.

Some examples using this method:

GADBannerViewMBS.Constructor(AdSize as GADAdSizeMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Mobile Ads MBS iOS Plugin 22.5 ❌ No ❌ No ❌ No ✅ Yes iOS only
Initializes and returns a banner view with the specified ad size placed at its superview's origin.

GADBannerViewMBS.Destructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Mobile Ads MBS iOS Plugin 22.5 ❌ No ❌ No ❌ No ✅ Yes iOS only
The destructor.

GADBannerViewMBS.loadRequest(request as GADRequestMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Mobile Ads MBS iOS Plugin 22.5 ❌ No ❌ No ❌ No ✅ Yes iOS only
Requests an ad. The request object supplies targeting information.

GADBannerViewMBS.setValidAdSizes(sizes() as GADAdSizeMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Mobile Ads MBS iOS Plugin 22.5 ❌ No ❌ No ❌ No ✅ Yes iOS only
Sets array of GADAdSizeMBS objects, specifying all valid sizes that are appropriate for this slot.

GADBannerViewMBS.validAdSizes as GADAdSizeMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Mobile Ads MBS iOS Plugin 22.5 ❌ No ❌ No ❌ No ✅ Yes iOS only
Optional array of GADAdSizeMBS objects, specifying all valid sizes that are appropriate for this slot.

The items on this page are in the following plugins: MBS iOS Plugin.


The biggest plugin in space...