/// <summary>Snippet for GetSmartCampaignSearchTermViewAsync</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 GetSmartCampaignSearchTermViewResourceNamesAsync() { // Create client SmartCampaignSearchTermViewServiceClient smartCampaignSearchTermViewServiceClient = await SmartCampaignSearchTermViewServiceClient.CreateAsync(); // Initialize request argument(s) SmartCampaignSearchTermViewName resourceName = SmartCampaignSearchTermViewName.FromCustomerCampaignQuery("[CUSTOMER_ID]", "[CAMPAIGN_ID]", "[QUERY]"); // Make the request SmartCampaignSearchTermView response = await smartCampaignSearchTermViewServiceClient.GetSmartCampaignSearchTermViewAsync(resourceName); }
/// <summary>Snippet for GetSmartCampaignSearchTermViewAsync</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 GetSmartCampaignSearchTermViewAsync() { // Create client SmartCampaignSearchTermViewServiceClient smartCampaignSearchTermViewServiceClient = await SmartCampaignSearchTermViewServiceClient.CreateAsync(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER_ID]/smartCampaignSearchTermViews/[CAMPAIGN_ID]~[QUERY]"; // Make the request SmartCampaignSearchTermView response = await smartCampaignSearchTermViewServiceClient.GetSmartCampaignSearchTermViewAsync(resourceName); }
/// <summary>Snippet for GetSmartCampaignSearchTermViewAsync</summary> public async Task GetSmartCampaignSearchTermViewAsync() { // Snippet: GetSmartCampaignSearchTermViewAsync(string, CallSettings) // Additional: GetSmartCampaignSearchTermViewAsync(string, CancellationToken) // Create client SmartCampaignSearchTermViewServiceClient smartCampaignSearchTermViewServiceClient = await SmartCampaignSearchTermViewServiceClient.CreateAsync(); // Initialize request argument(s) string resourceName = "customers/[CUSTOMER_ID]/smartCampaignSearchTermViews/[CAMPAIGN_ID]~[QUERY]"; // Make the request SmartCampaignSearchTermView response = await smartCampaignSearchTermViewServiceClient.GetSmartCampaignSearchTermViewAsync(resourceName); // End snippet }
/// <summary>Snippet for GetSmartCampaignSearchTermViewAsync</summary> public async Task GetSmartCampaignSearchTermViewResourceNamesAsync() { // Snippet: GetSmartCampaignSearchTermViewAsync(SmartCampaignSearchTermViewName, CallSettings) // Additional: GetSmartCampaignSearchTermViewAsync(SmartCampaignSearchTermViewName, CancellationToken) // Create client SmartCampaignSearchTermViewServiceClient smartCampaignSearchTermViewServiceClient = await SmartCampaignSearchTermViewServiceClient.CreateAsync(); // Initialize request argument(s) SmartCampaignSearchTermViewName resourceName = SmartCampaignSearchTermViewName.FromCustomerCampaignQuery("[CUSTOMER_ID]", "[CAMPAIGN_ID]", "[QUERY]"); // Make the request SmartCampaignSearchTermView response = await smartCampaignSearchTermViewServiceClient.GetSmartCampaignSearchTermViewAsync(resourceName); // End snippet }