예제 #1
0
 /// <summary>Snippet for UploadCallConversions</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void UploadCallConversions()
 {
     // Create client
     ConversionUploadServiceClient conversionUploadServiceClient = ConversionUploadServiceClient.Create();
     // Initialize request argument(s)
     string customerId = "";
     IEnumerable <CallConversion> conversions = new CallConversion[]
     {
         new CallConversion(),
     };
     bool partialFailure = false;
     // Make the request
     UploadCallConversionsResponse response = conversionUploadServiceClient.UploadCallConversions(customerId, conversions, partialFailure);
 }
 /// <summary>Snippet for UploadCallConversions</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void UploadCallConversionsRequestObject()
 {
     // Create client
     ConversionUploadServiceClient conversionUploadServiceClient = ConversionUploadServiceClient.Create();
     // Initialize request argument(s)
     UploadCallConversionsRequest request = new UploadCallConversionsRequest
     {
         CustomerId  = "",
         Conversions =
         {
             new CallConversion(),
         },
         PartialFailure = false,
         ValidateOnly   = false,
     };
     // Make the request
     UploadCallConversionsResponse response = conversionUploadServiceClient.UploadCallConversions(request);
 }