Packagecom.adobe.mediacore.adresolver
Classpublic class AuditudeAdResolver
InheritanceAuditudeAdResolver Inheritance flash.events.EventDispatcher
Implements IAdResolver

Communicates with Auditude Ad Server implementation and returns ad placements back to the MediaPlayer.



Protected Properties
 PropertyDefined By
  _settings : AuditudeAdResolverSettings
AuditudeAdResolver
Public Methods
 MethodDefined By
  
AuditudeAdResolver
  
AuditudeAdResolver
  
initialize(settings:Object):void
Initialize the ad resolver with the settings such as domain, zone id, stream id, and custom ad and targeting parameters that are applicable to all ad calls for this stream.
AuditudeAdResolver
  
onResolveComplete(event:AdPluginEvent):void
Handles the complete response from the Auditude ad library.
AuditudeAdResolver
  
onResolveFailure(event:AdPluginErrorEvent):void
Handles the failure events dispatched from the Auditude ad resolver library.
AuditudeAdResolver
  
placeAds(avails:Vector.<AvailInfo>):void
Called by the TimelineManger with an vector of avails that require ad placements.
AuditudeAdResolver
Events
 Event Summary Defined By
  Dispatched when the resolver has successfully resolved the ads with the Auditude ad servers.AuditudeAdResolver
  Dispatched when the resolver has failed to resolve the ads with the Auditude ad servers.AuditudeAdResolver
Property Detail
_settingsproperty
protected var _settings:AuditudeAdResolverSettings

Constructor Detail
AuditudeAdResolver()Constructor
public function AuditudeAdResolver()



Method Detail
doQueuedRequests()method
public function doQueuedRequests():void

initialize()method 
public function initialize(settings:Object):void

Initialize the ad resolver with the settings such as domain, zone id, stream id, and custom ad and targeting parameters that are applicable to all ad calls for this stream.

Parameters

settings:Object

onResolveComplete()method 
public function onResolveComplete(event:AdPluginEvent):void

Handles the complete response from the Auditude ad library. This particular function is responsible for handling ad placements.

Parameters

event:AdPluginEvent

onResolveFailure()method 
public function onResolveFailure(event:AdPluginErrorEvent):void

Handles the failure events dispatched from the Auditude ad resolver library.

Parameters

event:AdPluginErrorEvent

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

Called by the TimelineManger with an vector of avails that require ad placements. The TimelineManager will wait for the AdResolver to dispatch an AdResolverEvent.COMPLETE before it will continue.

Parameters

avails:Vector.<AvailInfo>

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 Auditude 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 Auditude ad servers.

The Ad request failed.