Responsive DFP ads

I liked the implementation in this blog post about how to define DFP ads based on the browser window size, its an interesting read, but the part that caught my attention was titled "Showing / Hiding Ad Slots Without CSS" were ads are only defined if the window width is within a certain size during page load.

It would mean that the different advert sizes would probably need to be set up in DFP, but once set up they would only be called by the appropriate device.

Add new comment