Hi, to set ad limits, you can do it this way: in the user database, put a numeric property that says maximum posts and another that says published.
When the user signs up, you assign the maximum number of posts in the automatic fields… and when they publish one, you update the logged-in user posted + 1.
You can add functions to the publish button, for example, if the logged-in user posted is less than the maximum logged-in user, post > link to post, or update it, or whatever the app style requires.
You should also add a delete post button that updates the logged-in user posts - 1.
For example, you can also create publishing plans, for example, 2 free posts, 5 posts = 1 euro / 15 posts = 5 euros, etc. and when you purchase, you update the amount to post. You have to add a few more things, but it’s a good idea to continue monetizing!