The expiration of the period for an ad is done by going to the settings panel -> category -> modify -> Expiration days and you can limit the number of ads with the help of Osclass Pay Payment plugins see (see groups) or Osclass Item Limits