/// <summary>Snippet for GetIncomeRangeView</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetIncomeRangeViewResourceNames()
 {
     // Create client
     IncomeRangeViewServiceClient incomeRangeViewServiceClient = IncomeRangeViewServiceClient.Create();
     // Initialize request argument(s)
     IncomeRangeViewName resourceName = IncomeRangeViewName.FromCustomerAdGroupCriterion("[CUSTOMER_ID]", "[AD_GROUP_ID]", "[CRITERION_ID]");
     // Make the request
     IncomeRangeView response = incomeRangeViewServiceClient.GetIncomeRangeView(resourceName);
 }
Beispiel #2
0
        /// <summary>Snippet for GetIncomeRangeViewAsync</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 GetIncomeRangeViewRequestObjectAsync()
        {
            // Create client
            IncomeRangeViewServiceClient incomeRangeViewServiceClient = await IncomeRangeViewServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetIncomeRangeViewRequest request = new GetIncomeRangeViewRequest
            {
                ResourceNameAsIncomeRangeViewName = IncomeRangeViewName.FromCustomerAdGroupCriterion("[CUSTOMER_ID]", "[AD_GROUP_ID]", "[CRITERION_ID]"),
            };
            // Make the request
            IncomeRangeView response = await incomeRangeViewServiceClient.GetIncomeRangeViewAsync(request);
        }
Beispiel #3
0
 /// <summary>Snippet for GetIncomeRangeView</summary>
 public void GetIncomeRangeViewRequestObject()
 {
     // Snippet: GetIncomeRangeView(GetIncomeRangeViewRequest, CallSettings)
     // Create client
     IncomeRangeViewServiceClient incomeRangeViewServiceClient = IncomeRangeViewServiceClient.Create();
     // Initialize request argument(s)
     GetIncomeRangeViewRequest request = new GetIncomeRangeViewRequest
     {
         ResourceNameAsIncomeRangeViewName = IncomeRangeViewName.FromCustomerAdGroupCriterion("[CUSTOMER_ID]", "[AD_GROUP_ID]", "[CRITERION_ID]"),
     };
     // Make the request
     IncomeRangeView response = incomeRangeViewServiceClient.GetIncomeRangeView(request);
     // End snippet
 }
Beispiel #4
0
        /// <summary>Snippet for GetIncomeRangeViewAsync</summary>
        public async Task GetIncomeRangeViewResourceNamesAsync()
        {
            // Snippet: GetIncomeRangeViewAsync(IncomeRangeViewName, CallSettings)
            // Additional: GetIncomeRangeViewAsync(IncomeRangeViewName, CancellationToken)
            // Create client
            IncomeRangeViewServiceClient incomeRangeViewServiceClient = await IncomeRangeViewServiceClient.CreateAsync();

            // Initialize request argument(s)
            IncomeRangeViewName resourceName = IncomeRangeViewName.FromCustomerAdGroupCriterion("[CUSTOMER_ID]", "[AD_GROUP_ID]", "[CRITERION_ID]");
            // Make the request
            IncomeRangeView response = await incomeRangeViewServiceClient.GetIncomeRangeViewAsync(resourceName);

            // End snippet
        }