/// <summary>
    /// Run the code example.
    /// </summary>
    /// <param name="user">The Dfa user object running the code example.
    /// </param>
    public override void Run(DfaUser user) {
      // Create CreativeFieldRemoteService instance.
      CreativeFieldRemoteService service = (CreativeFieldRemoteService) user.GetService(
          DfaService.v1_19.CreativeFieldRemoteService);

      long creativeFieldId = long.Parse(_T("INSERT_CREATIVE_FIELD_ID_HERE"));
      String creativeFieldValueName = _T("INSERT_CREATIVE_FIELD_VALUE_NAME_HERE");

      // Create creative field value structure.
      CreativeFieldValue creativeFieldValue = new CreativeFieldValue();
      creativeFieldValue.id = -1;
      creativeFieldValue.name = creativeFieldValueName;
      creativeFieldValue.creativeFieldId = creativeFieldId;

      try {
        // Create creative field value.
        CreativeFieldValueSaveResult creativeFieldValueSaveResult =
            service.saveCreativeFieldValue(creativeFieldValue);

        // Display creative field value id.
        Console.WriteLine("Creative field value with id \"{0}\" was created.",
            creativeFieldValueSaveResult.id);
      } catch (Exception ex) {
        Console.WriteLine("Failed to add creative field value. Exception says \"{0}\"",
            ex.Message);
      }
    }
 public CreativeFieldValueSaveResult saveCreativeFieldValue(CreativeFieldValue creativeFieldValue) {
   object[] results = this.Invoke("saveCreativeFieldValue", new object[] {creativeFieldValue});
   return ((CreativeFieldValueSaveResult) (results[0]));
 }