Contents

sourceIdentifier

A four-digit integer that ad networks define to represent the ad campaign.

Declaration

var sourceIdentifier: NSNumber { get set }

Mentioned in

Discussion

The sourceIdentifier key is available for ad impressions that use SKAdNetwork 4 and later. The sourceIdentifier, also known as the hierarchical source identifier, replaces and extends the campaign identifier value, adCampaignIdentifier.

Ad networks and developers define the meaning of the hierarchical source identifier. This integer can have up to four digits. You can encode information about your advertisement in each set of digits; you may receive two, three, or all four digits of the sourceIdentifier in the first winning postback, depending on the ad impression’s postback data tier. For more information about the value you may get in the postback, see Receiving postbacks in multiple conversion windows.

See Also

Creating a signature