Do I pay royalties for revenue earned from ads and in-app purchases?

I’m wondering if royalties are due on revenue earned through the sale of in-app purchases and ad revenue within my mobile game, or am I paying royalties on the sale of the game only? I’m planning to monetize through these avenues and offer my game for free on the App Store.

The royalty applies to all revenue, not just initial game sale. It definitely includes in-app purchases and ad revenue.