Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This feature is available in Xandr Mobile SDK version 8.1.0 for iOS.
Overview
This page has instructions and code samples for showing a high impact media as banner ad view in Xandr Mobile SDK for iOS.
Property
This feature enhances the MobileSDK API with a property that indicates whether high impact media can serve on an Ad object.
Property | Type | Attribute | Description |
---|---|---|---|
shouldAllowHighImpactDemand |
BOOL | readwrite | Indicates whether high impact media can serve on the Ad object. Default value is NO. |
/**
* Sets whether or not High Impact Media(AppNexus Media Type:11) can serve on this Ad object.
*
*/
@property (nonatomic, readwrite) BOOL shouldAllowHighImpactDemand;
Example
// Allow High Impact Media for ANBannerAdView
bannerAdView.shouldAllowHighImpactDemand = YES;