BMPAdData

Objective-C

@protocol BMPAdData <_BMPJsonEncodable>

Swift

protocol AdData : _JsonEncodable

Holds various additional ad data.

See

ImaAdData for more information on what additional data is available when using the Google IMA SDK implementation.
  • The MIME type of the media file or creative as defined in the VAST response.

    Declaration

    Objective-C

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

    Swift

    var mimeType: String? { get }

    Return Value

    The MIME type of the media file or creative as defined in the VAST response.

  • The average bitrate of the progressive media file as defined in the VAST response or -1, if not defined.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger bitrate;

    Swift

    var bitrate: Int { get }

    Return Value

    The average bitrate of the progressive media file as defined in the VAST response or -1, if not defined.

  • The minimum bitrate of the streaming media file as defined in the VAST response or -1, if not defined.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger minBitrate;

    Swift

    var minBitrate: Int { get }

    Return Value

    The minimum bitrate of the streaming media file as defined in the VAST response or -1, if not defined.

  • The maximum bitrate of the streaming media file as defined in the VAST response or -1, if not defined.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger maxBitrate;

    Swift

    var maxBitrate: Int { get }

    Return Value

    The maximum bitrate of the streaming media file as defined in the VAST response or -1, if not defined.