BMPAdTag

Objective-C


@interface BMPAdTag : NSObject <BMPJsonable>

Swift

class AdTag : NSObject, BMPJsonable

Defines the url and type of an ad manifest.

  • The AdTagType of the ad tag.

    See

    BMPAdTagType

    Declaration

    Objective-C

    @property (nonatomic, readonly) BMPAdTagType type;

    Swift

    var type: AdTagType { get }

    Return Value

    The AdTagType of the ad tag.

  • url

    Defines the path to an ad manifest. If the tag is a VMAP manifest, the resulting ad breaks will be scheduled as described in the manifest, otherwise the ad breaks will be handled as pre-roll ads if no further information is specified in the AdBreakConfig.position property.

    See

    AdBreakConfig

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSURL *_Nonnull url;

    Swift

    var url: URL { get }

    Return Value

    The path to an ad manifest.

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    + (instancetype)new NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithUrl:(NSURL *)url ofType:(BMPAdTagType)type NS_DESIGNATED_INITIALIZER;

    Swift

    init(url: URL, of type: AdTagType)