Ejemplo n.º 1
0
 /// <summary>Snippet for MutateAdGroupLabels</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void MutateAdGroupLabels()
 {
     // Create client
     AdGroupLabelServiceClient adGroupLabelServiceClient = AdGroupLabelServiceClient.Create();
     // Initialize request argument(s)
     string customerId = "";
     IEnumerable <AdGroupLabelOperation> operations = new AdGroupLabelOperation[]
     {
         new AdGroupLabelOperation(),
     };
     // Make the request
     MutateAdGroupLabelsResponse response = adGroupLabelServiceClient.MutateAdGroupLabels(customerId, operations);
 }
Ejemplo n.º 2
0
        /// <summary>Snippet for MutateAdGroupLabelsAsync</summary>
        public async Task MutateAdGroupLabelsAsync()
        {
            // Snippet: MutateAdGroupLabelsAsync(string, IEnumerable<AdGroupLabelOperation>, CallSettings)
            // Additional: MutateAdGroupLabelsAsync(string, IEnumerable<AdGroupLabelOperation>, CancellationToken)
            // Create client
            AdGroupLabelServiceClient adGroupLabelServiceClient = await AdGroupLabelServiceClient.CreateAsync();

            // Initialize request argument(s)
            string customerId = "";
            IEnumerable <AdGroupLabelOperation> operations = new AdGroupLabelOperation[]
            {
                new AdGroupLabelOperation(),
            };
            // Make the request
            MutateAdGroupLabelsResponse response = await adGroupLabelServiceClient.MutateAdGroupLabelsAsync(customerId, operations);

            // End snippet
        }