Deprecated Symbols

Reference symbols from the legacy iAd framework.

Overview

Topics

Classes

class ADBannerView

The ADBannerView class provides a view that displays banner advertisements to the user.

Deprecated
class ADInterstitialAd

The ADInterstitialAd class provides full-screen advertisements that your iPad application can display to the user.

Deprecated

Protocols

protocol ADBannerViewDelegate

The ADBannerViewDelegate protocol is implemented by an object to react to changes in an ADBannerView object.

Deprecated
protocol ADInterstitialAdDelegate

The ADInterstitialAdDelegate protocol is implemented by an object so that your application can respond to changes in an ADInterstitialAd object.

Deprecated
var adType: ADAdType

The ad type of the banner view.

Deprecated
var delegate: ADBannerViewDelegate?

The delegate of the banner view.

Deprecated
var advertisingSection: String?

Reserved for future use.

Deprecated
var isBannerLoaded: Bool

A Boolean value that states whether the banner view has downloaded an advertisement.

Deprecated
var isBannerViewActionInProgress: Bool

A Boolean value that states whether the banner is currently executing an user-triggered action.

Deprecated

Functions

func determineAppInstallationAttribution(completionHandler: (Bool) -> Void)

Determines whether the app was installed as the result of user interaction with an ad associated with a campaign.

Deprecated
func cancelAction()

Cancels an executing banner view action.

Deprecated

Enumerations

case unknown

Indicates that an unknown or unexpected error occurred.

Deprecated
case bannerVisibleWithoutContent

Indicates that the banner is visible, but no advertisement is shown. Your application must always hide the banner when it does not have an advertisement to display.

Deprecated
case adUnloaded

The ad being displayed in the banner was unloaded. This might happen when an ad expires or when an ad is moved from a non-visible banner to a visible banner.

Deprecated
case banner

A device-width banner ad.

Deprecated
case none

Default policy. No interstitial ad is ever presented from the view controller.

Deprecated
case applicationInactive

Indicates that ad content is not available because the application is not currently active.

Deprecated
case automatic

Automatic policy. The framework determines when an interstitial ad is presented.

Deprecated
case serverFailure

Indicates that the connection to the advertisements server failed.

Deprecated
case loadingThrottled

Indicates that the download from the advertisements server is currently being throttled.

Deprecated
case inventoryUnavailable

Indicates that no advertisements are currently available to download.

Deprecated
case configurationError

Indicates that your application has not been configured to receive advertisements. Check your application’s configuration on App Store Connect. This error is not received when your application is running in Sandbox.

Deprecated
case manual

Manual policy. The app determines when an interstitial ad should be presented. Use requestInterstitialAdPresentation() to request the presentation of an interstitial ad at an appropriate time.

Deprecated
case mediumRectangle

A pad-only 320x250 point ad, based on the International Advertising Bureau’s “Medium Rectangle” Interactive Marketing Unit.

Deprecated
enum ADInterstitialPresentationPolicy

Policy options governing how and when interstitial ads may be presented from a view controller.

Deprecated
enum ADError.Code

Error codes for the iAd error domain.

Deprecated
enum ADAdType

Constants that indicate the types of ads.

Deprecated

Constants

let ADErrorDomain: String

This constant defines the iAd framework error domain.

Deprecated

Miscellaneous

init?(adType: ADAdType)

Initializes a banner view with the specified ad type.

Deprecated
enum ADError.Code

Error codes for the iAd error domain.

Deprecated
enum ADAdType

Constants that indicate the types of ads.

Deprecated
struct ADErrorDeprecated