OOContentMetadata Class Reference

Inherits from NSObject
Declared in OOContentMetadata.h

Overview

Information about the content that is making the ad request.

– copyExistingProperties:OverrideContentMetadata:

- (id)copyExistingProperties:(OOContentMetadata *)sourceCm OverrideContentMetadata:(OOContentMetadata *)overrideCm

  category

Content category is used by Ooyala Pulse to target ads and determine the ad insertion policy. The content category can be represented by either its unique id or one of its aliases set in Ooyala Pulse.

@property (nonatomic, copy) NSString *category

Declared In

OOContentMetadata.h

  contentForm

Content form is used to determine the ad insertion policy.

@property (nonatomic, assign) OOContentForm contentForm

Declared In

OOContentMetadata.h

  identifier

Ooyala Pulse content id. Id is used to identify the content to 3rd parties.

@property (nonatomic, copy) NSString *identifier

Declared In

OOContentMetadata.h

  contentPartner

Ooyala Pulse content partner. Content partners can be used by Ooyala Pulse to target ads. The content partner can be represented by either its unique id or one of its aliases set in Ooyala Pulse.

@property (nonatomic, copy) NSString *contentPartner

Declared In

OOContentMetadata.h

  duration

The duration of the content in seconds.

@property (nonatomic, assign) NSTimeInterval duration

Discussion

Must be non-negative.

Declared In

OOContentMetadata.h

  flags

Ooyala Pulse flags as an array of strings..

@property (nonatomic, copy) NSArray *flags

Discussion

Since flags overrides Ooyala Pulse’s ad insertion policy they should be used with caution. For more information please talk to your contact at Ooyala.

Supported flags: nocom, noprerolls, nomidrolls, nopostrolls, nooverlays, noskins.

All flags must be instances of NSString.

Declared In

OOContentMetadata.h

  tags

Ooyala Pulse content tags, used to target specific ads.

@property (nonatomic, copy) NSArray *tags

Discussion

All tags must be instances of NSString.

Declared In

OOContentMetadata.h

  customParameters

The custom parameters to add to the session request. Parameters with names containing invalid characters will be omitted.

@property (nonatomic, copy) NSDictionary *customParameters

Discussion

All keys and values must be of type NSString.

Declared In

OOContentMetadata.h