Ticket #464 (closed enhancement: fixed)

Opened 12 months ago

Last modified 12 months ago

Add support for onAdCallFailover() callback

Reported by: paul Owned by: paul
Priority: blocker Milestone: OVA for AS3 (v1.0.1)
Component: OVA for AS3 Version: OVA for AS3 (trunk)
Keywords: Cc:
Forum thread:

Description

Add support for an onAdCallFailover() callback that is executed when an ad call fails over. Also add in the ability of the onAdCallComplete() callback to identify if ads were returned or not.

Add a sequence number to all onAdCall... callbacks to allow ad tags to be matched against config.

Change History

comment:1 Changed 12 months ago by paul

  • Status changed from new to closed
  • Resolution set to fixed

Implemented in 1.1 RC1 Build 6.

function onAdCallStarted(request) {

debug("OVA CALLBACK: Ad call started");
debug(request);

}

function onAdCallFailover(masterRequest, failoverRequest) {

debug("OVA CALLBACK: Ad call failed over");
debug(failoverRequest);

}

function onAdCallComplete(request, hasAds) {

debug("OVA CALLBACK: Ad call complete - hasAds == '" + hasAds + "'");
debug(request);

}

Note: See TracTickets for help on using tickets.