// Updates one or more campaigns. private async Task UpdateCampaignsAsync(long accountId, IList <Campaign> campaigns) { var request = new UpdateCampaignsRequest { AccountId = accountId, Campaigns = campaigns }; await CampaignService.CallAsync((s, r) => s.UpdateCampaignsAsync(r), request); }
// Updates one or more campaigns. private async Task UpdateCampaignsAsync(long accountId, IList<Campaign> campaigns) { var request = new UpdateCampaignsRequest { AccountId = accountId, Campaigns = campaigns }; await CampaignService.CallAsync((s, r) => s.UpdateCampaignsAsync(r), request); }
private async Task<UpdateCampaignsResponse> UpdateCampaignsAsync(long accountId, IList<Campaign> campaigns) { var request = new UpdateCampaignsRequest { AccountId = accountId, Campaigns = campaigns }; return (await Service.CallAsync((s, r) => s.UpdateCampaignsAsync(r), request)); }