/// <summary>Snippet for GetCampaignExperiment</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetCampaignExperimentResourceNames()
 {
     // Create client
     CampaignExperimentServiceClient campaignExperimentServiceClient = CampaignExperimentServiceClient.Create();
     // Initialize request argument(s)
     CampaignExperimentName resourceName = CampaignExperimentName.FromCustomerCampaignExperiment("[CUSTOMER_ID]", "[CAMPAIGN_EXPERIMENT_ID]");
     // Make the request
     CampaignExperiment response = campaignExperimentServiceClient.GetCampaignExperiment(resourceName);
 }
Example #2
0
 /// <summary>Snippet for GetCampaignExperiment</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetCampaignExperiment()
 {
     // Create client
     CampaignExperimentServiceClient campaignExperimentServiceClient = CampaignExperimentServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER]/campaignExperiments/[CAMPAIGN_EXPERIMENT]";
     // Make the request
     CampaignExperiment response = campaignExperimentServiceClient.GetCampaignExperiment(resourceName);
 }
Example #3
0
 /// <summary>Snippet for GetCampaignExperiment</summary>
 public void GetCampaignExperiment()
 {
     // Snippet: GetCampaignExperiment(string, CallSettings)
     // Create client
     CampaignExperimentServiceClient campaignExperimentServiceClient = CampaignExperimentServiceClient.Create();
     // Initialize request argument(s)
     string resourceName = "customers/[CUSTOMER_ID]/campaignExperiments/[CAMPAIGN_EXPERIMENT_ID]";
     // Make the request
     CampaignExperiment response = campaignExperimentServiceClient.GetCampaignExperiment(resourceName);
     // End snippet
 }
Example #4
0
 /// <summary>Snippet for GetCampaignExperiment</summary>
 /// <remarks>
 /// This snippet has been automatically generated for illustrative purposes only.
 /// It may require modifications to work in your environment.
 /// </remarks>
 public void GetCampaignExperimentRequestObject()
 {
     // Create client
     CampaignExperimentServiceClient campaignExperimentServiceClient = CampaignExperimentServiceClient.Create();
     // Initialize request argument(s)
     GetCampaignExperimentRequest request = new GetCampaignExperimentRequest
     {
         ResourceNameAsCampaignExperimentName = CampaignExperimentName.FromCustomerCampaignExperiment("[CUSTOMER]", "[CAMPAIGN_EXPERIMENT]"),
     };
     // Make the request
     CampaignExperiment response = campaignExperimentServiceClient.GetCampaignExperiment(request);
 }