/// <summary>Snippet for GetBiddingStrategyAsync</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 GetBiddingStrategyResourceNamesAsync() { // Create client BiddingStrategyServiceClient biddingStrategyServiceClient = await BiddingStrategyServiceClient.CreateAsync(); // Initialize request argument(s) BiddingStrategyName resourceName = BiddingStrategyName.FromCustomerBiddingStrategy("[CUSTOMER]", "[BIDDING_STRATEGY]"); // Make the request BiddingStrategy response = await biddingStrategyServiceClient.GetBiddingStrategyAsync(resourceName); }
/// <summary>Snippet for GetBiddingStrategyAsync</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 GetBiddingStrategyAsync() { // Create client BiddingStrategyServiceClient biddingStrategyServiceClient = await BiddingStrategyServiceClient.CreateAsync(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER]/biddingStrategies/[BIDDING_STRATEGY]"; // Make the request BiddingStrategy response = await biddingStrategyServiceClient.GetBiddingStrategyAsync(resourceName); }
/// <summary>Snippet for GetBiddingStrategyAsync</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 GetBiddingStrategyRequestObjectAsync() { // Create client BiddingStrategyServiceClient biddingStrategyServiceClient = await BiddingStrategyServiceClient.CreateAsync(); // Initialize request argument(s) GetBiddingStrategyRequest request = new GetBiddingStrategyRequest { ResourceNameAsBiddingStrategyName = BiddingStrategyName.FromCustomerBiddingStrategy("[CUSTOMER_ID]", "[BIDDING_STRATEGY_ID]"), }; // Make the request BiddingStrategy response = await biddingStrategyServiceClient.GetBiddingStrategyAsync(request); }
/// <summary>Snippet for GetBiddingStrategyAsync</summary> public async Task GetBiddingStrategyAsync() { // Snippet: GetBiddingStrategyAsync(string, CallSettings) // Additional: GetBiddingStrategyAsync(string, CancellationToken) // Create client BiddingStrategyServiceClient biddingStrategyServiceClient = await BiddingStrategyServiceClient.CreateAsync(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER]/biddingStrategies/[BIDDING_STRATEGY]"; // Make the request BiddingStrategy response = await biddingStrategyServiceClient.GetBiddingStrategyAsync(resourceName); // End snippet }
/// <summary>Snippet for GetBiddingStrategyAsync</summary> public async Task GetBiddingStrategyResourceNamesAsync() { // Snippet: GetBiddingStrategyAsync(BiddingStrategyName, CallSettings) // Additional: GetBiddingStrategyAsync(BiddingStrategyName, CancellationToken) // Create client BiddingStrategyServiceClient biddingStrategyServiceClient = await BiddingStrategyServiceClient.CreateAsync(); // Initialize request argument(s) BiddingStrategyName resourceName = BiddingStrategyName.FromCustomerBiddingStrategy("[CUSTOMER]", "[BIDDING_STRATEGY]"); // Make the request BiddingStrategy response = await biddingStrategyServiceClient.GetBiddingStrategyAsync(resourceName); // End snippet }