BMPCreative

Objective-C


@interface BMPCreative : NSObject <_BMPJsonEncodable>

Swift

class Creative : NSObject, _JsonEncodable

Contains various data about the Creative. Specified in InLine.Creative or Wrapper.Creative in the VAST Response.

  • Identifies the ad server that provides the creative. Specified in Creative.id in the VAST response.

    Declaration

    Objective-C

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

    Swift

    var identifier: String? { get }

    Return Value

    Identifies the ad server that provides the creative. Specified in Creative.id in the VAST response.

  • The ad server’s unique identifier for the creative. Specified in Creative.adId in the VAST response.

    Declaration

    Objective-C

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

    Swift

    var adId: String? { get }

    Return Value

    The ad server’s unique identifier for the creative. Specified in Creative.adId in the VAST response.

  • A unique creative identifier that is maintained across systems. Specified in Creative.UniversalAdId in the VAST response.

    See

    BMPUniversalAdId

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) BMPUniversalAdId *universalAdId;

    Swift

    var universalAdId: UniversalAdId? { get }

    Return Value

    A unique creative identifier that is maintained across systems. Specified in Creative.UniversalAdId in the VAST response.

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    + (instancetype)new NS_UNAVAILABLE;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithIdentifier:(nullable NSString *)identifier
                                  adId:(nullable NSString *)adId
                         universalAdId:(nullable BMPUniversalAdId *)universalAdId NS_DESIGNATED_INITIALIZER;

    Swift

    init(identifier: String?, adId: String?, universalAdId: UniversalAdId?)