Exemplo n.º 1
0
        /// <summary>Snippet for GetBiddingStrategySimulationAsync</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 GetBiddingStrategySimulationAsync()
        {
            // Create client
            BiddingStrategySimulationServiceClient biddingStrategySimulationServiceClient = await BiddingStrategySimulationServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "customers/[CUSTOMER_ID]/biddingStrategySimulations/[BIDDING_STRATEGY_ID]~[TYPE]~[MODIFICATION_METHOD]~[START_DATE]~[END_DATE]";
            // Make the request
            BiddingStrategySimulation response = await biddingStrategySimulationServiceClient.GetBiddingStrategySimulationAsync(resourceName);
        }
Exemplo n.º 2
0
        /// <summary>Snippet for GetBiddingStrategySimulationAsync</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 GetBiddingStrategySimulationRequestObjectAsync()
        {
            // Create client
            BiddingStrategySimulationServiceClient biddingStrategySimulationServiceClient = await BiddingStrategySimulationServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetBiddingStrategySimulationRequest request = new GetBiddingStrategySimulationRequest
            {
                ResourceNameAsBiddingStrategySimulationName = BiddingStrategySimulationName.FromCustomerBiddingStrategyTypeModificationMethodStartDateEndDate("[CUSTOMER_ID]", "[BIDDING_STRATEGY_ID]", "[TYPE]", "[MODIFICATION_METHOD]", "[START_DATE]", "[END_DATE]"),
            };
            // Make the request
            BiddingStrategySimulation response = await biddingStrategySimulationServiceClient.GetBiddingStrategySimulationAsync(request);
        }
Exemplo n.º 3
0
        /// <summary>Snippet for GetBiddingStrategySimulationAsync</summary>
        public async Task GetBiddingStrategySimulationResourceNamesAsync()
        {
            // Snippet: GetBiddingStrategySimulationAsync(BiddingStrategySimulationName, CallSettings)
            // Additional: GetBiddingStrategySimulationAsync(BiddingStrategySimulationName, CancellationToken)
            // Create client
            BiddingStrategySimulationServiceClient biddingStrategySimulationServiceClient = await BiddingStrategySimulationServiceClient.CreateAsync();

            // Initialize request argument(s)
            BiddingStrategySimulationName resourceName = BiddingStrategySimulationName.FromCustomerBiddingStrategyTypeModificationMethodStartDateEndDate("[CUSTOMER_ID]", "[BIDDING_STRATEGY_ID]", "[TYPE]", "[MODIFICATION_METHOD]", "[START_DATE]", "[END_DATE]");
            // Make the request
            BiddingStrategySimulation response = await biddingStrategySimulationServiceClient.GetBiddingStrategySimulationAsync(resourceName);

            // End snippet
        }