Traffic native ads in AMPHTML
You can serve fixed size native AMPTHML ads. AMPHTML ads enable publishers, marketers, and technology providers to deliver faster, lighter, and more secure ad experiences across all platforms by applying the principles of AMP to building and serving ads.
- For traditional native ads, you select an AMPHTML setting in the HTML & CSS editor, as described below.
- For programmatic native ads, you don’t need to do anything. Google Ad Manager will automatically render fixed size programmatic native ads as AMPHTML ads on AMP pages.
Use the normal process to create native ads using the HTML & CSS editor, with the following exceptions:
- Navigate to the Native HTML & CSS editor.
- Choose your ad settings.
For the current version of this feature, you need to select a fixed ad size (such as 320x50).
- Style your native ad.
In the “Rendering type” dropdown, select AMPHTML or Standard & AMPHTML. Standard is the default option that doesn't produce AMPHTML ads:
- Standard: Native ads will work across desktop web, mobile web, and mobile apps. Native ads will also work on AMP content but won’t be as fast as selecting an AMPHTML option.
- AMPHTML: AMPHTML ads are specifically designed to be faster on AMP content, but they will also serve on standard content.
- Standard & AMPHTML: Add separate code to produce either version of the native ad. Google Ad Manager will serve the AMPHTML version on AMP content and the standard version on standard content.
- Enter AMPHTML and CSS in the right panel.
You’ll only be able to save the style if the AMPHTML/CSS is AMP-compliant. Here's a valid sample of AMPHTML:
<h1>[%Title%]</h1> <a href=%%CLICK_URL_UNESC%%[%destination_url%]> <amp-img src=[%image_url%] width=320 height=50></amp-img> </a>
For more tips on writing AMPHTML for ads:
- Target your native ad and click Save and Finish.
- When a query is capable of rendering an AMPHTML ad, this variant of the ad will serve.
Report on AMP native ads
You can use the "Native style name" dimension to break down your reports by AMP native styles. Learn more about native ad reporting.