PMInterstitialAdRequest

Document created by catherine.racette on Sep 12, 2017Last modified by david.simerly on Nov 6, 2017
Version 3Show Document
  • View in full screen mode

Return to list of References

Inherits from:PMAdRequest : PMBaseAdRequest : NSObject
Declared in:PMInterstitialAdRequest.h

Tasks

  adSize property

  adOrientation property

  optionalAdSizes property


Properties

adOrientation

Ad orientation. Possible values are: PMADOrientationPortrait - Portrait orientation PMADOrientationLandscape - Landscape orientation

@property (nonatomic, assign) PMADOrientation adOrientation

Discussion

Ad orientation. Possible values are: PMADOrientationPortrait - Portrait orientation PMADOrientationLandscape - Landscape orientation

Declared In

PMInterstitialAdRequest.h

adSize

Size of ad, It is mandatory parameter

@property (nonatomic, assign) CGSize adSize

Discussion

Size of ad, It is mandatory parameter

Declared In

PMInterstitialAdRequest.h

optionalAdSizes

Optional Ad sizes Each optionalAdSizes item should be in form [NSValue valueWithCGRect:CGRectMake(0,0,10,10)] e.g. request.optionalAdSizes = @[[NSValue valueWithCGSize:CGSizeMake(300, 50)],[NSValue valueWithCGSize:CGSizeMake(320, 50)]]

@property (nonatomic, strong) NSArray<NSValue*> *optionalAdSizes

Discussion

Optional Ad sizes Each optionalAdSizes item should be in form [NSValue valueWithCGRect:CGRectMake(0,0,10,10)] e.g. request.optionalAdSizes = @[[NSValue valueWithCGSize:CGSizeMake(300, 50)],[NSValue valueWithCGSize:CGSizeMake(320, 50)]]

Declared In

PMInterstitialAdRequest.h

Attachments

    Outcomes