# ADBannerView(Type, Layout)

> Creates a banner view with given type and auto-layout params.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.iOS](/engine/6000.3/script-reference/unityengine/ios.md)
* **Assembly:** UnityEngine.CoreModule

> **Warning:**
>
> **Removed.** iOS.ADBannerView class is obsolete, Apple iAD service discontinued

```csharp
public ADBannerView(ADBannerView.Type type, ADBannerView.Layout layout)
```

### Parameters

**** (\[Type]\(/engine/6000.3/script-reference/unityengine/ios/adbannerview/type)): **** (\[Layout]\(/engine/6000.3/script-reference/unityengine/ios/adbannerview/layout)):&#x20;

### Remarks

Please check if given type is available by calling IsAvailable.
