other-emerald•21h ago
@Ella I had created apify actor and in
@ellativity I had created apify actor and in Monitization page if i set PPE pay per event or PPR pay per result will i have to write pricing logic in actor code or not ?
3 Replies
You need to define events in your code: https://docs.apify.com/platform/actors/publishing/monetize/pay-per-event
With the events you define in your code, when you set up your pricing in Apify Console you will identify the events and tell Apify how much you want to charge your user for each event.
You don't need to write the pricing logic, just define the events. Apify will handle the pricing from there.
conscious-sapphire•21h ago
This is for PPE, if I set pay per result, do I need to define events in code.
@bakkesh ks just advanced to level 4! Thanks for your contributions! 🎉