Ejemplo n.º 1
0
 /// <summary>Snippet for GetConversionAction</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetConversionActionResourceNames()
 {
     // Create client
     ConversionActionServiceClient conversionActionServiceClient = ConversionActionServiceClient.Create();
     // Initialize request argument(s)
     ConversionActionName resourceName = ConversionActionName.FromCustomerConversionAction("[CUSTOMER_ID]", "[CONVERSION_ACTION_ID]");
     // Make the request
     ConversionAction response = conversionActionServiceClient.GetConversionAction(resourceName);
 }
        /// <summary>Snippet for GetConversionActionAsync</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 GetConversionActionResourceNamesAsync()
        {
            // Create client
            ConversionActionServiceClient conversionActionServiceClient = await ConversionActionServiceClient.CreateAsync();

            // Initialize request argument(s)
            ConversionActionName resourceName = ConversionActionName.FromCustomerConversionAction("[CUSTOMER]", "[CONVERSION_ACTION]");
            // Make the request
            ConversionAction response = await conversionActionServiceClient.GetConversionActionAsync(resourceName);
        }
 /// <summary>Snippet for GetConversionAction</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetConversionActionRequestObject()
 {
     // Create client
     ConversionActionServiceClient conversionActionServiceClient = ConversionActionServiceClient.Create();
     // Initialize request argument(s)
     GetConversionActionRequest request = new GetConversionActionRequest
     {
         ResourceNameAsConversionActionName = ConversionActionName.FromCustomerConversionAction("[CUSTOMER]", "[CONVERSION_ACTION]"),
     };
     // Make the request
     ConversionAction response = conversionActionServiceClient.GetConversionAction(request);
 }
Ejemplo n.º 4
0
        /// <summary>Snippet for GetConversionActionAsync</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 GetConversionActionRequestObjectAsync()
        {
            // Create client
            ConversionActionServiceClient conversionActionServiceClient = await ConversionActionServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetConversionActionRequest request = new GetConversionActionRequest
            {
                ResourceNameAsConversionActionName = ConversionActionName.FromCustomerConversionAction("[CUSTOMER_ID]", "[CONVERSION_ACTION_ID]"),
            };
            // Make the request
            ConversionAction response = await conversionActionServiceClient.GetConversionActionAsync(request);
        }
Ejemplo n.º 5
0
        /// <summary>Snippet for GetConversionActionAsync</summary>
        public async Task GetConversionActionResourceNamesAsync()
        {
            // Snippet: GetConversionActionAsync(ConversionActionName, CallSettings)
            // Additional: GetConversionActionAsync(ConversionActionName, CancellationToken)
            // Create client
            ConversionActionServiceClient conversionActionServiceClient = await ConversionActionServiceClient.CreateAsync();

            // Initialize request argument(s)
            ConversionActionName resourceName = ConversionActionName.FromCustomerConversionAction("[CUSTOMER_ID]", "[CONVERSION_ACTION_ID]");
            // Make the request
            ConversionAction response = await conversionActionServiceClient.GetConversionActionAsync(resourceName);

            // End snippet
        }