/// <summary>Snippet for GetAdGroupAudienceView</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetAdGroupAudienceViewResourceNames()
 {
     // Create client
     AdGroupAudienceViewServiceClient adGroupAudienceViewServiceClient = AdGroupAudienceViewServiceClient.Create();
     // Initialize request argument(s)
     AdGroupAudienceViewName resourceName = AdGroupAudienceViewName.FromCustomerAdGroupAudienceView("[CUSTOMER]", "[AD_GROUP_AUDIENCE_VIEW]");
     // Make the request
     AdGroupAudienceView response = adGroupAudienceViewServiceClient.GetAdGroupAudienceView(resourceName);
 }
        /// <summary>Snippet for GetAdGroupAudienceViewAsync</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 GetAdGroupAudienceViewRequestObjectAsync()
        {
            // Create client
            AdGroupAudienceViewServiceClient adGroupAudienceViewServiceClient = await AdGroupAudienceViewServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetAdGroupAudienceViewRequest request = new GetAdGroupAudienceViewRequest
            {
                ResourceNameAsAdGroupAudienceViewName = AdGroupAudienceViewName.FromCustomerAdGroupAudienceView("[CUSTOMER]", "[AD_GROUP_AUDIENCE_VIEW]"),
            };
            // Make the request
            AdGroupAudienceView response = await adGroupAudienceViewServiceClient.GetAdGroupAudienceViewAsync(request);
        }
Esempio n. 3
0
 /// <summary>Snippet for GetAdGroupAudienceView</summary>
 public void GetAdGroupAudienceViewRequestObject()
 {
     // Snippet: GetAdGroupAudienceView(GetAdGroupAudienceViewRequest, CallSettings)
     // Create client
     AdGroupAudienceViewServiceClient adGroupAudienceViewServiceClient = AdGroupAudienceViewServiceClient.Create();
     // Initialize request argument(s)
     GetAdGroupAudienceViewRequest request = new GetAdGroupAudienceViewRequest
     {
         ResourceNameAsAdGroupAudienceViewName = AdGroupAudienceViewName.FromCustomerAdGroupAudienceView("[CUSTOMER]", "[AD_GROUP_AUDIENCE_VIEW]"),
     };
     // Make the request
     AdGroupAudienceView response = adGroupAudienceViewServiceClient.GetAdGroupAudienceView(request);
     // End snippet
 }
Esempio n. 4
0
        /// <summary>Snippet for GetAdGroupAudienceViewAsync</summary>
        public async Task GetAdGroupAudienceViewResourceNamesAsync()
        {
            // Snippet: GetAdGroupAudienceViewAsync(AdGroupAudienceViewName, CallSettings)
            // Additional: GetAdGroupAudienceViewAsync(AdGroupAudienceViewName, CancellationToken)
            // Create client
            AdGroupAudienceViewServiceClient adGroupAudienceViewServiceClient = await AdGroupAudienceViewServiceClient.CreateAsync();

            // Initialize request argument(s)
            AdGroupAudienceViewName resourceName = AdGroupAudienceViewName.FromCustomerAdGroupAudienceView("[CUSTOMER]", "[AD_GROUP_AUDIENCE_VIEW]");
            // Make the request
            AdGroupAudienceView response = await adGroupAudienceViewServiceClient.GetAdGroupAudienceViewAsync(resourceName);

            // End snippet
        }