Classes

The following classes are available globally.

  • Class used to represent a single ad loading error.

    See more

    Declaration

    Objective-C

    @interface SASAdError : NSObject

    Swift

    class SASAdError : NSObject
  • Model class centralizing useful information for publishers.

    See more

    Declaration

    Objective-C

    @interface SASAdInfo : NSObject

    Swift

    class SASAdInfo : NSObject
  • Object that represents an ad placement.

    An ad placement aggregates several information like the site id, page id and format id that will be used when loading an ad.

    See more

    Declaration

    Objective-C

    @interface SASAdPlacement : NSObject

    Swift

    class SASAdPlacement : NSObject
  • Model class, sub module of SASAdInfo model, centralizing useful programmatic information for publishers.

    See more

    Declaration

    Objective-C

    @interface SASAdProgrammaticInfo : NSObject

    Swift

    class SASAdProgrammaticInfo : NSObject
  • A view that loads and displays a banner creative.

    See more

    Declaration

    Objective-C

    @interface SASBannerView : UIView

    Swift

    class SASBannerView : UIView
  • Hold the configuration of the Display SDK.

    Note

    This singleton class is used for the initial SDK configuration. This configuration is MANDATORY and should be done before performing any ad call. Check the complete documentation for more information.
    See more

    Declaration

    Objective-C

    @interface SASConfiguration : NSObject

    Swift

    class SASConfiguration : NSObject
  • Retrieve some informations about the DisplayKit framework.

    See more

    Declaration

    Objective-C

    @interface SASFrameworkInfo : NSObject

    Swift

    class SASFrameworkInfo : NSObject
  • A class that loads and shows an interstitial ad.

    See more

    Declaration

    Objective-C

    @interface SASInterstitialManager : NSObject

    Swift

    class SASInterstitialManager : NSObject
  • Object representing all the assets that will be rendered in a given native ad.

    See more

    Declaration

    Objective-C

    @interface SASNativeAdAssets : NSObject

    Swift

    class SASNativeAdAssets : NSObject
  • A view that loads and displays a native ad creative.

    See more

    Declaration

    Objective-C

    @interface SASNativeAdView : UIView

    Swift

    class SASNativeAdView : UIView
  • Class used to bind a view to a native ad.

    Note

    You cannot instantiate this class directly, you must use the SASNativeAdViewBinderBuilder class instead.
    See more

    Declaration

    Objective-C

    @interface SASNativeAdViewBinder : NSObject

    Swift

    class SASNativeAdViewBinder : NSObject
  • Builder than can be use to instantiate a SASNativeAdViewBinder instance.

    See more

    Declaration

    Objective-C

    @interface SASNativeAdViewBinderBuilder : NSObject

    Swift

    class SASNativeAdViewBinderBuilder : NSObject
  • Represents the margins to apply to parallax ads.

    See more

    Declaration

    Objective-C

    @interface SASParallaxMargins : NSObject

    Swift

    class SASParallaxMargins : NSObject
  • View used to display a rating using star symbols.

    Note

    This view can only display values between 0.0 and 5.0, by 0.5 increments.

    Declaration

    Objective-C

    @interface SASRatingBarView : UIView <SASRatingBar>

    Swift

    class SASRatingBarView : UIView, SASRatingBar
  • Additional implementation information that can be provided to the SDK when integrated as secondary SDK.

    See more

    Declaration

    Objective-C

    @interface SASSecondaryImplementationInfo : NSObject

    Swift

    class SASSecondaryImplementationInfo : NSObject
  • Object representing a Seller Defined Audience. More info here: https://documentation.smartadserver.com/displaySDK/sellerdefinedaudience.html

    See more

    Declaration

    Objective-C

    @interface SASSellerDefinedAudience : NSObject <NSCoding>

    Swift

    class SASSellerDefinedAudience : NSObject, NSCoding
  • Object representing a Seller Defined Content. More info here: https://documentation.smartadserver.com/displaySDK8/sellerdefinedaudience.html

    See more

    Declaration

    Objective-C

    @interface SASSellerDefinedContent : NSObject <NSCoding>

    Swift

    class SASSellerDefinedContent : NSObject, NSCoding
  • Object representing a Segment of both Seller Defined Audience and Seller Defined Content.

    See more

    Declaration

    Objective-C

    @interface SASSellerDefinedSegment : NSObject <NSCoding>

    Swift

    class SASSellerDefinedSegment : NSObject, NSCoding
  • Object representing all the assets linked to a view, typically a subview of a native ad.

    See more

    Declaration

    Objective-C

    @interface SASViewAsset : NSObject

    Swift

    class SASViewAsset : NSObject