Learning AMP: Different AMP-AD Units using Media Query — AMPire.city

Originally published at https://ampire.city

What Will I Learn?

This tutorial demonstrates how to setup a responsive AMP-AD unit to show different size ads based on screen size via media query.

Requirements:

  • Google AdSense Account;
  • Basic CSS & HTML knowledge;