Packagecom.adobe.mediacore.adresolver
Interfacepublic interface IAdResolver extends flash.events.IEventDispatcher
Implementors AuditudeAdResolver

Avail plugins implement an interface that can be registered with the TimelineManager in order to perform avail resolution on the primary stream within the client player.



Public Methods
 MethodDefined By
  
initialize(settings:Object):void
Initializes the resolver plugin with specific settings needed to facilitate ad resolution.
IAdResolver
  
placeAds(avails:Vector.<AvailInfo>):void
Takes a list of avail infos and resolves ad placements for each.
IAdResolver
Events
 Event Summary Defined By
  Dispatched when the resolver has successfully resolved the ads with the ad servers.IAdResolver
  Dispatched when the resolver has failed to resolve the ads with the ad servers.IAdResolver
Method Detail
initialize()method
public function initialize(settings:Object):void

Initializes the resolver plugin with specific settings needed to facilitate ad resolution.

Parameters

settings:Object — Settings object used.

placeAds()method 
public function placeAds(avails:Vector.<AvailInfo>):void

Takes a list of avail infos and resolves ad placements for each. The ad placements for a given avail may be an empty list if no suitable ads were selected for placement.

Parameters

avails:Vector.<AvailInfo> — The AvailInfos in need of resolution.

Event Detail
adResolverComplete Event
Event Object Type: com.adobe.mediacore.events.AdResolverEvent
AdResolverEvent.type property = com.adobe.mediacore.events.AdResolverEvent.AD_RESOLVER_COMPLETE

Dispatched when the resolver has successfully resolved the ads with the ad servers.

Ad resolving is completed.
adResolverFail Event  
Event Object Type: com.adobe.mediacore.events.AdResolverEvent
AdResolverEvent.type property = com.adobe.mediacore.events.AdResolverEvent.AD_RESOLVER_FAIL

Dispatched when the resolver has failed to resolve the ads with the ad servers.

The Ad request failed.