I am a publisher of ad networks, and I wanted to make the 728x90 and 468x60 banner ads responsive since they’re cut off on mobile due to width. My first thought was to show a 300x250 in placement of the 728 and 468 banners on mobile devices only. So I created the following code:
But that didn’t display any banner ad, it left the header blank. So that code does not work, not sure what I wrote wrong as I can’t detect an issue. Now I’m thinking perhaps there is a way to make the 728x90 and 468x60 responsive, as they pay out more than the 300x250, so why lose out on those sizes?
Here are the original ad codes: