/// <summary> Report that the specified event was actually used (e.g. by being displayed to the user) and a reward should be expected for it. </summary>
 /// <param name="eventId"> The event ID to be activated. </param>
 /// <param name="cancellationToken"> The cancellation token to use. </param>
 public virtual Response Activate(string eventId, CancellationToken cancellationToken = default)
 {
     using var scope = _clientDiagnostics.CreateScope("PersonalizerClient.Activate");
     scope.Start();
     try
     {
         return(EventsRestClient.Activate(eventId, cancellationToken));
     }
     catch (Exception e)
     {
         scope.Failed(e);
         throw;
     }
 }
 /// <summary> Report that the specified event was actually used (e.g. by being displayed to the user) and a reward should be expected for it. </summary>
 /// <param name="eventId"> The event ID to be activated. </param>
 /// <param name="cancellationToken"> The cancellation token to use. </param>
 public virtual Response Activate(string eventId, CancellationToken cancellationToken = default)
 {
     using var scope = clientDiagnostics.CreateScope("PersonalizerClient.Activate");
     scope.Start();
     try
     {
         if (useLocalInference)
         {
             validateAndUpdateLiveModelConfig();
             return(rlNetProcessor.Value.Activate(eventId));
         }
         else
         {
             return(EventsRestClient.Activate(eventId, cancellationToken));
         }
     }
     catch (Exception e)
     {
         scope.Failed(e);
         throw;
     }
 }