A companion ad object for DAI streams. This class exposes a subset of the `ima.CompanionAd` interface properties.

| Methods ||
|---|---|
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.CompanionAd#google.ima.cast.dai.api.CompanionAd.getAdSlotId` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.CompanionAd#google.ima.cast.dai.api.CompanionAd.getContent` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.CompanionAd#google.ima.cast.dai.api.CompanionAd.getContentType` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.CompanionAd#google.ima.cast.dai.api.CompanionAd.getHeight` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.CompanionAd#google.ima.cast.dai.api.CompanionAd.getWidth` |   |

## Methods

*** ** * ** ***

### getAdSlotId

`getAdSlotId(): string`

| Returns ||
|---|---|
| `string` | the ad slot ID. |

*** ** * ** ***

### getContent

`getContent(): string`

| Returns ||
|---|---|
| `string` | the content of the companion ad. |

*** ** * ** ***

### getContentType

`getContentType(): string`

| Returns ||
|---|---|
| `string` | the content type of the companion ad. |

*** ** * ** ***

### getHeight

`getHeight(): number`

| Returns ||
|---|---|
| `number` | the height of the companion ad. |

*** ** * ** ***

### getWidth

`getWidth(): number`

| Returns ||
|---|---|
| `number` | the width of the companion ad. |