AdSense ad only in landscape orientation
No-Library (pure JS), HTML, CSS, JavaScript
https://developers.google.com/
In this example, no ads will be displayed if the screen width is less than 400px.