Click or drag to resize
KomfoProviderAddCustomAudienceToCampaignAsync Method
Adds the custom audience to the campaign asynchronously.

Namespace: KomfoSharp.Provider
Assembly: KomfoSharp (in KomfoSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public virtual Task<string> AddCustomAudienceToCampaignAsync(
	string accessToken,
	string campaignId,
	string customAudienceId
)

Parameters

accessToken
Type: SystemString
The access token.
campaignId
Type: SystemString
The campaign identifier.
customAudienceId
Type: SystemString
The custom audience identifier.

Return Value

Type: TaskString
The ID of the custom audience that was requested to be added.

Implements

IKomfoProviderAddCustomAudienceToCampaignAsync(String, String, String)
Examples
await komfoProvider.AddCustomAudienceToCampaignAsync("<your_access_token>", campaignId, customAudienceId);
See Also