/// <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);
        }
示例#2
0
        /// <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);
        }
示例#4
0
        /// <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
        }
示例#5
0
        /// <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
        }