Type Definitions
-
ContentMetadata
-
Type:
- Object
Properties:
Name Type Description categorystring Content category is used by Pulse to target ads and determine the ad insertion policy. The content category can be represented by either its unique id or one of its aliases set in Pulse.
contentFormOO.adrequest.AdRequester.ContentForm Content form is used to determine the ad insertion policy.
idstring Pulse content id. Id is used to identify the content to 3rd parties.
contentPartnerstring Pulse content partner. Content partners can be used by Pulse to target ads. The content partner can be represented by either its unique id or one of its aliases set in Pulse.
durationnumber This value can not be negative.
flagsArray.<string> Pulse flags. Since flags overrides Pulse's ad insertion policy they
should be used with caution. For more information please talk to your contact at Invidi. Supported flags:
nocom, noprerolls, nomidrolls, nopostrolls, nooverlays, noskins.tagsArray.<string> Pulse content tags, used to target specific ads.
customparametersobject The Custom parameters to add to the
session request. Parameters with names containing invalid characters will be omitted.
These custom parameters are added to the adserver request URL in the style
of "cp.[parameter_name]=[parameter_value]". -
RequestSettings
-
Type:
- Object
Properties:
Name Type Description heightnumber Height in pixels of the video area where ads should be shown.
widthnumber Width in pixels of the video area where ads should be shown.
maxBitRatenumber The maximum bitrate (in kbps) of the media files in the ad response.
linearPlaybackPositionsArray.<number> An Array of numbers which define at what points in time linear ads should be shown.
nonlinearPlaybackPositionsArray.<number> An Array of numbers which define at what points in time non-linear ads should be shown.
insertionPointFiltervideoplaza.adrequest.AdRequester.InsertionPointType If not set, the request is for every kind of insertion point. If set, only the types provided are requested.
referrerUrlstring Overrides the HTTP header's referrer property.
enableGdprbool Set to true if the ad request is subject to GDPR regulations. See https://github.com/InteractiveAdvertisingBureau/GDPR-Transparency-and-Consent-Framework/blob/master/v1.1%20Implementation%20Guidelines.md for implementation guidelines.
gdprConsentStringstring Pass in the user's URL safe and base64 encoded consent string related to GDPR regulations, which may be obtained through the Consent Management Provider (CMP) JS API. This string is built up according to the data structure developed by the GDPR Consent Working Group under the auspices of IAB Europe. The data structure specification can be found at https://github.com/InteractiveAdvertisingBureau/GDPR-Transparency-and-Consent-Framework/blob/master/Consent%20string%20and%20vendor%20list%20formats%20v1.1%20Final.md. For more information on the API, refer to https://github.com/InteractiveAdvertisingBureau/GDPR-Transparency-and-Consent-Framework/blob/master/CMP%20JS%20API%20v1.1%20Final.md.
gdprPersonalDataIncludedbool Set to true if you are passing in personal information when creating the ad request to Pulse. The only location where it is possible to pass in personal information is in the
customParametersof OO.Pulse.ContentMetadata.startAdTimeoutnumber Overrides The maximum amount of time the player or integration should wait for the ad to start playback before reporting inventory.
thirdPartyTimeoutnumber Overrides The maximum amount of time the player or integration should wait to unwrap and load a third party ad before reporting inventory.
totalPassbackTimeoutnumber Overrides The maximum amount of time the passback player should wait to find a working ad in the passback chain before moving to the last ad in the chain or reporting inventory.
breakNumbernumber Overrides the break number detected in Pulse in order to request ads for a specific ad break.
linearSlotSizenumber Overrides the number of linear ads per slot.
NOTE! Using this affects the predictability of the Pulse forecast functionality. Use with caution.
maxLinearBreakDurationnumber The maximum duration in seconds of linear ad breaks.
enforceCacheBustingbool If set to false, a randomized cache busting parameter is not added to VAST 2.0 tracking URLs which are missing the [CACHEBUSTING] macro. If not set, or set to true (default), the parameter is added.
useVASTSkipOffsetbool If set to true, skip offset information provided in third party VAST tickets determines the skip behaviour of third party ads. If not set, or set to false (default), the insertion policy configured in Pulse determines the skip behaviour instead.
Core SDK API Documentation