<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "SKAdNetworkforWebAds",
  "identifier" : "/documentation/SKAdNetworkforWebAds",
  "metadataVersion" : "0.1.0",
  "role" : "Web Service",
  "symbol" : {
    "kind" : "Web Service",
    "modules" : [
      "SKAdNetwork for Web Ads"
    ],
    "preciseIdentifier" : "SKAdNetworkforWebAds"
  },
  "title" : "SKAdNetwork for Web Ads"
}
-->

# SKAdNetwork for Web Ads

Attribute app-install campaigns that originate on the web.

## Overview

The [`SKAdNetwork for Web Ads`](/documentation/SKAdNetworkforWebAds) API enables advertisers to measure the success of ad campaigns that initiate on the web, while maintaining user privacy. In iOS 16.1 and later, ad networks can use this API to get <doc://com.apple.documentation/documentation/StoreKit/SKAdNetwork> attributions for web ad clicks in Safari that lead to app installations from the App Store.

To use the API, follow these steps:

1. Register your ad network; see <doc://com.apple.documentation/documentation/StoreKit/registering-an-ad-network>.
2. Configure and display your web ad link; see [Creating an attributable ad link](/documentation/SKAdNetworkforWebAds/creating-an-attributable-ad-link).
3. Implement an endpoint to provide a signed web ad payload that the advertised app uses to attribute app installations to your ad campaign; see [Generating a signature for attributable web ads](/documentation/SKAdNetworkforWebAds/generating-a-signature-for-attributable-web-ads).
4. Validate any attributions you receive; see <doc://com.apple.documentation/documentation/StoreKit/verifying-an-install-validation-postback>.

For more information about the ad network API, see <doc://com.apple.documentation/documentation/StoreKit/SKAdNetwork>.

> Note:
> Ad networks can only use this API to get attributions for web ad clicks in Safari; the API doesn’t get attributions for web ad clicks in <doc://com.apple.documentation/documentation/SafariServices/SFSafariViewController> or <doc://com.apple.documentation/documentation/WebKit/WKWebView>.

## Topics

### Essentials

[Creating an attributable ad link](/documentation/SKAdNetworkforWebAds/creating-an-attributable-ad-link)

Create click-through web ads that attribute App Store app installations to your ad network.

### Receiving a request for a web ad  payload

[`Get a Signed Web Ad Impression Payload`](/documentation/SKAdNetworkforWebAds/Get-a-signed-SKAdNetwork-ad-payload-for-a-web-ad.)

An endpoint you provide to receive requests from devices to serve signed ad interactions.

[`AdImpressionRequest`](/documentation/SKAdNetworkforWebAds/AdImpressionRequest)

The request body that devices send to fetch the web ad impression from the ad network’s server.

### Providing the web ad signature and response

[Generating a signature for attributable web ads](/documentation/SKAdNetworkforWebAds/generating-a-signature-for-attributable-web-ads)

Initiate install-validation by providing the signed parameters for an attributable web ad.

[`AdImpressionResponse`](/documentation/SKAdNetworkforWebAds/AdImpressionResponse)

The response you provide that contains a signed payload for a clicked web ad.

[`signature`](/documentation/SKAdNetworkforWebAds/signature)

The key-value pairs that ad networks use to cryptographically sign a web ad.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)