POBBannerEventDelegate Protocol Reference

Conforms to NSObject
Declared in POBBannerEvent.h

Overview

The banner custom event delegate. It is used to inform the ad server SDK events back to the OpenWrap SDK.

– openWrapPartnerDidWinForBid: required method

Call this when the ad server SDK signals about partner bid win with bid id.

- (void)openWrapPartnerDidWinForBid:(NSString *_Nullable)bidId

Parameters

bidId

identifier of the winning bid to be rendered

Declared In

POBBannerEvent.h

– bidsProvider required method

Returns bids provider

- (id<POBBidsProvider>)bidsProvider

Declared In

POBBannerEvent.h

– adServerDidWin: required method

Call this when the ad server SDK renders its own ad

- (void)adServerDidWin:(UIView *)view

Parameters

view

rendered ad view from the ad server SDK

Declared In

POBBannerEvent.h

– failedWithError: required method

Call this when the ad server SDK fails to load the ad

- (void)failedWithError:(NSError *)error

Parameters

error

detailed error object describing the cause of ad failure

Declared In

POBBannerEvent.h

– willPresentModal required method

Call this when the ad server SDK is about to present a modal

- (void)willPresentModal

Declared In

POBBannerEvent.h

– didDismissModal required method

Call this when the ad server SDK dissmisses a modal

- (void)didDismissModal

Declared In

POBBannerEvent.h

– willLeaveApp required method

Call this when the ad server SDK informs about app leave event as a result of user interaction.

- (void)willLeaveApp

Declared In

POBBannerEvent.h

– viewControllerForPresentingModal required method

Returns a view controller instance to be used by ad server SDK for showing modals

- (UIViewController *)viewControllerForPresentingModal

Return Value

a UIViewController instance for showing modals

Declared In

POBBannerEvent.h

– adServerAdDidRecordImpression required method

Call this when the ad server SDK records the impression as applicable

- (void)adServerAdDidRecordImpression

Declared In

POBBannerEvent.h

– willChangeAdSizeTo: required method

Call this when the ad server SDK is about to change the rendered ad size. This API will be available from OpenWrapSDK version 4.10.0

- (void)willChangeAdSizeTo:(CGSize)size

Parameters

size

The new size, that the ad view will adopt.

Discussion

Call this when the ad server SDK is about to change the rendered ad size. This API will be available from OpenWrapSDK version 4.10.0

Declared In

POBBannerEvent.h

– didCompleteAdExecution

Call this when the ad server SDK completes the ad execution workflow by itself & OW SDK should just reset the ad state

- (void)didCompleteAdExecution

Declared In

POBBannerEvent.h

– didClickAd

Call this when the ad server SDK informs about the ad click

- (void)didClickAd

Declared In

POBBannerEvent.h