OOContentMetadata
Objective-C
@interface OOContentMetadata : NSObject
Swift
class 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 (nonatomic, copy) NSString *category;
Swift
var category: String! { get set }
-
Content form is used to determine the ad insertion policy.
Declaration
Objective-C
@property (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 (nonatomic, copy) 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 (nonatomic, copy) NSString *contentPartner;
Swift
var contentPartner: String! { get set }
-
The duration of the content in seconds.
Must be non-negative.
Declaration
Objective-C
@property (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 (nonatomic, copy) 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 (nonatomic, copy) 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 (nonatomic, copy) NSDictionary *customParameters;
Swift
var customParameters: [AnyHashable : Any]! { get set }
-
The account custom parameter(s) to add to the session request. Parameter names and values containing invalid characters will be omitted. These parameters are added to the adserver request URL in the style of “acp.[parameter_name]=[parameter_value]”. NOTE: The account custom parameter values cannot contain any spaces or any of the following characters: comma (,), semicolon (;), double quote/quotation mark (“), single quote/apostrophe (‘), backslash (), pipe (|), tilde (~), or ampersand (&).
All keys and values must be of type NSString.
Declaration
Objective-C
@property (nonatomic, copy) NSDictionary *accountCustomParameters;
Swift
var accountCustomParameters: [AnyHashable : Any]! { get set }