예제 #1
0
        /// <summary>Snippet for MutateBiddingStrategiesAsync</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 MutateBiddingStrategiesAsync()
        {
            // Create client
            BiddingStrategyServiceClient biddingStrategyServiceClient = await BiddingStrategyServiceClient.CreateAsync();

            // Initialize request argument(s)
            string customerId = "";
            IEnumerable <BiddingStrategyOperation> operations = new BiddingStrategyOperation[]
            {
                new BiddingStrategyOperation(),
            };
            // Make the request
            MutateBiddingStrategiesResponse response = await biddingStrategyServiceClient.MutateBiddingStrategiesAsync(customerId, operations);
        }
예제 #2
0
        /// <summary>Snippet for MutateBiddingStrategiesAsync</summary>
        public async Task MutateBiddingStrategiesAsync()
        {
            // Snippet: MutateBiddingStrategiesAsync(string, IEnumerable<BiddingStrategyOperation>, CallSettings)
            // Additional: MutateBiddingStrategiesAsync(string, IEnumerable<BiddingStrategyOperation>, CancellationToken)
            // Create client
            BiddingStrategyServiceClient biddingStrategyServiceClient = await BiddingStrategyServiceClient.CreateAsync();

            // Initialize request argument(s)
            string customerId = "";
            IEnumerable <BiddingStrategyOperation> operations = new BiddingStrategyOperation[]
            {
                new BiddingStrategyOperation(),
            };
            // Make the request
            MutateBiddingStrategiesResponse response = await biddingStrategyServiceClient.MutateBiddingStrategiesAsync(customerId, operations);

            // End snippet
        }
        /// <summary>Snippet for MutateBiddingStrategiesAsync</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 MutateBiddingStrategiesRequestObjectAsync()
        {
            // Create client
            BiddingStrategyServiceClient biddingStrategyServiceClient = await BiddingStrategyServiceClient.CreateAsync();

            // Initialize request argument(s)
            MutateBiddingStrategiesRequest request = new MutateBiddingStrategiesRequest
            {
                CustomerId = "",
                Operations =
                {
                    new BiddingStrategyOperation(),
                },
                PartialFailure = false,
                ValidateOnly   = false,
            };
            // Make the request
            MutateBiddingStrategiesResponse response = await biddingStrategyServiceClient.MutateBiddingStrategiesAsync(request);
        }
        /// <summary>Snippet for MutateBiddingStrategiesAsync</summary>
        public async Task MutateBiddingStrategiesRequestObjectAsync()
        {
            // Snippet: MutateBiddingStrategiesAsync(MutateBiddingStrategiesRequest, CallSettings)
            // Additional: MutateBiddingStrategiesAsync(MutateBiddingStrategiesRequest, CancellationToken)
            // Create client
            BiddingStrategyServiceClient biddingStrategyServiceClient = await BiddingStrategyServiceClient.CreateAsync();

            // Initialize request argument(s)
            MutateBiddingStrategiesRequest request = new MutateBiddingStrategiesRequest
            {
                CustomerId = "",
                Operations =
                {
                    new BiddingStrategyOperation(),
                },
                PartialFailure      = false,
                ValidateOnly        = false,
                ResponseContentType = ResponseContentTypeEnum.Types.ResponseContentType.Unspecified,
            };
            // Make the request
            MutateBiddingStrategiesResponse response = await biddingStrategyServiceClient.MutateBiddingStrategiesAsync(request);

            // End snippet
        }