VMAX
 
 
 
 
Show Sidebar

Additional Options – Windows Phone 8.1 SDK

To Pass Extra Data

As a developer, you can pass extra data to help deliver relevant ads. Pass custom key-value pairs to the Ad View using the setCustomData API.

Native non-helper methods

Set custom data in AdView

Optional Callbacks

The VMAXAdView generates callbacks for successful and unsuccessful fetching attempts of Ads.

Methods

XAMLCode

The following methods are used to generate API callbacks.

FailedToLoadAd Callback

The VMAX SDK offers this callback, in cases where an Ad is not served. If required, this event can be used to run any custom code.

FailedToCacheAd Callback

The VMAX SDK offers this callback, in cases where an Ad is not cached. If required, this event can be used to run any custom code.

DidLoadAd Callback

The VMAX SDK offers this callback, in cases where an Ad is rendered successfully. If required, this event can be used to run any custom code.

DidCacheAd Callback

The VMAX SDK offers this callback, in cases where an Ad is cached successfully. If required, this event can be used to run any custom code.

WillDismissAd Callback

The VMAX SDK offers this callback, in cases of an Ad dismissal. If required, this event can be used to run any custom code.

WillLeaveApp Callback

The VMAX SDK offers this callback, in cases of the Ad closing the current App and opening another App. If required, this event can be used to run any custom code.

WillPresentAd Callback

The VMAX SDK offers this callback, in cases where an interstitial/overlay is shown . If required, this event can be used to run any custom code.

OnAdExpand Callback

The VMAX SDK offers this callback, in cases where an interstitial/overlay is expanded. If required, this event can be used to run any custom code.

OnAdCollapsed Callback

The VMAX SDK offers this callback, in cases where an interstitial/overlay is collapsed. If required, this event can be used to run any custom code.

DidInteractWithAd Callback

The VMAX SDK offers this callback, in cases when you interact with an interstitial/overlay. If required, this event can be used to run any custom code.

What would you like to do next?