vastlint
VAST-4.3-js-resource-browser-optional

VAST-4.3-js-resource-browser-optional

<JavaScriptResource> should have a browserOptional attribute

WarningRequired fieldsIAB VAST 4.3 §2.3VAST 4.3 only

Short answer

In VAST 4.3, <JavaScriptResource> elements should indicate whether they are browser-optional via the browserOptional attribute. This matters for CTV/audio environments that lack a browser JS runtime.

Why this matters in production

This rule is a strong risk signal. Tags with this issue often still parse, but they become brittle across SDKs, SSAI resolvers, and CTV environments. Required-field failures usually stop validation early because the platform cannot determine the basic shape of the ad, the creative metadata, or the mandatory tracking payload. Affected scope: VAST 4.3 only.

How to fix

Add browserOptional="true" if the script can be skipped in non-browser environments (CTV, audio), or browserOptional="false" if it is required.

Check your VAST tag for VAST-4.3-js-resource-browser-optional and other issues instantly.Validate a tag →