OOContentMetadata

@interface OOContentMetadata : NSObject

Information about the content that is making the ad request.

  • 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.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *category;

    Swift

    var category: String! { get set }
  • Content form is used to determine the ad insertion policy.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) OOContentForm contentForm;

    Swift

    var contentForm: OOContentForm { get set }
  • Ooyala Pulse content id. Id is used to identify the content to 3rd parties.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *identifier;

    Swift

    var identifier: String! { get set }
  • 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.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *contentPartner;

    Swift

    var contentPartner: String! { get set }
  • The duration of the content in seconds.

    Must be non-negative.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSTimeInterval duration;

    Swift

    var duration: TimeInterval { get set }
  • Ooyala Pulse flags as an array of strings..

    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.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSArray *flags;

    Swift

    var flags: [Any]! { get set }
  • Ooyala Pulse content tags, used to target specific ads.

    All tags must be instances of NSString.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSArray *tags;

    Swift

    var tags: [Any]! { get set }
  • The custom parameters to add to the session request. Parameters with names containing invalid characters will be omitted.

    All keys and values must be of type NSString.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSDictionary *customParameters;

    Swift

    var customParameters: [AnyHashable : Any]! { get set }