/// <summary>Snippet for GetConversionCustomVariable</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetConversionCustomVariableResourceNames()
 {
     // Create client
     ConversionCustomVariableServiceClient conversionCustomVariableServiceClient = ConversionCustomVariableServiceClient.Create();
     // Initialize request argument(s)
     ConversionCustomVariableName resourceName = ConversionCustomVariableName.FromCustomerConversionCustomVariable("[CUSTOMER_ID]", "[CONVERSION_CUSTOM_VARIABLE_ID]");
     // Make the request
     ConversionCustomVariable response = conversionCustomVariableServiceClient.GetConversionCustomVariable(resourceName);
 }
Beispiel #2
0
        /// <summary>Snippet for GetConversionCustomVariableAsync</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 GetConversionCustomVariableRequestObjectAsync()
        {
            // Create client
            ConversionCustomVariableServiceClient conversionCustomVariableServiceClient = await ConversionCustomVariableServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetConversionCustomVariableRequest request = new GetConversionCustomVariableRequest
            {
                ResourceNameAsConversionCustomVariableName = ConversionCustomVariableName.FromCustomerConversionCustomVariable("[CUSTOMER_ID]", "[CONVERSION_CUSTOM_VARIABLE_ID]"),
            };
            // Make the request
            ConversionCustomVariable response = await conversionCustomVariableServiceClient.GetConversionCustomVariableAsync(request);
        }
 /// <summary>Snippet for GetConversionCustomVariable</summary>
 public void GetConversionCustomVariableRequestObject()
 {
     // Snippet: GetConversionCustomVariable(GetConversionCustomVariableRequest, CallSettings)
     // Create client
     ConversionCustomVariableServiceClient conversionCustomVariableServiceClient = ConversionCustomVariableServiceClient.Create();
     // Initialize request argument(s)
     GetConversionCustomVariableRequest request = new GetConversionCustomVariableRequest
     {
         ResourceNameAsConversionCustomVariableName = ConversionCustomVariableName.FromCustomerConversionCustomVariable("[CUSTOMER_ID]", "[CONVERSION_CUSTOM_VARIABLE_ID]"),
     };
     // Make the request
     ConversionCustomVariable response = conversionCustomVariableServiceClient.GetConversionCustomVariable(request);
     // End snippet
 }
        /// <summary>Snippet for GetConversionCustomVariableAsync</summary>
        public async Task GetConversionCustomVariableResourceNamesAsync()
        {
            // Snippet: GetConversionCustomVariableAsync(ConversionCustomVariableName, CallSettings)
            // Additional: GetConversionCustomVariableAsync(ConversionCustomVariableName, CancellationToken)
            // Create client
            ConversionCustomVariableServiceClient conversionCustomVariableServiceClient = await ConversionCustomVariableServiceClient.CreateAsync();

            // Initialize request argument(s)
            ConversionCustomVariableName resourceName = ConversionCustomVariableName.FromCustomerConversionCustomVariable("[CUSTOMER_ID]", "[CONVERSION_CUSTOM_VARIABLE_ID]");
            // Make the request
            ConversionCustomVariable response = await conversionCustomVariableServiceClient.GetConversionCustomVariableAsync(resourceName);

            // End snippet
        }