Yes that is fine as long as you also have some relevent text. You can't have Google Ads without some sort of relevent text on the page, but if it is a blog with both kinds of ads, that is no problem.