Event tracking

VAST events

To track VAST events, use the YMAVASTTracker class and the + trackAdEvent:eventName: method. As parameters, the method accepts an object of ads to track the event for and one of the keys from the list that indicates the event.
[YMAVASTTracker trackAdEvent:ad eventName:kYMAVASTAdImpression];

Creative events

To track VAST events, use the YMAVASTTracker class and the + trackCreativeEvent:eventName: method. As parameters, the method accepts an object of ads to track the event for and one of the keys from the list that indicates the event.
[YMAVASTTracker trackCreativeEvent:creative eventName:kYMACreativeFirstQuartile];