3.4.0 (latest) 3.3.0 3.2.0 3.1.0 3.0.0 2.0.0 1.1.0 1.0.0

    public sealed class VodSessionAd : IMessage<VodSessionAd>, IEquatable<VodSessionAd>, IDeepCloneable<VodSessionAd>, IBufferMessage, IMessage

Reference documentation and code samples for the Video Stitcher v1 API class VodSessionAd.

Metadata for an inserted ad in a VOD session.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> VodSessionAd

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[VodSessionAd](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/latest/Google.Cloud.Video.Stitcher.V1.VodSessionAd.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[VodSessionAd](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/latest/Google.Cloud.Video.Stitcher.V1.VodSessionAd.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[VodSessionAd](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/latest/Google.Cloud.Video.Stitcher.V1.VodSessionAd.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Video.Stitcher.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Stitcher.V1/latest/Google.Cloud.Video.Stitcher.V1.md.txt)

## Assembly

Google.Cloud.Video.Stitcher.V1.dll

## Constructors

### VodSessionAd()

    public VodSessionAd()

### VodSessionAd(VodSessionAd)

    public VodSessionAd(VodSessionAd other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `VodSessionAd` |

## Properties

### ActivityEvents

    public RepeatedField<Event> ActivityEvents { get; }

The list of progress tracking events for the ad break. These can be of
the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`,
`CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`,
`EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`,
`CLOSE_LINEAR`, `SKIP`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldEvent` |   |

### CompanionAds

    public CompanionAds CompanionAds { get; set; }

Metadata of companion ads associated with the ad.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CompanionAds` |   |

### Duration

    public Duration Duration { get; set; }

Duration in seconds of the ad.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Duration` |   |