PublisherVlm

Publisher-specific class for VLM


Constructor

new PublisherVlm(main)

Constructor of PublisherVlm class

Parameters
Name Type Description
main Object

Instance of the main CpexPackage class

Methods

configureBidderConfigs(bidderConfigs) @internal

Configures VLM-specific bidder configs.

Parameters
Name Type Description
bidderConfigs Object.<string, Object>

Mutable Prebid configs keyed by bidder; delete a schain property to disable it


configureOrtb2(ortb2) @internal

Enriches first-party data for VLM with device, audience, publisher and content data

Parameters
Name Type Description
ortb2 Object

Mutable OpenRTB first-party data


configureVideo(video) @internal

Configures supported video MIME types and duration limits for VLM

Parameters
Name Type Description
video Object

Mutable Prebid mediaTypes.video configuration


isExcludedAdUnit(adUnit) → {boolean}

Determines if an ad unit should be excluded based on its options. Excludes lazy loaded adUnits.

Parameters
Name Type Description
adUnit Object

The ad unit to check.

Returns
  • True if the ad unit is excluded, false otherwise.
Type: 
boolean