SVSContentData

@interface SVSContentData : NSObject

Represents the details of the content video. Passed to the AdServer for targeting. This object should be passed to your instance of SVSAdManager during initialization.

  • Initialize a SVSContentData instance. This class forwards information about the video content to the AdServer.

    Declaration

    Objective-C

    - (nonnull instancetype)
              initWithContentID:(nullable NSString *)contentID
                   contentTitle:(nullable NSString *)contentTitle
               videoContentType:(nullable NSString *)videoContentType
           videoContentCategory:(nullable NSString *)videoContentCategory
           videoContentDuration:(nullable NSNumber *)videoContentDuration
              videoSeasonNumber:(nullable NSNumber *)videoSeasonNumber
             videoEpisodeNumber:(nullable NSNumber *)videoEpisodeNumber
             videoContentRating:(nullable NSString *)videoContentRating
              contentProviderID:(nullable NSString *)contentProviderID
            contentProviderName:(nullable NSString *)contentProviderName
      videoContentDistributorID:(nullable NSString *)videoContentDistributorID
    videoContentDistributorName:(nullable NSString *)videoContentDistributorName
               videoContentTags:(nullable NSArray<NSString *> *)videoContentTags
              externalContentID:(nullable NSString *)externalContentID
                     videoCMSID:(nullable NSString *)videoCMSID;

    Parameters

    contentID

    Identifier of the video content.

    contentTitle

    Name of the video content.

    videoContentType

    Type of the video content.

    videoContentCategory

    Category of the video content.

    videoContentDuration

    Duration of the video content (in seconds, as NSNumber).

    videoSeasonNumber

    Season number of the video content (as NSNumber).

    videoEpisodeNumber

    Episode number of the video content (as NSNumber).

    videoContentRating

    Permissible audiance for this video content.

    contentProviderID

    Provider identifier of the video content.

    contentProviderName

    Provider name of the video content.

    videoContentDistributorID

    Distributor identifier of the video content.

    videoContentDistributorName

    Distributor name of the video content.

    videoContentTags

    An array of keywords (as NSString) qualifying the video content.

    externalContentID

    Identifier of the video content for third party system.

    videoCMSID

    Identifier of management system in charge of the content.

    Return Value

    An initialized instance of SVSContentData.

  • Identifier of the content video.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *contentID;
  • Name of the content video.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *contentTitle;
  • Type of the content video.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *videoContentType;
  • Category of the content video.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *videoContentCategory;
  • Duration of the content video (in seconds).

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSNumber *videoContentDuration;
  • Season number of the content video.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSNumber *videoSeasonNumber;
  • Episode number of the content video.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSNumber *videoEpisodeNumber;
  • Permissible audiance of the content video (general audiences, parental guidance, adult, etc…).

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *videoContentRating;
  • Identifier of the content provider.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *contentProviderID;
  • Name of the content provider.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *contentProviderName;
  • Identifier of the content distributor.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *videoContentDistributorID;
  • Name of the content distributor.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *videoContentDistributorName;
  • Array of keywords describing the content video.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSArray<NSString *> *videoContentTags;
  • Identifier of the content in a third party system.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *externalContentID;
  • Identifier of the video content management system in charge of the content.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *videoCMSID;