Contents

AdImpressionResponse

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

Declaration

object AdImpressionResponse

Properties

NameTypeDescription
ad_network_id Requiredstring

The ad network ID.

You receive an ad network ID when you register to use SKAdNetwork. For more information, see Registering an ad network.

itunes_item_id Requiredinteger

The App Store app ID that the ad impression advertises. This is the same value the ad network provides in the attributable ad link. For more information, see Creating an attributable ad link.

nonce Requiredstring

This value needs to match the value of source_nonce in the AdImpressionRequest. The value needs to be in the UUID string format.

Provide the dash-separated representation of the source_nonce.

signature Requiredsignature

The cryptographic signature the ad network generates to sign the web ad. For more information, see Generating a signature for attributable web ads.

source_domain Requiredstring

The effective top-level domain and one more preceding path component (eTLD+1) representation of the ad network serving the ad. This value needs to match the source_domain value you receive in the AdImpressionRequest.

source_identifier Requiredinteger

A four-digit value you use to measure the aspects of an advertising effort or campaign.

timestamp Requiredinteger

An integer that represents the UNIX time, in milliseconds, that you create this AdImpressionResponse.

version Requiredstring

The SKAdNetwork version. Use version "4.0" or later. For version information, see SKAdNetwork release notes.

Mentioned in

Discussion

This is a response that you provide to the Get a Signed Web Ad Impression Payload endpoint. When you create an AdImpressionResponse, use the dash-separated string representation of the UUID, which you decode from the source_nonce in the AdImpressionRequest that you receive.

See Also

Providing the web ad signature and response