/// <summary>Snippet for GetAdScheduleView</summary>
 public void GetAdScheduleViewResourceNames()
 {
     // Snippet: GetAdScheduleView(AdScheduleViewName, CallSettings)
     // Create client
     AdScheduleViewServiceClient adScheduleViewServiceClient = AdScheduleViewServiceClient.Create();
     // Initialize request argument(s)
     AdScheduleViewName resourceName = AdScheduleViewName.FromCustomerCampaignCriterion("[CUSTOMER_ID]", "[CAMPAIGN_ID]", "[CRITERION_ID]");
     // Make the request
     AdScheduleView response = adScheduleViewServiceClient.GetAdScheduleView(resourceName);
     // End snippet
 }
 /// <summary>Snippet for GetAdScheduleView</summary>
 public void GetAdScheduleView()
 {
     // Snippet: GetAdScheduleView(string, CallSettings)
     // Create client
     AdScheduleViewServiceClient adScheduleViewServiceClient = AdScheduleViewServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER_ID]/adScheduleViews/[CAMPAIGN_ID]~[CRITERION_ID]";
     // Make the request
     AdScheduleView response = adScheduleViewServiceClient.GetAdScheduleView(resourceName);
     // End snippet
 }
Ejemplo n.º 3
0
 /// <summary>Snippet for GetAdScheduleView</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetAdScheduleViewRequestObject()
 {
     // Create client
     AdScheduleViewServiceClient adScheduleViewServiceClient = AdScheduleViewServiceClient.Create();
     // Initialize request argument(s)
     GetAdScheduleViewRequest request = new GetAdScheduleViewRequest
     {
         ResourceNameAsAdScheduleViewName = AdScheduleViewName.FromCustomerCampaignCriterion("[CUSTOMER_ID]", "[CAMPAIGN_ID]", "[CRITERION_ID]"),
     };
     // Make the request
     AdScheduleView response = adScheduleViewServiceClient.GetAdScheduleView(request);
 }
 /// <summary>Snippet for GetAdScheduleView</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetAdScheduleViewRequestObject()
 {
     // Create client
     AdScheduleViewServiceClient adScheduleViewServiceClient = AdScheduleViewServiceClient.Create();
     // Initialize request argument(s)
     GetAdScheduleViewRequest request = new GetAdScheduleViewRequest
     {
         ResourceNameAsAdScheduleViewName = AdScheduleViewName.FromCustomerAdScheduleView("[CUSTOMER]", "[AD_SCHEDULE_VIEW]"),
     };
     // Make the request
     AdScheduleView response = adScheduleViewServiceClient.GetAdScheduleView(request);
 }