ad.close(callback)

Hides the current component and depending on format will either collapse the creative or remove the ad from the page

ad.close(function() {
	//Callback
});

Arguments

ArugmentValueExample ValueDescription
callbackfunction() { }function() { stopVideo(); }A function to execute at the time the ad is closed.