Do you build things with AMP? Fill out the AMP Developer Survey!

Validate AMPHTML syntax

To ensure your ad renders correctly, you should validate your AMPHTML syntax.

In your browser, open the AMP Validator, and ensure AMP4ADS is the selected HTML Format. Copy and paste the code from your HTML file into the validator's window:

validator screenshot

If your code is valid, you'll see Validation Status: PASS.