Class: PropertyCondition

PropertyCondition


new PropertyCondition()

Represents a videoplaza.adresponse.InsertionPoint trigger condition that requires evaluating
the session or content playback state against a given property.

Members


<static> ConditionName :string

Indicates the type of a PropertyCondition.

Type:
  • string
Properties:
Name Type Default Description
PLAYBACK_POSITION string playbackPosition

Condition is only fulfilled if a certain playback position has been reached, specified in seconds by the Condition's value field.

TIME_SINCE_LINEAR string timeSinceLinear

Condition is only fulfilled if a previous linear ad ended playback a certain amount of time ago, specified in seconds by the Condition's value field.

PLAYBACK_TIME string playbackTime

Condition is only fulfilled if content has played for a total amount of time, regardless of position, specified in seconds by the Condition's value field.


<static> Operator :string

Indicates the operator used to evaluate a PropertyCondition's property value.

Type:
  • string
Properties:
Name Type Default Description
EQ string eq
GEQ string geq

conditions :Array

List of additional conditions which need to be evaluated.
Can contain instances of videoplaza.adresponse.EventCondition and/or videoplaza.adresponse.PropertyCondition.

Type:
  • Array
See:

operator :videoplaza.adresponse.PropertyCondition.Operator

The comparative operator used when applying this condition.

Type:

type :videoplaza.adresponse.PropertyCondition.ConditionName

The base state when this condition should be evaluated.

Type:

value :number

The value used when applying this condition.

Type:
  • number