[ gpt ] callback event

impressionViewable

is fired when an impression becomes viewable, according to the Active View criteria.

slotOnload

is fired when the creative’s iframe fires its *load* event.

When rendering *rich media ads* in sync rendering mode, no iframe is used so *no* SlotOnLoadEvent will be fired.

slotRenderEnded

is fired when a *slot* on the page has *finished rendering*

Example: To listen to companion ads, add a listener to the companionAds service, not the pubads service.

 

googletag.cmd.push(function() {
googletag.pubads().addEventListener('impressionViewable', function(event) {

}

googletag.pubads().addEventListener('slotOnload', function(e) {

}

googletag.pubads().addEventListener('slotRenderEnded', function(e) {

}

}
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s