Example #1
0
 /// <summary>Snippet for GetTopicView</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetTopicView()
 {
     // Create client
     TopicViewServiceClient topicViewServiceClient = TopicViewServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER_ID]/topicViews/[AD_GROUP_ID]~[CRITERION_ID]";
     // Make the request
     TopicView response = topicViewServiceClient.GetTopicView(resourceName);
 }
 /// <summary>Snippet for GetTopicView</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetTopicView()
 {
     // Create client
     TopicViewServiceClient topicViewServiceClient = TopicViewServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER]/topicViews/[TOPIC_VIEW]";
     // Make the request
     TopicView response = topicViewServiceClient.GetTopicView(resourceName);
 }
Example #3
0
 /// <summary>Snippet for GetTopicView</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetTopicViewResourceNames()
 {
     // Create client
     TopicViewServiceClient topicViewServiceClient = TopicViewServiceClient.Create();
     // Initialize request argument(s)
     TopicViewName resourceName = TopicViewName.FromCustomerTopicView("[CUSTOMER]", "[TOPIC_VIEW]");
     // Make the request
     TopicView response = topicViewServiceClient.GetTopicView(resourceName);
 }
Example #4
0
 /// <summary>Snippet for GetTopicView</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetTopicViewResourceNames()
 {
     // Create client
     TopicViewServiceClient topicViewServiceClient = TopicViewServiceClient.Create();
     // Initialize request argument(s)
     TopicViewName resourceName = TopicViewName.FromCustomerAdGroupCriterion("[CUSTOMER_ID]", "[AD_GROUP_ID]", "[CRITERION_ID]");
     // Make the request
     TopicView response = topicViewServiceClient.GetTopicView(resourceName);
 }
 /// <summary>Snippet for GetTopicView</summary>
 public void GetTopicViewRequestObject()
 {
     // Snippet: GetTopicView(GetTopicViewRequest, CallSettings)
     // Create client
     TopicViewServiceClient topicViewServiceClient = TopicViewServiceClient.Create();
     // Initialize request argument(s)
     GetTopicViewRequest request = new GetTopicViewRequest
     {
         ResourceNameAsTopicViewName = TopicViewName.FromCustomerAdGroupCriterion("[CUSTOMER_ID]", "[AD_GROUP_ID]", "[CRITERION_ID]"),
     };
     // Make the request
     TopicView response = topicViewServiceClient.GetTopicView(request);
     // End snippet
 }
 /// <summary>Snippet for GetTopicView</summary>
 public void GetTopicViewRequestObject()
 {
     // Snippet: GetTopicView(GetTopicViewRequest, CallSettings)
     // Create client
     TopicViewServiceClient topicViewServiceClient = TopicViewServiceClient.Create();
     // Initialize request argument(s)
     GetTopicViewRequest request = new GetTopicViewRequest
     {
         ResourceNameAsTopicViewName = TopicViewName.FromCustomerTopicView("[CUSTOMER]", "[TOPIC_VIEW]"),
     };
     // Make the request
     TopicView response = topicViewServiceClient.GetTopicView(request);
     // End snippet
 }