I want to integrate the "before" ads in text

Anyone can help me integrate the "before" ad format in text?
And I want to ask how to display 3 ads banner i try but only 2 appears where is the third ad?