/// <summary>Snippet for GetCombinedAudienceAsync</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 GetCombinedAudienceAsync()
        {
            // Create client
            CombinedAudienceServiceClient combinedAudienceServiceClient = await CombinedAudienceServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "customers/[CUSTOMER_ID]/combinedAudiences/[COMBINED_AUDIENCE_ID]";
            // Make the request
            CombinedAudience response = await combinedAudienceServiceClient.GetCombinedAudienceAsync(resourceName);
        }
Esempio n. 2
0
        /// <summary>Snippet for GetCombinedAudienceAsync</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 GetCombinedAudienceResourceNamesAsync()
        {
            // Create client
            CombinedAudienceServiceClient combinedAudienceServiceClient = await CombinedAudienceServiceClient.CreateAsync();

            // Initialize request argument(s)
            CombinedAudienceName resourceName = CombinedAudienceName.FromCustomerCombinedAudience("[CUSTOMER_ID]", "[COMBINED_AUDIENCE_ID]");
            // Make the request
            CombinedAudience response = await combinedAudienceServiceClient.GetCombinedAudienceAsync(resourceName);
        }
        /// <summary>Snippet for GetCombinedAudienceAsync</summary>
        public async Task GetCombinedAudienceAsync()
        {
            // Snippet: GetCombinedAudienceAsync(string, CallSettings)
            // Additional: GetCombinedAudienceAsync(string, CancellationToken)
            // Create client
            CombinedAudienceServiceClient combinedAudienceServiceClient = await CombinedAudienceServiceClient.CreateAsync();

            // Initialize request argument(s)
            string resourceName = "customers/[CUSTOMER_ID]/combinedAudiences/[COMBINED_AUDIENCE_ID]";
            // Make the request
            CombinedAudience response = await combinedAudienceServiceClient.GetCombinedAudienceAsync(resourceName);

            // End snippet
        }
        /// <summary>Snippet for GetCombinedAudienceAsync</summary>
        public async Task GetCombinedAudienceResourceNamesAsync()
        {
            // Snippet: GetCombinedAudienceAsync(CombinedAudienceName, CallSettings)
            // Additional: GetCombinedAudienceAsync(CombinedAudienceName, CancellationToken)
            // Create client
            CombinedAudienceServiceClient combinedAudienceServiceClient = await CombinedAudienceServiceClient.CreateAsync();

            // Initialize request argument(s)
            CombinedAudienceName resourceName = CombinedAudienceName.FromCustomerCombinedAudience("[CUSTOMER_ID]", "[COMBINED_AUDIENCE_ID]");
            // Make the request
            CombinedAudience response = await combinedAudienceServiceClient.GetCombinedAudienceAsync(resourceName);

            // End snippet
        }