// Removes the target association from the specified campaign.
        // Does not delete the target or the campaign.
        private async Task DeleteTargetFromCampaignAsync(long campaignId)
        {
            var request = new DeleteTargetFromCampaignRequest
            {
                CampaignId = campaignId
            };

            await Service.CallAsync((s, r) => s.DeleteTargetFromCampaignAsync(r), request);
        }
Exemplo n.º 2
0
        // Removes the target association from the specified campaign. 
        // Does not delete the target or the campaign.
        private void DeleteTargetFromCampaignAsync(long campaignId)
        {
            var request = new DeleteTargetFromCampaignRequest
            {
                CampaignId = campaignId
            };

            Service.CallAsync((s, r) => s.DeleteTargetFromCampaignAsync(r), request);
        }