/// <summary>Snippet for GetBiddingStrategySimulation</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public void GetBiddingStrategySimulationResourceNames() { // Create client BiddingStrategySimulationServiceClient biddingStrategySimulationServiceClient = BiddingStrategySimulationServiceClient.Create(); // 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 = biddingStrategySimulationServiceClient.GetBiddingStrategySimulation(resourceName); }
/// <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); }
/// <summary>Snippet for GetBiddingStrategySimulation</summary> public void GetBiddingStrategySimulationRequestObject() { // Snippet: GetBiddingStrategySimulation(GetBiddingStrategySimulationRequest, CallSettings) // Create client BiddingStrategySimulationServiceClient biddingStrategySimulationServiceClient = BiddingStrategySimulationServiceClient.Create(); // 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 = biddingStrategySimulationServiceClient.GetBiddingStrategySimulation(request); // End snippet }
/// <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 }