SASAdPlacementTest

Objective-C

enum SASAdPlacementTest : NSInteger {}

Swift

enum SASAdPlacementTest : Int, @unchecked Sendable

Enum that reference all type of ads you can get to test your Smart Display SDK integration.

See the adPlacementForTestAd: method documentation for more infos.

Banner ads

  • A placement that will return a MRAID banner ad.

    Declaration

    Objective-C

    SASAdPlacementTestBannerMRAID

    Swift

    case bannerMRAID = 0
  • A placement that will return a Video Read banner ad.

    Declaration

    Objective-C

    SASAdPlacementTestBannerVideoRead

    Swift

    case bannerVideoRead = 1
  • A placement that will return a Video Read 360° banner ad.

    Declaration

    Objective-C

    SASAdPlacementTestBannerVideoRead360

    Swift

    case bannerVideoRead360 = 2
  • A placement that will return a parallax banner ad.

    Declaration

    Objective-C

    SASAdPlacementTestBannerParallax

    Swift

    case bannerParallax = 3

Interstitial ads

  • A placement that will return a MRAID interstitial ad.

    Declaration

    Objective-C

    SASAdPlacementTestInterstitialMRAID

    Swift

    case interstitialMRAID = 4
  • A placement that will return a video interstitial ad.

    Declaration

    Objective-C

    SASAdPlacementTestInterstitialVideo

    Swift

    case interstitialVideo = 5
  • A placement that will return a video 360° interstitial ad.

    Declaration

    Objective-C

    SASAdPlacementTestInterstitialVideo360

    Swift

    case interstitialVideo360 = 6

Rewarded video ads

  • A placement that will return a rewarded video interstitial ad with an end card.

    Declaration

    Objective-C

    SASAdPlacementTestRewardedVideoWithEndCard

    Swift

    case rewardedVideoWithEndCard = 7

Native ads

  • A placement that will return a native ad with an icon and some text assets.

    Declaration

    Objective-C

    SASAdPlacementTestNativeAdIconAndTextAssets

    Swift

    case nativeAdIconAndTextAssets = 8
  • A placement that will return a native ad with a cover image and some text assets.

    Declaration

    Objective-C

    SASAdPlacementTestNativeAdCoverAndTextAssets

    Swift

    case nativeAdCoverAndTextAssets = 9
  • A placement that will return a native ad with an icon, a cover image and some text assets.

    Declaration

    Objective-C

    SASAdPlacementTestNativeAdIconAndCoverAndTextAssets

    Swift

    case nativeAdIconAndCoverAndTextAssets = 10
  • A placement that will return a native ad with some text assets.

    Declaration

    Objective-C

    SASAdPlacementTestNativeAdTextAssets

    Swift

    case nativeAdTextAssets = 11
  • A placement that will return a native ad with a video creative.

    Declaration

    Objective-C

    SASAdPlacementTestNativeAdVideo

    Swift

    case nativeAdVideo = 12

In-app bidding ads

  • A placement that will return an in-app bidding response for a banner ad.

    - note: The bidding response will always have 'USD' as currency, no matter what has been requested in
    the bidding request. This only happen because test placements are hardcoded ads.
    

    Declaration

    Objective-C

    SASAdPlacementTestInAppBiddingBanner

    Swift

    case inAppBiddingBanner = 13
  • A placement that will return an in-app bidding response for an interstitial ad.

    - note: The bidding response will always have 'USD' as currency, no matter what has been requested in
    the bidding request. This only happen because test placements are hardcoded ads.
    

    Declaration

    Objective-C

    SASAdPlacementTestInAppBiddingInterstitial

    Swift

    case inAppBiddingInterstitial = 14
  • A placement that will return an in-app bidding response for a rewarded ad.

    - note: The bidding response will always have 'USD' as currency, no matter what has been requested in
    the bidding request. This only happen because test placements are hardcoded ads.
    

    Declaration

    Objective-C

    SASAdPlacementTestInAppBiddingRewarded

    Swift

    case inAppBiddingRewarded = 15