An ad object for DAI streams.

| Methods ||
|---|---|
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.getAdId` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.getAdPodInfo` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.getAdSystem` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.getAdvertiserName` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.getApiFramework` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.getCompanionAds` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.getCreativeAdId` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.getCreativeId` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.getDealId` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.getDescription` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.getDuration` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.getSkipTimeOffset` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.getTitle` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.getTraffickingParametersString` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.getUniversalAdIds` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.getVastMediaHeight` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.getVastMediaWidth` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.getWrapperAdIds` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.getWrapperAdSystems` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.getWrapperCreativeIds` |   |
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.Ad#google.ima.cast.dai.api.Ad.isSkippable` |   |

## Methods

*** ** * ** ***

### getAdId

`getAdId(): string`

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

*** ** * ** ***

### getAdPodInfo

`getAdPodInfo(): https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.AdPodInfo`

| Returns ||
|---|---|
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.AdPodInfo` | the ad pod information. |

*** ** * ** ***

### getAdSystem

`getAdSystem(): string`

| Returns ||
|---|---|
| `string` | the ad system. |

*** ** * ** ***

### getAdvertiserName

`getAdvertiserName(): string`

| Returns ||
|---|---|
| `string` | the advertiser name. |

*** ** * ** ***

### getApiFramework

`getApiFramework(): string`

| Returns ||
|---|---|
| `string` | the API framework. |

*** ** * ** ***

### getCompanionAds

`getCompanionAds(): https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.CompanionAd[]`

| Returns ||
|---|---|
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.CompanionAd[]` | the companion ads for this ad. |

*** ** * ** ***

### getCreativeAdId

`getCreativeAdId(): string`

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

*** ** * ** ***

### getCreativeId

`getCreativeId(): string`

| Returns ||
|---|---|
| `string` | the creative ID. |

*** ** * ** ***

### getDealId

`getDealId(): string`

| Returns ||
|---|---|
| `string` | the deal ID. |

*** ** * ** ***

### getDescription

`getDescription(): string`

| Returns ||
|---|---|
| `string` | the description of the ad. |

*** ** * ** ***

### getDuration

`getDuration(): number`

| Returns ||
|---|---|
| `number` | the duration of the ad. |

*** ** * ** ***

### getSkipTimeOffset

`getSkipTimeOffset(): number`

| Returns ||
|---|---|
| `number` | the number of seconds of playback before the ad becomes skippable. |

*** ** * ** ***

### getTitle

`getTitle(): string`

| Returns ||
|---|---|
| `string` | the title of the ad. |

*** ** * ** ***

### getTraffickingParametersString

`getTraffickingParametersString(): string`

| Returns ||
|---|---|
| `string` | ad traffic parameters. |

*** ** * ** ***

### getUniversalAdIds

`getUniversalAdIds(): https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.UniversalAdIdInfo[]`

| Returns ||
|---|---|
| `https://developers.google.com/ad-manager/dynamic-ad-insertion/sdk/cast/reference/interface/google.ima.cast.dai.api.UniversalAdIdInfo[]` | the universal ad IDs for this ad. |

*** ** * ** ***

### getVastMediaHeight

`getVastMediaHeight(): number`

| Returns ||
|---|---|
| `number` | the VAST media height. |

*** ** * ** ***

### getVastMediaWidth

`getVastMediaWidth(): number`

| Returns ||
|---|---|
| `number` | the VAST media width. |

*** ** * ** ***

### getWrapperAdIds

`getWrapperAdIds(): string[]`

| Returns ||
|---|---|
| `string[]` | the wrapper ad IDs. |

*** ** * ** ***

### getWrapperAdSystems

`getWrapperAdSystems(): string[]`

| Returns ||
|---|---|
| `string[]` | the wrapper ad systems. |

*** ** * ** ***

### getWrapperCreativeIds

`getWrapperCreativeIds(): string[]`

| Returns ||
|---|---|
| `string[]` | the wrapper creative IDs. |

*** ** * ** ***

### isSkippable

`isSkippable(): boolean`

| Returns ||
|---|---|
| `boolean` | true if the ad is skippable, false otherwise. |