/// <summary>Snippet for GenerateReachForecastAsync</summary> public async Task GenerateReachForecastRequestObjectAsync() { // Snippet: GenerateReachForecastAsync(GenerateReachForecastRequest, CallSettings) // Additional: GenerateReachForecastAsync(GenerateReachForecastRequest, CancellationToken) // Create client ReachPlanServiceClient reachPlanServiceClient = await ReachPlanServiceClient.CreateAsync(); // Initialize request argument(s) GenerateReachForecastRequest request = new GenerateReachForecastRequest { CustomerId = "", CampaignDuration = new CampaignDuration(), Targeting = new Targeting(), PlannedProducts = { new PlannedProduct(), }, CookieFrequencyCapSetting = new FrequencyCap(), CurrencyCode = "", CookieFrequencyCap = 0, MinEffectiveFrequency = 0, }; // Make the request GenerateReachForecastResponse response = await reachPlanServiceClient.GenerateReachForecastAsync(request); // End snippet }
/// <summary>Snippet for GenerateReachForecastAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task GenerateReachForecastAsync() { // Create client ReachPlanServiceClient reachPlanServiceClient = await ReachPlanServiceClient.CreateAsync(); // Initialize request argument(s) string customerId = ""; CampaignDuration campaignDuration = new CampaignDuration(); IEnumerable <PlannedProduct> plannedProducts = new PlannedProduct[] { new PlannedProduct(), }; // Make the request GenerateReachForecastResponse response = await reachPlanServiceClient.GenerateReachForecastAsync(customerId, campaignDuration, plannedProducts); }
/// <summary>Snippet for GenerateReachForecastAsync</summary> public async Task GenerateReachForecastAsync() { // Snippet: GenerateReachForecastAsync(string, CampaignDuration, IEnumerable<PlannedProduct>, CallSettings) // Additional: GenerateReachForecastAsync(string, CampaignDuration, IEnumerable<PlannedProduct>, CancellationToken) // Create client ReachPlanServiceClient reachPlanServiceClient = await ReachPlanServiceClient.CreateAsync(); // Initialize request argument(s) string customerId = ""; CampaignDuration campaignDuration = new CampaignDuration(); IEnumerable <PlannedProduct> plannedProducts = new PlannedProduct[] { new PlannedProduct(), }; // Make the request GenerateReachForecastResponse response = await reachPlanServiceClient.GenerateReachForecastAsync(customerId, campaignDuration, plannedProducts); // End snippet }