OOPulseCompanionAd Protocol Reference

Conforms to OOPulseAd
Declared in OOPulseCompanionAd.h

Overview

This protocol is used to handle companion banners, and notify the [OOPulseSession] about events regarding the companion banner.

As a minimum, the session object must be notified that the companion banner was displayed: [OOPulseCompanionAd adDisplayed].

Depending on your application, you may also need the clickthrough URL ([OOPulseCompanionAd clickthroughURL]) to respond to viewers tapping a companion banner.

– adDisplayed required method

Notify the session that the ad has been displayed

- (void)adDisplayed

Declared In

OOPulseCompanionAd.h

– resourceURL required method

The URL where the ad’s resource is located.

- (NSURL *)resourceURL

Declared In

OOPulseCompanionAd.h

– resourceType required method

The MIME type of the resource to be displayed.

- (NSString *)resourceType

Declared In

OOPulseCompanionAd.h

– zoneIdentifier required method

Returns the zone identifier assigned to this companion ad.

- (NSString *)zoneIdentifier

Declared In

OOPulseCompanionAd.h

– identifier required method

The companion ad id assigned by Ooyala Pulse.

- (NSString *)identifier

Declared In

OOPulseCompanionAd.h

– customIdentifier required method

The custom companion ad id set in the Ooyala Pulse UI.

- (NSString *)customIdentifier

Declared In

OOPulseCompanionAd.h

– width required method

The companion’s width.

- (NSInteger)width

Declared In

OOPulseCompanionAd.h

– height required method

The companion’s height.

- (NSInteger)height

Declared In

OOPulseCompanionAd.h