Class: VerificationScriptResource

VerificationScriptResource(resourceUrl, vendorKeyopt, verificationParametersopt, accessModeopt)

Represents a verification script resource that comes in a VAST extension for VAST versions <= 3 or a verification node for VAST versions >= 4

Constructor

new VerificationScriptResource(resourceUrl, vendorKeyopt, verificationParametersopt, accessModeopt)

Creates new verification script resource instance which requires vendor specific verification parameters.
Parameters:
Name Type Attributes Description
resourceUrl string
vendorKey string <optional>
verificationParameters string <optional>
accessMode AccessMode <optional>
The level of access this verification script will have when executed.
Source:
Throws:
error if either the vendorKey or resourceUrl is undefined, null or blank.

Members

(non-null) accessMode :AccessMode

Type:
  • AccessMode
Source:

resourceUrl :string

Type:
  • string
Source:

vendorKey :string|undefined

Type:
  • string | undefined
Source:

verificationParameters :string|undefined

Type:
  • string | undefined
Source:

Methods

toJSON() → (non-null) {Object}

Source:
Returns:
Type
Object