/// <summary>Snippet for MutateAdGroupExtensionSettingsAsync</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 MutateAdGroupExtensionSettingsAsync() { // Create client AdGroupExtensionSettingServiceClient adGroupExtensionSettingServiceClient = await AdGroupExtensionSettingServiceClient.CreateAsync(); // Initialize request argument(s) string customerId = ""; IEnumerable <AdGroupExtensionSettingOperation> operations = new AdGroupExtensionSettingOperation[] { new AdGroupExtensionSettingOperation(), }; // Make the request MutateAdGroupExtensionSettingsResponse response = await adGroupExtensionSettingServiceClient.MutateAdGroupExtensionSettingsAsync(customerId, operations); }
/// <summary>Snippet for MutateAdGroupExtensionSettingsAsync</summary> public async Task MutateAdGroupExtensionSettingsAsync() { // Snippet: MutateAdGroupExtensionSettingsAsync(string, IEnumerable<AdGroupExtensionSettingOperation>, CallSettings) // Additional: MutateAdGroupExtensionSettingsAsync(string, IEnumerable<AdGroupExtensionSettingOperation>, CancellationToken) // Create client AdGroupExtensionSettingServiceClient adGroupExtensionSettingServiceClient = await AdGroupExtensionSettingServiceClient.CreateAsync(); // Initialize request argument(s) string customerId = ""; IEnumerable <AdGroupExtensionSettingOperation> operations = new AdGroupExtensionSettingOperation[] { new AdGroupExtensionSettingOperation(), }; // Make the request MutateAdGroupExtensionSettingsResponse response = await adGroupExtensionSettingServiceClient.MutateAdGroupExtensionSettingsAsync(customerId, operations); // End snippet }
/// <summary>Snippet for MutateAdGroupExtensionSettingsAsync</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 MutateAdGroupExtensionSettingsRequestObjectAsync() { // Create client AdGroupExtensionSettingServiceClient adGroupExtensionSettingServiceClient = await AdGroupExtensionSettingServiceClient.CreateAsync(); // Initialize request argument(s) MutateAdGroupExtensionSettingsRequest request = new MutateAdGroupExtensionSettingsRequest { CustomerId = "", Operations = { new AdGroupExtensionSettingOperation(), }, PartialFailure = false, ValidateOnly = false, }; // Make the request MutateAdGroupExtensionSettingsResponse response = await adGroupExtensionSettingServiceClient.MutateAdGroupExtensionSettingsAsync(request); }