Esempio n. 1
0
 /// <summary>Snippet for GetCampaignCriterionSimulation</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetCampaignCriterionSimulationRequestObject()
 {
     // Create client
     CampaignCriterionSimulationServiceClient campaignCriterionSimulationServiceClient = CampaignCriterionSimulationServiceClient.Create();
     // Initialize request argument(s)
     GetCampaignCriterionSimulationRequest request = new GetCampaignCriterionSimulationRequest
     {
         ResourceNameAsCampaignCriterionSimulationName = CampaignCriterionSimulationName.FromCustomerCampaignCriterionTypeModificationMethodStartDateEndDate("[CUSTOMER_ID]", "[CAMPAIGN_ID]", "[CRITERION_ID]", "[TYPE]", "[MODIFICATION_METHOD]", "[START_DATE]", "[END_DATE]"),
     };
     // Make the request
     CampaignCriterionSimulation response = campaignCriterionSimulationServiceClient.GetCampaignCriterionSimulation(request);
 }
 /// <summary>Snippet for GetCampaignCriterionSimulation</summary>
 public void GetCampaignCriterionSimulationResourceNames()
 {
     // Snippet: GetCampaignCriterionSimulation(CampaignCriterionSimulationName, CallSettings)
     // Create client
     CampaignCriterionSimulationServiceClient campaignCriterionSimulationServiceClient = CampaignCriterionSimulationServiceClient.Create();
     // Initialize request argument(s)
     CampaignCriterionSimulationName resourceName = CampaignCriterionSimulationName.FromCustomerCampaignCriterionSimulation("[CUSTOMER]", "[CAMPAIGN_CRITERION_SIMULATION]");
     // Make the request
     CampaignCriterionSimulation response = campaignCriterionSimulationServiceClient.GetCampaignCriterionSimulation(resourceName);
     // End snippet
 }
 /// <summary>Snippet for GetCampaignCriterionSimulation</summary>
 public void GetCampaignCriterionSimulation()
 {
     // Snippet: GetCampaignCriterionSimulation(string, CallSettings)
     // Create client
     CampaignCriterionSimulationServiceClient campaignCriterionSimulationServiceClient = CampaignCriterionSimulationServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER]/campaignCriterionSimulations/[CAMPAIGN_CRITERION_SIMULATION]";
     // Make the request
     CampaignCriterionSimulation response = campaignCriterionSimulationServiceClient.GetCampaignCriterionSimulation(resourceName);
     // End snippet
 }
 /// <summary>Snippet for GetCampaignCriterionSimulation</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetCampaignCriterionSimulationRequestObject()
 {
     // Create client
     CampaignCriterionSimulationServiceClient campaignCriterionSimulationServiceClient = CampaignCriterionSimulationServiceClient.Create();
     // Initialize request argument(s)
     GetCampaignCriterionSimulationRequest request = new GetCampaignCriterionSimulationRequest
     {
         ResourceNameAsCampaignCriterionSimulationName = CampaignCriterionSimulationName.FromCustomerCampaignCriterionSimulation("[CUSTOMER]", "[CAMPAIGN_CRITERION_SIMULATION]"),
     };
     // Make the request
     CampaignCriterionSimulation response = campaignCriterionSimulationServiceClient.GetCampaignCriterionSimulation(request);
 }
Esempio n. 5
0
 /// <summary>Snippet for GetCampaignCriterionSimulation</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetCampaignCriterionSimulation()
 {
     // Create client
     CampaignCriterionSimulationServiceClient campaignCriterionSimulationServiceClient = CampaignCriterionSimulationServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER_ID]/campaignCriterionSimulations/[CAMPAIGN_ID]~[CRITERION_ID]~[TYPE]~[MODIFICATION_METHOD]~[START_DATE]~[END_DATE]";
     // Make the request
     CampaignCriterionSimulation response = campaignCriterionSimulationServiceClient.GetCampaignCriterionSimulation(resourceName);
 }
Esempio n. 6
0
 /// <summary>Snippet for GetCampaignCriterionSimulation</summary>
 public void GetCampaignCriterionSimulationResourceNames()
 {
     // Snippet: GetCampaignCriterionSimulation(CampaignCriterionSimulationName, CallSettings)
     // Create client
     CampaignCriterionSimulationServiceClient campaignCriterionSimulationServiceClient = CampaignCriterionSimulationServiceClient.Create();
     // Initialize request argument(s)
     CampaignCriterionSimulationName resourceName = CampaignCriterionSimulationName.FromCustomerCampaignCriterionTypeModificationMethodStartDateEndDate("[CUSTOMER_ID]", "[CAMPAIGN_ID]", "[CRITERION_ID]", "[TYPE]", "[MODIFICATION_METHOD]", "[START_DATE]", "[END_DATE]");
     // Make the request
     CampaignCriterionSimulation response = campaignCriterionSimulationServiceClient.GetCampaignCriterionSimulation(resourceName);
     // End snippet
 }