Show / Hide Table of Contents

Class DaiSession.Types.AdBreak

Information about an ad break in this session. Includes statuses such as ad and slate durations.

Inheritance
object
DaiSession.Types.AdBreak
Implements
IMessage<DaiSession.Types.AdBreak>
IEquatable<DaiSession.Types.AdBreak>
IDeepCloneable<DaiSession.Types.AdBreak>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class DaiSession.Types.AdBreak : IMessage<DaiSession.Types.AdBreak>, IEquatable<DaiSession.Types.AdBreak>, IDeepCloneable<DaiSession.Types.AdBreak>, IBufferMessage, IMessage

Constructors

AdBreak()

Declaration
public AdBreak()

AdBreak(AdBreak)

Declaration
public AdBreak(DaiSession.Types.AdBreak other)
Parameters
Type Name Description
DaiSession.Types.AdBreak other

Properties

AdBreakId

Output only. Publisher-provided or DAI-generated break ID for the Ad break API or pod serving API.

Declaration
public string AdBreakId { get; set; }
Property Value
Type Description
string

BreakSequence

Output only. The index of this ad break in the session.

Declaration
public long BreakSequence { get; set; }
Property Value
Type Description
long

BreakType

Output only. Type of break this represents.

Declaration
public BreakTypeEnum.Types.BreakType BreakType { get; set; }
Property Value
Type Description
BreakTypeEnum.Types.BreakType

ExecutedBreakDuration

Output only. The total duration of the break as it was served by DAI. In VOD, this value is the duration of ads inserted in between content. In linear, this value is the duration between cue out and cue in.

Declaration
public Duration ExecutedBreakDuration { get; set; }
Property Value
Type Description
Duration

HasAdBreakId

Gets whether the "ad_break_id" field is set

Declaration
public bool HasAdBreakId { get; }
Property Value
Type Description
bool

HasBreakSequence

Gets whether the "break_sequence" field is set

Declaration
public bool HasBreakSequence { get; }
Property Value
Type Description
bool

HasBreakType

Gets whether the "break_type" field is set

Declaration
public bool HasBreakType { get; }
Property Value
Type Description
bool

Linear

Output only. Information on the break for a linear session.

Declaration
public DaiSession.Types.AdBreak.Types.LinearBreak Linear { get; set; }
Property Value
Type Description
DaiSession.Types.AdBreak.Types.LinearBreak

PodKeys

Output only. Ad pod ID that links to one or more decisioned ad pods for this break. Most types of sessions will have a single pod key, but in the case of prefetched pods there will be two pod keys.

Declaration
public RepeatedField<long> PodKeys { get; }
Property Value
Type Description
RepeatedField<long>

ServedAdsDuration

Output only. The duration of ads that were inserted for this break.

Declaration
public Duration ServedAdsDuration { get; set; }
Property Value
Type Description
Duration

StreamTypeInfoCase

Declaration
public DaiSession.Types.AdBreak.StreamTypeInfoOneofCase StreamTypeInfoCase { get; }
Property Value
Type Description
DaiSession.Types.AdBreak.StreamTypeInfoOneofCase

TrackingPings

Output only. Tracking pings that were issued for this break. Keyed by a unique ID to reference this tracking ping from a different submessage.

Declaration
public MapField<long, DaiSession.Types.AdBreak.Types.TrackingPing> TrackingPings { get; }
Property Value
Type Description
MapField<long, DaiSession.Types.AdBreak.Types.TrackingPing>

Vod

Output only. Information on the break for a VOD session.

Declaration
public DaiSession.Types.AdBreak.Types.VodBreak Vod { get; set; }
Property Value
Type Description
DaiSession.Types.AdBreak.Types.VodBreak
In this article
Back to top Generated by DocFX