/// <summary>Snippet for GetAdParameter</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetAdParameterResourceNames()
 {
     // Create client
     AdParameterServiceClient adParameterServiceClient = AdParameterServiceClient.Create();
     // Initialize request argument(s)
     AdParameterName resourceName = AdParameterName.FromCustomerAdParameter("[CUSTOMER]", "[AD_PARAMETER]");
     // Make the request
     AdParameter response = adParameterServiceClient.GetAdParameter(resourceName);
 }
        /// <summary>Snippet for GetAdParameterAsync</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 GetAdParameterRequestObjectAsync()
        {
            // Create client
            AdParameterServiceClient adParameterServiceClient = await AdParameterServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetAdParameterRequest request = new GetAdParameterRequest
            {
                ResourceNameAsAdParameterName = AdParameterName.FromCustomerAdParameter("[CUSTOMER]", "[AD_PARAMETER]"),
            };
            // Make the request
            AdParameter response = await adParameterServiceClient.GetAdParameterAsync(request);
        }
Exemplo n.º 3
0
 /// <summary>Snippet for GetAdParameter</summary>
 public void GetAdParameterRequestObject()
 {
     // Snippet: GetAdParameter(GetAdParameterRequest, CallSettings)
     // Create client
     AdParameterServiceClient adParameterServiceClient = AdParameterServiceClient.Create();
     // Initialize request argument(s)
     GetAdParameterRequest request = new GetAdParameterRequest
     {
         ResourceNameAsAdParameterName = AdParameterName.FromCustomerAdParameter("[CUSTOMER]", "[AD_PARAMETER]"),
     };
     // Make the request
     AdParameter response = adParameterServiceClient.GetAdParameter(request);
     // End snippet
 }
Exemplo n.º 4
0
        /// <summary>Snippet for GetAdParameterAsync</summary>
        public async Task GetAdParameterResourceNamesAsync()
        {
            // Snippet: GetAdParameterAsync(AdParameterName, CallSettings)
            // Additional: GetAdParameterAsync(AdParameterName, CancellationToken)
            // Create client
            AdParameterServiceClient adParameterServiceClient = await AdParameterServiceClient.CreateAsync();

            // Initialize request argument(s)
            AdParameterName resourceName = AdParameterName.FromCustomerAdParameter("[CUSTOMER]", "[AD_PARAMETER]");
            // Make the request
            AdParameter response = await adParameterServiceClient.GetAdParameterAsync(resourceName);

            // End snippet
        }