Class: NonLinearCreative

videoplaza.adresponse. NonLinearCreative


new NonLinearCreative()

Represents a nonlinear creative, or a nonlinear visual element of an ad, which does not interrupt or pause the main content while the ad is displayed.

Members


duration :number

The duration of the creative in seconds.

Type:
  • number

height :number

Height of the nonlinear creative's display area in pixels.

Type:
  • number

parentAd :videoplaza.adresponse.Ad

The Ad the LinearCreative is a part of.

Type:

resources :Array

The resources used to display the nonlinear creative. If this array contains multiple resources, the video player should determine the most appropriate type to display. The resources can be any of the following types: videoplaza.adresponse.IFrameResource, videoplaza.adresponse.HtmlResource, videoplaza.adresponse.StaticResource.

Type:
  • Array

sequence :number

The order in which the creative is to be displayed. If creatives have the same sequence number, they should be displayed at the same time.

Type:
  • number

trackingEvents :object

Object/map where each property/key is an event with a list of tracking URLs as it value.

Type:
  • object

type :string

The type of the creative.

Type:
  • string

width :number

Width of the nonlinear creative's display area in pixels.

Type:
  • number