AdColonyAdViewDelegate Protocol Reference

Conforms to NSObject
Declared in AdColonyAdViewDelegate.h

Overview

The delegate of an AdColonyAdView object. This delegate receives ad view lifecycle notifications.

– adColonyAdViewDidLoad: required method

Did load notification

- (void)adColonyAdViewDidLoad:(AdColonyAdView *_Nonnull)adView

Parameters

adView

Loaded ad view

Discussion

Notifies you when ad view has been created, received the ad and is ready to use. Call is dispatched on main thread.

Declared In

AdColonyAdViewDelegate.h

– adColonyAdViewDidFailToLoad: required method

No ad notification

- (void)adColonyAdViewDidFailToLoad:(AdColonyAdRequestError *_Nonnull)error

Parameters

error

Error with failure explanation

Discussion

Notifies you when SDK was not able to load the ad for requested zone. Call is dispatched on main thread.

Declared In

AdColonyAdViewDelegate.h

– adColonyAdViewWillLeaveApplication:

Application leave notification

- (void)adColonyAdViewWillLeaveApplication:(AdColonyAdView *_Nonnull)adView

Parameters

adView

The ad view which caused the user to leave the application.

Discussion

Notifies you when ad view is going to redirect user to content outside of the application.

Declared In

AdColonyAdViewDelegate.h

– adColonyAdViewWillOpen:

Open fullscreen content notification

- (void)adColonyAdViewWillOpen:(AdColonyAdView *_Nonnull)adView

Parameters

adView

Ad view that is going to display fullscreen content.

Discussion

Notifies you when ad view is going to display fullscreen content. Call is dispatched on worker thread.

Declared In

AdColonyAdViewDelegate.h

– adColonyAdViewDidClose:

Did close fullscreen content notification

- (void)adColonyAdViewDidClose:(AdColonyAdView *_Nonnull)adView

Parameters

adView

Ad view that stopped displaying fullscreen content

Discussion

Notifies you when ad view stopped displaying fullscreen content

Declared In

AdColonyAdViewDelegate.h

– adColonyAdViewDidReceiveClick:

Received a click notification

- (void)adColonyAdViewDidReceiveClick:(AdColonyAdView *_Nonnull)adView

Parameters

adView

Ad view that received a click

Discussion

Notifies you when adView receives a click

Declared In

AdColonyAdViewDelegate.h