VASTlint

VAST tracking events / NonLinear

VAST adCollapse tracking event

Short answer: Fires when the creative collapses after expand. 4.0+ name. Introduced in VAST 4.0.

When it fires

The creative returned from the expanded state. Pair with adExpand. Not playerCollapse.

Where it is valid

2.03.04.04.1+
NoNoYesYes

Legal containers: NonLinear. An event in the wrong container is not a player error. It is a URL nobody calls.

Using it in a tag

<TrackingEvents>
  <Tracking event="adCollapse">
    <![CDATA[https://track.example.com/adCollapse]]>
  </Tracking>
</TrackingEvents>

VAST XML fragment only. This excerpt belongs inside a complete VAST document, so standalone validation will fail until it is wrapped in a full <VAST>response.

Related vastlint rules

Related events

Check the XML, then confirm the beacons fire

Validate the event names and containers on the document. Test a live URL when the XML is clean and reporting is still empty.

Further reading