/// <summary>Snippet for UploadConversionAdjustmentsAsync</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 UploadConversionAdjustmentsAsync() { // Create client ConversionAdjustmentUploadServiceClient conversionAdjustmentUploadServiceClient = await ConversionAdjustmentUploadServiceClient.CreateAsync(); // Initialize request argument(s) string customerId = ""; IEnumerable <ConversionAdjustment> conversionAdjustments = new ConversionAdjustment[] { new ConversionAdjustment(), }; bool partialFailure = false; // Make the request UploadConversionAdjustmentsResponse response = await conversionAdjustmentUploadServiceClient.UploadConversionAdjustmentsAsync(customerId, conversionAdjustments, partialFailure); }
/// <summary>Snippet for UploadConversionAdjustmentsAsync</summary> public async Task UploadConversionAdjustmentsAsync() { // Snippet: UploadConversionAdjustmentsAsync(string, IEnumerable<ConversionAdjustment>, bool, CallSettings) // Additional: UploadConversionAdjustmentsAsync(string, IEnumerable<ConversionAdjustment>, bool, CancellationToken) // Create client ConversionAdjustmentUploadServiceClient conversionAdjustmentUploadServiceClient = await ConversionAdjustmentUploadServiceClient.CreateAsync(); // Initialize request argument(s) string customerId = ""; IEnumerable <ConversionAdjustment> conversionAdjustments = new ConversionAdjustment[] { new ConversionAdjustment(), }; bool partialFailure = false; // Make the request UploadConversionAdjustmentsResponse response = await conversionAdjustmentUploadServiceClient.UploadConversionAdjustmentsAsync(customerId, conversionAdjustments, partialFailure); // End snippet }
/// <summary>Snippet for UploadConversionAdjustmentsAsync</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 UploadConversionAdjustmentsRequestObjectAsync() { // Create client ConversionAdjustmentUploadServiceClient conversionAdjustmentUploadServiceClient = await ConversionAdjustmentUploadServiceClient.CreateAsync(); // Initialize request argument(s) UploadConversionAdjustmentsRequest request = new UploadConversionAdjustmentsRequest { CustomerId = "", ConversionAdjustments = { new ConversionAdjustment(), }, PartialFailure = false, ValidateOnly = false, }; // Make the request UploadConversionAdjustmentsResponse response = await conversionAdjustmentUploadServiceClient.UploadConversionAdjustmentsAsync(request); }
/// <summary>Snippet for UploadConversionAdjustmentsAsync</summary> public async Task UploadConversionAdjustmentsRequestObjectAsync() { // Snippet: UploadConversionAdjustmentsAsync(UploadConversionAdjustmentsRequest, CallSettings) // Additional: UploadConversionAdjustmentsAsync(UploadConversionAdjustmentsRequest, CancellationToken) // Create client ConversionAdjustmentUploadServiceClient conversionAdjustmentUploadServiceClient = await ConversionAdjustmentUploadServiceClient.CreateAsync(); // Initialize request argument(s) UploadConversionAdjustmentsRequest request = new UploadConversionAdjustmentsRequest { CustomerId = "", ConversionAdjustments = { new ConversionAdjustment(), }, PartialFailure = false, ValidateOnly = false, }; // Make the request UploadConversionAdjustmentsResponse response = await conversionAdjustmentUploadServiceClient.UploadConversionAdjustmentsAsync(request); // End snippet }