Esempio n. 1
0
        // Adds one or more budgets that can be shared by campaigns in the account.

        private async Task <AddBudgetsResponse> AddBudgetsAsync(IList <Budget> budgets)
        {
            var request = new AddBudgetsRequest
            {
                Budgets = budgets
            };

            return(await CampaignService.CallAsync((s, r) => s.AddBudgetsAsync(r), request));
        }
Esempio n. 2
0
        // Adds one or more budgets that can be shared by campaigns in the account.

        private async Task<AddBudgetsResponse> AddBudgetsAsync(IList<Budget> budgets)
        {
            var request = new AddBudgetsRequest
            {
                Budgets = budgets
            };

            return (await CampaignService.CallAsync((s, r) => s.AddBudgetsAsync(r), request));
        }