It's totally up to the game developer. Developers probably get more of a constant flow of revenue from ads that the user can't turn off, compared to paying a one-time fee to make the game ad-free. All you can do is send feedback to the developer and/or give the game a poor review due to the ads.