MAAdFormat Class Reference

Inherits from NSObject
Declared in MAAdFormat.h

Overview

This class defines a format of an ad.

  banner

Represents a 320x50 banner advertisement.

@property (nonatomic, strong, readonly, class) MAAdFormat *banner

Discussion

Represents a 320x50 banner advertisement.

Declared In

MAAdFormat.h

  mrec

Represents a 300x250 rectangular advertisement.

@property (nonatomic, strong, readonly, class) MAAdFormat *mrec

Discussion

Represents a 300x250 rectangular advertisement.

Declared In

MAAdFormat.h

  leader

Represents a 728x90 leaderboard advertisement (for tablets).

@property (nonatomic, strong, readonly, class) MAAdFormat *leader

Discussion

Represents a 728x90 leaderboard advertisement (for tablets).

Declared In

MAAdFormat.h

  interstitial

Represents a full-screen advertisement.

@property (nonatomic, strong, readonly, class) MAAdFormat *interstitial

Discussion

Represents a full-screen advertisement.

Declared In

MAAdFormat.h

  rewarded

Similar to MAAdFormat.interstitial, except that users are given a reward at the end of the advertisement.

@property (nonatomic, strong, readonly, class) MAAdFormat *rewarded

Discussion

Similar to MAAdFormat.interstitial, except that users are given a reward at the end of the advertisement.

Declared In

MAAdFormat.h

  rewardedInterstitial

Represents a fullscreen ad which the user can skip and be granted a reward upon successful completion of the ad.

@property (nonatomic, strong, readonly, class) MAAdFormat *rewardedInterstitial

Discussion

Represents a fullscreen ad which the user can skip and be granted a reward upon successful completion of the ad.

Declared In

MAAdFormat.h

  native

Represents a native advertisement.

@property (nonatomic, strong, readonly, class) MAAdFormat *native

Discussion

Represents a native advertisement.

Declared In

MAAdFormat.h

  size

the size of the AdView format ad, or CGSizeZero otherwise.

@property (nonatomic, assign, readonly) CGSize size

Return Value

the size of the AdView format ad, or CGSizeZero otherwise.

Declared In

MAAdFormat.h

  fullscreenAd

@c YES if the ad format is an interstitial, rewarded, or rewarded interstitial.

@property (nonatomic, assign, readonly, getter=isFullscreenAd) BOOL fullscreenAd

Return Value

@c YES if the ad format is an interstitial, rewarded, or rewarded interstitial.

Declared In

MAAdFormat.h

  adViewAd

@c YES if the ad format is a banner, leader, or MREC.

@property (nonatomic, assign, readonly, getter=isAdViewAd) BOOL adViewAd

Return Value

@c YES if the ad format is a banner, leader, or MREC.

Declared In

MAAdFormat.h