OOAdCategory

Objective-C

@interface OOAdCategory : NSObject

Swift

class OOAdCategory : NSObject

Used in creative separation and for compliance in certain programs, a category field is needed to categorize the ad’s content.

  • A string that provides a category code or label that identifies the ad content.

    Declaration

    Objective-C

    - (NSString *)category;

    Swift

    func category() -> String!
  • A URL for the organizational authority that produced the list being used to identify ad content.

    Declaration

    Objective-C

    - (NSURL *)authority;

    Swift

    func authority() -> URL!