Interface ViewabilityInfoOrBuilder (0.16.0)

public interface ViewabilityInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMediaDuration()

public abstract Duration getMediaDuration()

Optional. The duration of the ad media.

.google.protobuf.Duration media_duration = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The mediaDuration.

getMediaDurationOrBuilder()

public abstract DurationOrBuilder getMediaDurationOrBuilder()

Optional. The duration of the ad media.

.google.protobuf.Duration media_duration = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getMediaQuartile()

public abstract MediaQuartile getMediaQuartile()

Optional. The amount of the media that was played as discrete quartiles.

.google.ads.datamanager.v1.MediaQuartile media_quartile = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MediaQuartile

The mediaQuartile.

getMediaQuartileValue()

public abstract int getMediaQuartileValue()

Optional. The amount of the media that was played as discrete quartiles.

.google.ads.datamanager.v1.MediaQuartile media_quartile = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for mediaQuartile.

getMediaSkippable()

public abstract boolean getMediaSkippable()

Optional. Whether the ad media was skippable or not.

bool media_skippable = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The mediaSkippable.

getMediaVolumePercent()

public abstract int getMediaVolumePercent()

Optional. The numerical percent (0-100) of the volume of the media playback.

int32 media_volume_percent = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The mediaVolumePercent.

getPlaybackDuration()

public abstract Duration getPlaybackDuration()

Optional. The duration of playback of the ad media, regardless of whether it was viewable or not.

.google.protobuf.Duration playback_duration = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The playbackDuration.

getPlaybackDurationOrBuilder()

public abstract DurationOrBuilder getPlaybackDurationOrBuilder()

Optional. The duration of playback of the ad media, regardless of whether it was viewable or not.

.google.protobuf.Duration playback_duration = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getViewType()

public abstract ViewType getViewType()

Required. The type of the event.

.google.ads.datamanager.v1.ViewType view_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ViewType

The viewType.

getViewTypeValue()

public abstract int getViewTypeValue()

Required. The type of the event.

.google.ads.datamanager.v1.ViewType view_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for viewType.

getViewableDuration()

public abstract Duration getViewableDuration()

Optional. The amount of time the ad was viewable for.

.google.protobuf.Duration viewable_duration = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The viewableDuration.

getViewableDurationOrBuilder()

public abstract DurationOrBuilder getViewableDurationOrBuilder()

Optional. The amount of time the ad was viewable for.

.google.protobuf.Duration viewable_duration = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getViewablePercent()

public abstract int getViewablePercent()

Optional. The numerical percent (0-100) of the pixels that were viewable.

int32 viewable_percent = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The viewablePercent.

hasMediaDuration()

public abstract boolean hasMediaDuration()

Optional. The duration of the ad media.

.google.protobuf.Duration media_duration = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the mediaDuration field is set.

hasPlaybackDuration()

public abstract boolean hasPlaybackDuration()

Optional. The duration of playback of the ad media, regardless of whether it was viewable or not.

.google.protobuf.Duration playback_duration = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the playbackDuration field is set.

hasViewableDuration()

public abstract boolean hasViewableDuration()

Optional. The amount of time the ad was viewable for.

.google.protobuf.Duration viewable_duration = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the viewableDuration field is set.