Class

ADClient

Ad information specific to an app.

Declaration

class ADClient : NSObject

Overview

The ADClient class determines whether the app was installed as the result of user interaction with an ad associated with an advertising campaign.

To use this class, fetch shared(), the shared client object. Then call its requestAttributionDetails(_:) method, passing in a block to be called with the result.

Topics

Fetching a Shared Client Object

class func shared() -> ADClient

The class to get a shared client instance.

Requesting Ad Attribution

func requestAttributionDetails(([String : NSObject]?, Error?) -> Void)

Determines whether the app was installed via an interaction with an ad associated with a campaign.

Instance Methods

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

Relationships

Inherits From

Conforms To

See Also

Apple Search Ads Attribution API

Setting up Apple Search Ads Attribution

Identify meaningful metrics by retrieving the attribution dictionary.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software