To accomplish this, you’ll need to understand the following:
- How to display ads
- How to make In-App-Purchases (IAP)
- How to save settings locally to remember if a user made an IAP so you can ‘not’ show ads once the IAP is made.
There are tutorials on all of these things.
You can find them and many other resources with some basic Google Searches:
- Google: “Corona SDK blog ads”
- Google “Corona SDK blog IAP”
- Google “Corona SDK blog persistent storage”
- Google “Corona SDK blog save table”
By the way, this is not me telling you, “Google it”. Rather, I have outlined the parts you need to understand (list at top), and then shown you how to find more resources, tutorials, discussions on those parts.
Others may of course post specific links and resources, but I feel this will get you started.