StoreCollectionData.CampaignId StoreCollectionData.CampaignId StoreCollectionData.CampaignId StoreCollectionData.CampaignId StoreCollectionData.CampaignId Property

Definition

Gets the promotion campaign ID that is associated with the product SKU.

public : Platform::String CampaignId { get; }
winrt::hstring CampaignId();
public string CampaignId { get; }
Public ReadOnly Property CampaignId As string
var string = storeCollectionData.campaignId;
Property Value
string string string

The promotion campaign ID that is associated with the product SKU.

Remarks

Starting in Windows 10, you can seed the installation URL for your app with an ID that represents a custom promotion campaign. This enables you to publicize the installation URL in different locations and use the campaign ID to determine which location the customer clicked on the installation URL. Use the CampaignId property to retrieve the campaign ID for an app. For more information about custom app promotion campaigns, see Create a custom app promotion campaign.

See Also