示例#1
0
 /// <summary>Snippet for MutateAdGroupCriterionLabels</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void MutateAdGroupCriterionLabels()
 {
     // Create client
     AdGroupCriterionLabelServiceClient adGroupCriterionLabelServiceClient = AdGroupCriterionLabelServiceClient.Create();
     // Initialize request argument(s)
     string customerId = "";
     IEnumerable <AdGroupCriterionLabelOperation> operations = new AdGroupCriterionLabelOperation[]
     {
         new AdGroupCriterionLabelOperation(),
     };
     // Make the request
     MutateAdGroupCriterionLabelsResponse response = adGroupCriterionLabelServiceClient.MutateAdGroupCriterionLabels(customerId, operations);
 }
示例#2
0
        /// <summary>Snippet for MutateAdGroupCriterionLabelsAsync</summary>
        public async Task MutateAdGroupCriterionLabelsAsync()
        {
            // Snippet: MutateAdGroupCriterionLabelsAsync(string, IEnumerable<AdGroupCriterionLabelOperation>, CallSettings)
            // Additional: MutateAdGroupCriterionLabelsAsync(string, IEnumerable<AdGroupCriterionLabelOperation>, CancellationToken)
            // Create client
            AdGroupCriterionLabelServiceClient adGroupCriterionLabelServiceClient = await AdGroupCriterionLabelServiceClient.CreateAsync();

            // Initialize request argument(s)
            string customerId = "";
            IEnumerable <AdGroupCriterionLabelOperation> operations = new AdGroupCriterionLabelOperation[]
            {
                new AdGroupCriterionLabelOperation(),
            };
            // Make the request
            MutateAdGroupCriterionLabelsResponse response = await adGroupCriterionLabelServiceClient.MutateAdGroupCriterionLabelsAsync(customerId, operations);

            // End snippet
        }