<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[AMPfuel - Medium]]></title>
        <description><![CDATA[Highly combustible AMP advice - Medium]]></description>
        <link>https://medium.com/ampfuel?source=rss----1d38f710bd85---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>AMPfuel - Medium</title>
            <link>https://medium.com/ampfuel?source=rss----1d38f710bd85---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 19:20:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/ampfuel" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Ads on AMP pages became safer & more user-friendly in 2018]]></title>
            <link>https://medium.com/ampfuel/ads-on-amp-pages-became-safer-more-user-friendly-in-2018-992eaad8e420?source=rss----1d38f710bd85---4</link>
            <guid isPermaLink="false">https://medium.com/p/992eaad8e420</guid>
            <category><![CDATA[amp]]></category>
            <category><![CDATA[advertising]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[accelerated-mobile-pages]]></category>
            <dc:creator><![CDATA[Vamsee Jasti]]></dc:creator>
            <pubDate>Mon, 17 Dec 2018 23:29:24 GMT</pubDate>
            <atom:updated>2019-02-02T16:22:17.828Z</atom:updated>
            <content:encoded><![CDATA[<p>In the past year, the AMP team took advantage of the latest browser features to keep users safe &amp; deliver a jank-free browsing experience. Because AMP powers billions of ads/pages on the web, these updates required no work from content creators or ad networks, making all AMP pages safer and faster for all users. Additionally we <a href="https://amphtml.wordpress.com/2018/12/06/contributing-to-webkit-for-a-more-predictable-web-platform/">directly funded</a> the implementation of the underlying security primitives in WebKit, so we’re happy to be able to extend the same security level to users of Apple’s Safari browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*CwyM554xccc5lPhY" /><figcaption>AMP Pages protect users from malicious ads</figcaption></figure><h3>Iframe Sandboxing FTW</h3><p>Iframe <a href="https://html.spec.whatwg.org/multipage/origin.html#sandboxing">sandboxing</a> allows web developers to set restrictions on iframe capabilities (e.g. the rendering of display ads). AMP now <a href="https://github.com/ampproject/amphtml/issues/14240">uses this feature</a> to sandbox all ads, eliminating attacks such as auto-redirecting which could previously be performed by ads.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*npqcyL8efvPHQtwN" /><figcaption>An illustration of auto-redirect ads</figcaption></figure><p>A combination of ‘<a href="https://html.spec.whatwg.org/#attr-iframe-sandbox-allow-top-navigation-by-user-activation">allow-top-navigation-by-user-activation</a>’ and ‘<a href="https://html.spec.whatwg.org/#attr-iframe-sandbox-allow-popups-to-escape-sandbox">allow-popups-to-escape-sandbox</a>’ attributes on the iframe gives web developers a practical way forward. It protect users on the primary site, while allowing the landing page to be functional.</p><p><strong>Sandbox Feature</strong></p><ol><li><strong>allow-top-navigation-by-user-activation:</strong> Ensures navigation from within an ad only happens on user action.</li><li><strong>allow-popups-to-escape-sandbox:</strong> Removes any sandbox restrictions on the landing page of the ad.</li></ol><p>Initially users were only protected on Chrome. So we <a href="https://amphtml.wordpress.com/2018/12/06/contributing-to-webkit-for-a-more-predictable-web-platform/">funded</a> Igalia to add these features (<a href="https://bugs.webkit.org/show_bug.cgi?id=171327">link</a>, <a href="https://trac.webkit.org/changeset/219797/webkit">link</a>) and <a href="http://frederic-wang.fr/amp-and-igalia-working-together-to-improve-the-web-platform.html">many others</a> to WebKit, Safari’s open source browser engine. All users on Safari, Chrome and other browsers that support the underlying sandbox primitives (about <a href="https://www.statista.com/statistics/263517/market-share-held-by-mobile-internet-browsers-worldwide/">75% of mobile web usage</a>) are protected from auto-redirects.</p><h3>Aggressively Deprecating Synchronous Requests</h3><p><a href="https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/Synchronous_and_Asynchronous_Requests#Synchronous_request">Synchronous requests</a> are bad for user experience because they can completely block all user interaction with a page until the network request succeeds or fails.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*57OhR4ACeTPOs6lL" /><figcaption>An illustration of a ‘sync-xhr’ side effect</figcaption></figure><p>Since display ads don’t pay for the externality (e.g. web page jank) they create, they have no incentive to write the most efficient code. Not only does this result in a bad page experience, this opens up a bad vulnerability that could help the ad creator. The most obvious way to drive up <a href="https://digiday.com/media/wtf-viewability/">viewability</a> of an ad is to fire off some heavy synchronous requests as soon as the ad gets into the viewport. This results in the ad creator earning better viewability while the page experience suffers dearly.</p><p>Thankfully, Chrome <a href="https://www.chromestatus.com/feature/5154875084111872">now allows a feature policy</a> called ‘control Synchronous XMLHttpRequest’ that allows deprecating sync XHRs on iframes.</p><p>AMP <a href="https://github.com/ampproject/amphtml/issues/13766">launched</a> this feature policy for all ads served to AMP pages. We are also experimenting with implementing this for all iframes on AMP pages.</p><h3>Scaling Impact with AMP</h3><p>Millions of content creators have published AMP pages so far and 100+ ad networks have integrated with AMP. We’ve been able to roll out these changes to hundreds of millions of users without any new work from the content creator or the ad network. All it took was a few lines of code submitted to AMP’s open source <a href="https://github.com/ampproject/amphtml">repo</a>.</p><p>One of the less obvious advantages of AMP is its ability to keep up with the latest browser features and automagically bring the entire ecosystem running on the safest &amp; most user-friendly slice of the web. For a website owner, a one time investment in AMP provides ongoing dividends.</p><p>It’s a humbling opportunity to advance the web at this scale, make it safe and deliver an excellent user experience for everyone. What are some other features that we can ship to a large part of the internet in 2019? <a href="https://github.com/ampproject/amphtml/issues/new">Let us know</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=992eaad8e420" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ampfuel/ads-on-amp-pages-became-safer-more-user-friendly-in-2018-992eaad8e420">Ads on AMP pages became safer &amp; more user-friendly in 2018</a> was originally published in <a href="https://medium.com/ampfuel">AMPfuel</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Use AMPHTML ads for ad performance, page usability & user safety]]></title>
            <link>https://medium.com/ampfuel/use-amphtml-ads-for-ad-performance-page-usability-user-safety-a36dd70b1100?source=rss----1d38f710bd85---4</link>
            <guid isPermaLink="false">https://medium.com/p/a36dd70b1100</guid>
            <category><![CDATA[accelerated-mobile-pages]]></category>
            <category><![CDATA[advertising]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[display-advertising]]></category>
            <category><![CDATA[amp]]></category>
            <dc:creator><![CDATA[Vamsee Jasti]]></dc:creator>
            <pubDate>Tue, 27 Nov 2018 17:55:38 GMT</pubDate>
            <atom:updated>2018-11-27T17:58:23.846Z</atom:updated>
            <content:encoded><![CDATA[<h3>Use AMPHTML ads for better ad performance, page usability &amp; user safety</h3><h4>This is how we’d design ads on the web if we were to start from scratch</h4><p><em>This post is part of a larger AMP monetization series that you can read about </em><a href="https://medium.com/ampfuel/are-you-leaving-revenue-on-the-table-with-amp-1209378e031b"><em>here</em></a><em>.</em></p><p>Up until now, this monetization series was about ensuring you made the most revenue from existing JavaScript(JS) based ads served to AMP pages — which have a number of challenges independent of the web page. In this post, let’s talk about how we may approach improving the display ads ecosystem.</p><p>We’ve made a lot of progress in delivering a user-first advertising experience on AMP pages, but along the way we’ve learned that the principles of AMP pages can be transferred to display ads to make a step function improvement.</p><blockquote>We set out to solve the issues of security &amp; performance using AMPHTML ads (FKA A4A/ AMP ads) and have the benefits available not only to AMP pages, but also to any environment where display ads are served — regular web pages &amp; mobile apps.</blockquote><p>AMP’s tech lead, Malte, wrote about AMPHTML ads’ humble beginnings in <a href="https://medium.com/@cramforce/but-what-about-the-ads-bfe5025b6606">this post</a> (I’ll summarize most of it below but you should also consider reading it to know where we started and how we’ve evolved over time).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/308/1*t7gbDsnAHKEU1nVkI8Vvwg.png" /></figure><p>We’ve come a long way since then, and today I’d like to talk about:</p><ul><li>What AMPHTML ads are</li><li>What AMPHTML ads aren’t</li><li>Why publishers should want AMPHTML ads</li><li>Why advertisers should want AMPHTML ads</li><li>Support status of AMPHTML across the display ads ecosystem</li></ul><h3>What AMPHTML ads are</h3><p>AMPHTML ads is a framework that gives ad developers, advertisers, ad servers and publishers, the building blocks to create and deliver ads that are performant and secure.</p><p>Similar to AMP, an AMPHTML ad is only valid if it’s made of HTML + CSS + the JS from the open source <a href="https://github.com/ampproject/amphtml">AMP Project repo</a>.</p><blockquote><strong>AMPHTML ads are a strict subset of the AMP page spec and ships with many good-by-default ads UI components, an analytics measurement framework, a spam detection system, viewability measurement and other goodies.</strong></blockquote><h3>A simple AMPHTML ad</h3><pre>&lt;!doctype html&gt;<br>&lt;html ⚡4ads&gt;<br>&lt;head&gt;<br> &lt;meta charset=”utf-8&quot;&gt;<br> &lt;title&gt;My amphtml ad&lt;/title&gt;<br> &lt;meta name=”viewport” content=”width=device-width,minimum-scale=1,initial-scale=1&quot;&gt;<br> &lt;script async src=”https://cdn.ampproject.org/amp4ads-v0.js&quot;&gt;&lt;/script&gt;<br> &lt;style amp4ads-boilerplate&gt;body{visibility:hidden}&lt;/style&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br>&lt;a target=”_blank” href=”https://www.ampproject.org&quot;&gt;<br> <strong>&lt;amp-img width=”300&quot; height=”250&quot;<br> src=”https://www.ampproject.org/static/img/docs/ads/amp-300x250.png&quot;&gt;&lt;/amp-img&gt;</strong><br> &lt;/a&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</pre><p>Notice, no arbitrary JavaScript and all the code is declarative.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pZyFsPfrybOnsSdj" /><figcaption>An AMPHTML ad on the left and a regular ad on the right</figcaption></figure><h3>What AMPHTML ads are not (at least, not yet)</h3><p>AMPHTML ads don’t ensure that the visual content of the ad is high quality.</p><h3>Why publishers should want AMPHTML ads</h3><p>When an ad is developed in AMP, the ad will have minimal performance impact to the web page and it gives back publishers control over the user experience of the page.</p><p>Ad creators vary a lot. Even a well-intentioned advertiser could create an ad that could lock up the CPU, janking the webpage and resulting in your visitors quitting your site. Then, there are a small minority of malicious advertisers set out to serve themselves ahead of your experience and your users. These issues can give knowledgable visitors another reason to install an ad blocker. One of the main reasons for this behavior lies in early design decision for legacy ads on the web allowed embedding ad iframes with arbitrary (a lot of times with terrible performance) JS.</p><p>Wouldn’t it be great if we could guarantee that the JS used within an ad is always performant and doesn’t deteriorate the page performance by too much? We expect AMP to meet that bar and since the code is all open source, anyone can review it and suggest changes to improve further. In addition, the following properties of AMP solve a number of issues of the display ads ecosystem:</p><h4>Statically analyzable</h4><p>All AMPHTML ads are statically analyzable, which means that ads can’t run:</p><ol><li>any code that isn’t part of the public AMP GitHub repo</li><li>additional JS that isn’t part of the rendered ad code</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*aIucRWmleX0VtyHIyiiXug.png" /><figcaption>El Pais saw a reduction of 90% in ad latency using AMPHTML ads driving the CTR up by 32%</figcaption></figure><h4>Trustworthy</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/254/1*BOC-aB3aWiEHlvlEt62niQ.png" /></figure><p>All of the code in the AMP repo is open source which is carefully reviewed. Therefore, it can’t have things like JS that takes advantage of a chipset level vulnerability which could steal passwords entered to your websites. If a malicious actor tried to add such code, the <a href="https://amphtml.wordpress.com/2018/09/18/governance/">AMP maintainers</a> have a process in place to ensure that such code isn’t merged into the repo.</p><h4>Rapid &amp; universal upgradeability</h4><p>If we discover a vulnerability in the AMP code or at lower level stack that’s taking advantage or stealing user information from your site, the AMPHTML ads runtime can be updated and most users will have the latest version of the secure ads runtime within a day.</p><h4>Self-aware of page performance</h4><p>Animations within an ad can have a lot of impact to page performance. AMPHTML ads automatically pause animations when they are off-screen saving precious battery &amp; CPU.</p><h4>Caching a single library</h4><p>Another performance benefit of using a single ads runtime standard is that different ad functionality can reference the runtime that is in the cache across multiple AMPHTML ads served to the same browser. As the volume of AMPHTML ads increases on the web, more users will have the ads runtime available in the browser cache. Contrast this to loading two different libraries for two separate functionalities, both of which are less likely to be available in the browser cache.</p><h4>Efficient rendering in same-orgin iframes</h4><p>For AMPHTML ads, the ads script can serve them into iframes on the same origin as the script tag which is more efficient compared to loading the ad into a cross domain iframe. This is only possible because AMPHTML can’t have custom JS and therefore reduce risk from a security perspective.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*Md8aHxwW5QP8xnqKEWkcSA.png" /><figcaption>Time Inc saw an increase of 13% higher revenue with AMPHTML ads that were 3X lighter and 6X faster.</figcaption></figure><h3>Why advertisers should want AMPHTML ads</h3><h4>Built-in ad UI components</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*rn_ef-zIaeKohTNVZVGKhw.gif" /><figcaption>&lt;amp-video&gt; component used with scroll bound AMP animations</figcaption></figure><p>AMPHTML ads ship with a number of UI components that allow ad creators to build great looking ads, with full access to the web animations API, a first-class analytics framework and viewability support. These built-in modules are developed with performance in mind, so advertisers can be assured they are using the best in class browser/app APIs to build this functionality.</p><h4>Viewability measurement without discrepancies</h4><p>Viewability is probably one of the most important metrics advertisers care about, and publishers, advertisers and ad tech, each want to verify viewability on their own resulting in each inserting their own JS to collect viewability data.</p><p>Problem is, each one of them uses their own technique to collect viewabilty. This is not only a terrible waste of CPU, it leads to viewability mismatch between the three collectors. AMPHTML ads rely on browser native APIs like <a href="https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API">Intersection Observer</a> to collect the most accurate viewability measurements and send them to anyone that requests it. Since all of this code is open source, an advertiser can inspect the collection methodology themselves if they choose to.</p><h4>Development-time validator</h4><p>A lighter / more performant ad leads to more clicks and higher viewability. This should be pretty straightforward to reason, because one can’t click or view an ad if it doesn’t render on screen fast enough. This means that an advertiser should be incentivized to build a performant ad so they get more ROI on the same spend.</p><p>However, given the typical separation between advertisers, media agencies &amp; creative agencies, the advertiser has little control over the performance of the ad created by the creative agency. AMPHTML ads ship with a development time validator which gives a boolean answer to developers as they are building an ad if it’s valid AMPHTML. If it is valid, the creator can be assured that the ad would be performant.</p><h4>Create once, deliver everywhere</h4><p>In the near future, an advertiser would be able to create a single AMPHTML ad and deliver across web pages, AMP pages &amp; mobile apps. AMPHTML ads will also natively support the <a href="https://www.iab.com/guidelines/safeframe/">SafeFrame API</a> and the <a href="https://www.iab.com/guidelines/mobile-rich-media-ad-interface-definitions-mraid/">MRAID API</a>, so advertisers can take advantage of advanced host (web or app) level functionality in a uniform way.</p><h3>Ecosystem Status</h3><p>It takes a village to make transformational changes like these, but some industry thought leaders have already spent significant amount of time &amp; resources in helping bring more AMPHTML ads to the web. You can note current status of each of these below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fd431b4786eb358c8f7058334856c6d7/href">https://medium.com/media/fd431b4786eb358c8f7058334856c6d7/href</a></iframe><h3>What’s the end goal?</h3><p>With <a href="https://amphtml.wordpress.com/2018/09/18/governance/">AMP’s new governance model</a> and industry participation, we think we can help advertisers and publishers use AMPHTML ads to deliver every single ad served on the web and mobile apps. If we accomplish this, we will be in a world where:</p><ol><li>Ads will be respectful to users’ devices and publishers’ web pages</li><li>Ads won’t impact the performance of a publisher page, earning them better revenue</li><li>Ads will earn advertisers higher ROI including better viewability</li><li>Users will be more secure on the web and therefore find fewer reasons to install ad blockers</li></ol><p>I hope you’ll join the AMP team in helping solve one of the most important and interesting challenges on the open web — advertising.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a36dd70b1100" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ampfuel/use-amphtml-ads-for-ad-performance-page-usability-user-safety-a36dd70b1100">Use AMPHTML ads for ad performance, page usability &amp; user safety</a> was originally published in <a href="https://medium.com/ampfuel">AMPfuel</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Leverage rich media ad support in AMP pages]]></title>
            <link>https://medium.com/ampfuel/leverage-rich-media-ad-support-in-amp-pages-15fa7cddadd7?source=rss----1d38f710bd85---4</link>
            <guid isPermaLink="false">https://medium.com/p/15fa7cddadd7</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[amp]]></category>
            <category><![CDATA[advertising]]></category>
            <category><![CDATA[accelerated-mobile-pages]]></category>
            <category><![CDATA[doubleclick]]></category>
            <dc:creator><![CDATA[Vamsee Jasti]]></dc:creator>
            <pubDate>Tue, 30 Oct 2018 21:47:44 GMT</pubDate>
            <atom:updated>2018-10-30T21:51:08.024Z</atom:updated>
            <content:encoded><![CDATA[<h4>Take advantage of delivering direct-sold, engaging ads to AMP pages</h4><p><em>This post is part of a larger AMP monetization series that you can read about </em><a href="https://medium.com/ampfuel/are-you-leaving-revenue-on-the-table-with-amp-1209378e031b"><em>here</em></a><em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*mMND5qdU5BEv-0KQ7pkrJg.jpeg" /><figcaption>Ads that are more engaging lead to better revenue</figcaption></figure><p>For more than 99% of the existing ads in the world, the publisher and the advertiser don’t have to do anything to get display ads working on AMP pages. <strong>Most ads ‘just work’.</strong></p><p>Less than 1% of the ads may require some work, but <strong>this isn’t work that’s AMP specific</strong>. Before I explain what I mean, it’s useful to understand the current state of rich media ads across the display ads industry.</p><p>The term rich media is confusing because it means two distinct things lumped into a single term.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B7Wo0V1dIRczvkFzBO2tSw.png" /><figcaption>Rich Media Ads can mean both engaging and/or interactive ads.</figcaption></figure><p><strong>Type 1, Expressive Ads</strong>: it’s when an ad is more expressive in its default state post rendering. For example, it’s one that has video or audio or has animations versus a simple image or text ad. Lets call this type 1 for ease of reference later. Type 1 ads are supported in AMP by default because all AMP does is render the JavaScript ads (unless you are delivering <a href="https://www.ampproject.org/learn/who-uses-amp/amp-ads/">AMPHTML ads</a>, which will be explained in a separate topic) into an iframe and execute them as is. Therefore, for example, if the ad uses a HTML5 video player or has JavaScript based GreenSock animations, they will render just fine.</p><p><strong>Type 2, Interactive Ads</strong>: it’s the ability for an ad to show a different state of the ad when the user interacts with it. For example, on interaction, an ad that expands to the full screen of the device and allows the user to play a video game within the ad itself. Let’s call this rich media type 2.</p><p>Type 2 is what we’re going to address in more detail here.</p><h3>Creative APIs in AMP</h3><p>All ad networks that serve display ads to a publisher page serve them into <a href="https://support.adform.com/documentation/good-to-know/friendly-and-non-friendly-iframes/"><em>non-friendly</em></a> cross-domain iframes. You want these to serve as unfriendly iframes so that the ad can’t do things like manipulate the content of the parent page or expand themselves beyond the iframe container. There are a crop of “innovative” ad format companies that cheat <a href="https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy">same-origin policy</a> by having publishers <a href="https://stackoverflow.com/questions/1792842/iframe-buster-files-whats-their-purpose">host a “buster” file</a> on the host domain which make the cross-domain relationship, <em>friendly</em>. This has two issues:</p><ol><li>If the ad format company is compromised, the publisher has opened themselves up to a large amount of risk, including the ability to steal credit card form information from the parent page.</li><li>The ads themselves are <a href="https://www.youtube.com/watch?v=8OygSfXVT7Q">obnoxious &amp; intrusive</a> which may result in users not wanting to return to the publisher site or worse installing an ad blocker.</li></ol><p>Needless to say, users and publishers are protected from such bad behavior on AMP pages. Since a lot of AMP pages are loaded from the AMP cache, hosting a buster file on the publisher domain doesn’t help with making the iframe friendly.</p><p>The IAB and the ad industry have a solution to this problem called <a href="https://www.iab.com/guidelines/safeframe/">SafeFrame</a> which establishes a line of communication with the parent page to bring the type 2 behavior to ads with the parent page’s permission.</p><blockquote><strong>Use the IAB’s industry standard — SafeFrame API support in AMP pages to have the ads interact seamlessly with the parent page</strong></blockquote><p>AMP pages support the SafeFrame API and as long as the ad network serving the ad also support the API, the type 2 rich media ads should have no problem rendering interactive ads on AMP pages.</p><p>Google Ad Manager (formerly DoubleClick for Publishers) supports the SafeFrame API and by default <a href="https://support.google.com/admanager/answer/6023110?hl=en">serves all ads into a SafeFrame</a>. Note that AMP pages have specific rules around causing reflow without user interaction, so be sure to read about the <a href="https://github.com/ampproject/amphtml/blob/master/extensions/amp-ad-network-doubleclick-impl/safeframe.md">Google Ad Manager’s SafeFrame API support in AMP pages</a>. In addition, AMP also supports additional methods that aren’t shipped with the standard spec. For example, a purpose built position tracking API &amp; the ability to shrink ads as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wxLf_wezNPcohq5HwNWTjw.png" /><figcaption>If ad requires interactivity, use the rich APIs depending on delivery mechanism.</figcaption></figure><p>AMP supports more than 100 ad networks and, since not all ad networks support the SafeFrame API, AMP created it’s own API called the ‘<a href="https://github.com/ampproject/amphtml/blob/master/ads/README.md#available-apis">window.context API</a>’. In addition to providing similar functionality to the SafeFrame API, it also exposes important page level information like the top level domain and more to the ad network.</p><h3>Serve direct sold ads to AMP pages</h3><p>For large publishers, direct sold ads can represent a large share of their revenue and those are also the ads which are custom hand built that fall into the rich media type 2 category. AMP wants to ensure that publishers are able to maximize revenue for ads that generate the maximum yield. Instead of opening yourself up to security vulnerabilities across the ad ecosystem, simply ask your ad creator to support the SafeFrame API and have that ad work consistently across the web.</p><h3>Summary</h3><p>Given the many players in the display ad ecosystem, it can be confusing to figure out whether a certain creative is compatible with AMP pages. In almost all cases, a JS-based ad would just work. For publishers who want to confirm, you can simply ask your ad creators/ vendor if they support the SafeFrame API; if they do, chances are the ad will work as is or with the slightest of changes.</p><p>The simplest way to check might be to render the ad in a <a href="https://ampbyexample.com/components/amp-ad/">test page</a>. If you find a case that isn’t supported, we’d be happy to work with you to incorporate support for it. <a href="https://github.com/ampproject/amphtml/issues/new">GitHub</a> is a great place to reach out to the AMP team.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15fa7cddadd7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ampfuel/leverage-rich-media-ad-support-in-amp-pages-15fa7cddadd7">Leverage rich media ad support in AMP pages</a> was originally published in <a href="https://medium.com/ampfuel">AMPfuel</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Take advantage of video ads in AMP]]></title>
            <link>https://medium.com/ampfuel/take-advantage-of-video-ads-in-amp-92cf8651268a?source=rss----1d38f710bd85---4</link>
            <guid isPermaLink="false">https://medium.com/p/92cf8651268a</guid>
            <category><![CDATA[amp]]></category>
            <category><![CDATA[accelerated-mobile-pages]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[advertising-agency]]></category>
            <dc:creator><![CDATA[Vamsee Jasti]]></dc:creator>
            <pubDate>Tue, 02 Oct 2018 15:48:34 GMT</pubDate>
            <atom:updated>2018-10-02T15:50:48.624Z</atom:updated>
            <content:encoded><![CDATA[<h4>There are a variety of extensions that help you monetize your AMP pages with video ads</h4><p><em>This post is part of a larger AMP monetization series that you can read about </em><a href="https://medium.com/ampfuel/are-you-leaving-revenue-on-the-table-with-amp-1209378e031b"><em>here</em></a><em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*gX9EzKKhmCyN-DjiSCPedg.jpeg" /></figure><p>Generally, there are two types of video monetization on the web:</p><ol><li>Instream: When the video ad is placed to appear as pre, mid or post roll amidst organic video content</li><li>Oustream: When the video ad is standalone and appears in-line (or instream) with regular web page content</li></ol><p>AMP supports both types of video monetization with the help of 3rd party extensions that are contributed to the AMP Project.</p><h3>Instream Video using AMP components</h3><p>If you are already serving video ads amidst your organic content on your non-AMP pages, you are probably using a video player that is compatible with the Interactive Media Ads (IMA) SDK. The video player handles important details like where the ad should appear and measurement using a common protocol called VAST (Video Ad Serving Template). Most popular video players already support the IMA SDK and almost all video networks support VAST responses.</p><p>Sounds complicated, right? On AMP pages, the complexity can be minimized by using the &lt;amp-ima-video&gt; extension, which gives publishers a simple interface where you can specify:</p><p>a) where you want to source your ads from using the data-tag attribute</p><p>b) where you want to source your video content from using the src attribute.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/564/1*SjpdTFwbpe4AWE7OFkuFkw.gif" /><figcaption>Chromecast pre-roll ad before organic video content using &lt;amp-ima-video&gt;</figcaption></figure><pre>&lt;<strong>amp-ima-video</strong><br>    width=640 height=360 layout=&quot;responsive&quot;<br>    data-tag=&quot;ads.xml&quot; data-poster=&quot;poster.png&quot;&gt;<br>  &lt;<strong>source</strong> src=&quot;foo.mp4&quot; type=&quot;video/mp4&quot;&gt;<br>  &lt;<strong>source</strong> src=&quot;foo.webm&quot; type=&quot;video/webm&quot;&gt;<br>  &lt;<strong>track</strong> label=&quot;English subtitles&quot; kind=&quot;subtitles&quot; srclang=&quot;en&quot; src=&quot;subtitles.vtt&quot;&gt;<br>  &lt;<strong>script</strong> type=&quot;application/json&quot;&gt;<br>  {<br>    &quot;locale&quot;: &quot;en&quot;,<br>    &quot;numRedirects&quot;: 4<br>  }<br>  &lt;/<strong>script</strong>&gt;<br>&lt;/<strong>amp-ima-video</strong>&gt;</pre><p>The purpose of the &lt;amp-ima-video&gt; player is to help publishers easily monetize their video content. The component also implements the &lt;amp-video&gt; <a href="https://github.com/ampproject/amphtml/blob/master/spec/amp-video-interface.md">interface</a>, which means most of the features developed in amp-video (e.g. ability to auto-play or docking on scroll, video <a href="https://github.com/ampproject/amphtml/issues/9902">analytics</a>) are either fully or partially available as part of &lt;amp-ima-video&gt;.</p><p>In addition to the generic IMA component, there are a number of video players that have natively integrated with AMP and implemented the &lt;amp-video&gt; interface. I’d recommend going this route if you are already using one of these players on your non-AMP pages:</p><ul><li><a href="https://www.ampproject.org/docs/reference/components/amp-3q-player">amp-3q-player</a></li><li><a href="https://www.ampproject.org/docs/reference/components/amp-brid-player">amp-brid-player</a></li><li><a href="https://www.ampproject.org/docs/reference/components/amp-dailymotion">amp-dailymotion</a></li><li><a href="https://www.ampproject.org/docs/reference/components/amp-nexxtv-player">amp-nexxtv-player</a></li><li><a href="https://www.ampproject.org/docs/reference/components/amp-ooyala-player">amp-ooyala-player</a></li><li><a href="https://www.ampproject.org/docs/reference/components/amp-video">amp-video</a></li><li><a href="https://www.ampproject.org/docs/reference/components/amp-wistia-player">amp-wistia-player</a></li><li><a href="https://www.ampproject.org/docs/reference/components/amp-youtube">amp-youtube</a></li><li><a href="https://www.ampproject.org/docs/reference/components/amp-mowplayer">amp-mowplayer</a></li></ul><p>And finally, there is also support from <a href="https://www.brightcove.com/en/">Brightcove</a> using the &lt;amp-brightcove&gt; component.</p><h3>Instream Video using &lt;amp-iframe&gt; or &lt;amp-video-iframe&gt;</h3><p>It isn’t recommended to use &lt;amp-iframe&gt; or &lt;amp-video-iframe&gt; (which is still experimental) for advertising purposes for the following reasons:</p><ol><li>They are unable to collect all the proper analytics from inside the iframe</li><li>The iframes are sandboxed by default and therefore even if the video appears to play, the click through to landing page might not work</li></ol><p>Other reasons and more details are available <a href="https://www.ampproject.org/docs/reference/components/amp-video-iframe#usage-of-amp-video-iframe-for-advertising">here</a> and <a href="https://www.ampproject.org/docs/reference/components/amp-iframe#usage-of-amp-iframe-for-advertising">here</a>. The right approach is to have the publisher submit an AMP extension and implement the &lt;amp-video&gt; interface.</p><h3>Outstream Video using AMP components</h3><p>From a placement standpoint, there is no difference between a video and a display ad “slot.” Therefore, the primary way to deliver Outstream video is to serve them using the &lt;amp-ad&gt; component. Most ad networks that allow you to serve both display and video ads make the video serving capability a server side configuration. I know this is the case for the <a href="https://support.google.com/admanager/answer/7647779">Google Ad Manager</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F193523156%3Fapp_id%3D122963&amp;dntp=1&amp;url=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F193523156%3Fcolor%3D7cbce7%26byline%3D0%26portrait%3D0&amp;image=http%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F605233087_1280.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=vimeo" width="1920" height="1080" frameborder="0" scrolling="no"><a href="https://medium.com/media/0f0d015a1243b7fae8715f3557618582/href">https://medium.com/media/0f0d015a1243b7fae8715f3557618582/href</a></iframe><p>Popular Outstream video ads provider <a href="https://github.com/ampproject/amphtml/blob/master/ads/teads.md">Teads</a> also has a native &lt;amp-ad&gt; integration, and publishers are seeing some <a href="https://teads.tv/press-room/teads-brings-ampd-mobile-video-inventory-premium-publishers/">great results</a> with it:</p><blockquote>Along with these publishers, we’ve been delighted to see that video ads perform significantly better on AMP’d pages than on the traditional mobile web. <strong>Completion rates are 15% higher, clickthrough rates have jumped by 200%, and our ads appear 18% more frequently.</strong> This tells us that faster performance and relevant, respectful ads don’t just prevent abandonment and ad blocking — they also increase engagement.</blockquote><h3>Too many options? Simplify.</h3><p>Video monetization is no joke and we’ve barely scratched the surface. Here is one simple path to follow: if you produce original video content, use one of the instream solutions. If you already work with a video player or video ad network, use a similar setup on AMP pages. Chances are they are already supported. If not, request them to integrate with AMP. If you don’t work with a video player on your non-AMP pages or are video player agnostic, use the &lt;amp-ima-video&gt; player.</p><p>On the other hand if you don’t produce original video content and want to take advantage of the video advertising trend, work with one of the ad networks to serve to existing display ad slots. You can also work with vendors like Teads to directly add &lt;amp-ad&gt; support on your pages.</p><p>Does this satisfy your video advertising needs? What can we do better with video advertising in AMP? <a href="https://github.com/ampproject/amphtml/issues/new">Let us know</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92cf8651268a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ampfuel/take-advantage-of-video-ads-in-amp-92cf8651268a">Take advantage of video ads in AMP</a> was originally published in <a href="https://medium.com/ampfuel">AMPfuel</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Better than Header Bidding -> AMP RTC]]></title>
            <link>https://medium.com/ampfuel/better-than-header-bidding-amp-rtc-fc54e80f3999?source=rss----1d38f710bd85---4</link>
            <guid isPermaLink="false">https://medium.com/p/fc54e80f3999</guid>
            <category><![CDATA[ads]]></category>
            <category><![CDATA[programmatic]]></category>
            <category><![CDATA[amp]]></category>
            <category><![CDATA[publishers]]></category>
            <dc:creator><![CDATA[Vamsee Jasti]]></dc:creator>
            <pubDate>Tue, 25 Sep 2018 16:57:37 GMT</pubDate>
            <atom:updated>2018-09-27T04:01:32.254Z</atom:updated>
            <content:encoded><![CDATA[<h4>It’s more performant, easy to configure and supports many other use cases</h4><p><em>This post is part of a larger AMP monetization series that you can read about </em><a href="https://medium.com/ampfuel/are-you-leaving-revenue-on-the-table-with-amp-1209378e031b"><em>here</em></a><em>.</em></p><h3>Header Bidding &amp; Challenges on non-AMP</h3><p>If you don’t know what header bidding is, <a href="https://digiday.com/media/wtf-header-bidding/">this</a> is a fine place to start.</p><p>For most publishers, header bidding sounds good to do in theory, but, given the business dynamics of a very <a href="https://cdn.chiefmartec.com/wp-content/uploads/2018/04/marketing_technology_landscape_2018_slide.jpg">complicated ecosystem</a>, things that ought to happen on the server side ended up happening on the client side. On non-AMP pages, it’s common to see header bidding JS tags block the ad request for 2–5 seconds before the ad request is even made to the ad server. This is bad because it’s blocking the web page from rendering page content. On some sites, this problem is exacerbated when there are multiple header bidders causing these tags to sequentially execute, leaving the page unresponsive for an unreasonable amount of time.</p><p>Due to complicated operational setup, poor measurement and accountability, the negative impact on user experience and revenue caused because of the additional latency &amp; device stress is often not tallied with the lift received by plugging in the additional competition.</p><p>If you step back &amp; look at it, what’s happening is pretty straightforward. The publisher page wants to communicate some additional information to the ad server. Such a requirement extends beyond header bidding to other important use cases like audience targeting and measurement. (Examples below). Which is why the AMP team developed a generic framework to solve this using Real Time Config (RTC).</p><h3>What is Real Time Config?</h3><p>Since AMP strives towards a user-first web, while helping publishers maximize revenue, it allows competition between vendors but also ensures vendor timeouts in a way that vendors respond back as quickly as possible.</p><p>RTC allows 5 parallel callouts to end points configured by the publisher. AMP waits for a maximum of 1 second (which can be further tightened by the publisher) before<strong> it merges the responses from the callouts and makes the ad request to the publisher defined ad server</strong>, so the right ad can be selected in the ad server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dv7j8bPU2qNwZCTquujl9Q.png" /><figcaption>AMP RTC configured with 5 endpoints</figcaption></figure><p>RTC also makes it easy for publishers by allowing vendors to integrate with the RTC framework instead of publishers having to manually configure each of the URLs and necessary meta data that ought to be passed to the vendor.</p><h3>Vendors support with RTC</h3><p>At the moment, the following <a href="https://github.com/ampproject/amphtml/blob/master/extensions/amp-a4a/0.1/callout-vendors.js">vendors</a> have directly integrated with the framework:</p><ul><li>Media.Net</li><li>AppNexus (using Prebid)</li><li>Rubicon (using Prebid)</li><li>Index Exchange</li><li>Lotame</li><li>YieldBot</li><li>SalesForce DMP (Data Management Platform)</li><li>Purch</li><li>Amazon</li><li>PubMatic</li><li>Criteo</li></ul><p>Publishers can select the vendors they want to work with using a a few lines of code.</p><pre>&lt;amp-ad width=&quot;320&quot; height=&quot;50&quot;<br>        type=&quot;network-foo&quot;<br>        data-slot=&quot;/1234/5678&quot;<br>        rtc-config=&#39;{<br>            &quot;vendors&quot;: {<br>              &quot;indexexchange&quot;: {&quot;SITE_ID&quot;: &quot;14572&quot;}<br>              },<br>            &quot;urls&quot;: [<br>              &quot;<a href="https://www.amppublisher.biz/targetingA">https://www.AmpPublisher.biz/targetingA</a>&quot;<br>            ],<br>            &quot;timeoutMillis&quot;: 750}&#39;&gt;<br>&lt;/amp-ad&gt;</pre><p>AMP also makes a number of system-based macros available (e.g. canonical site name) that can be passed to the vendors.</p><p>When <a href="http://metro.co.uk/">Metro.co.uk</a> implemented RTC with AppNexus Prebid, they saw a <a href="https://amphtml.wordpress.com/2018/02/14/ads-and-amp/">6X increase in revenue</a> from their AMP pages compared to their AMP pages implemented using Remote.html (a deprecated mechanism to run custom JS in AMP) with AppNexus Prebid.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/674/1*4swBI7Ae1XgozR3-P46jmQ.png" /></figure><h3>Other use cases for RTC</h3><p>In addition, the publishers can call out to custom end points by pointing to custom URLs using the urlsattribute. Here are a few examples:</p><ol><li>Targeting ads to a user based on the context of the article. For example, if the article is about cars, a publisher could pass that contextual information down to the auction to get car advertisers to bid for the ad slot.</li><li>Ability to call out to a 3rd party service that returns the weather based on the user’s geo-location that can be passed to the auction, so an ad that matches the weather outside could be shown.</li></ol><h3>Using RTC with &lt;amp-consent&gt;</h3><p>By default, when &lt;amp-consent&gt; is implemented on an AMP page to gather user consent, RTC callouts will be blocked without a positive consent state. For publishers, there are ways to enable callouts based on consent status that you can read about <a href="https://github.com/ampproject/amphtml/blob/master/extensions/amp-a4a/rtc-documentation.md#amp-consent-integration">here</a>.</p><h3>Giving RTC a spin</h3><p>Maybe there’ll be a day when there’ll be no reason to block on the client side for such information. Until that day, RTC provides a framework within AMP to help vendors integrate with a publisher page in a performant way. At the same time, also providing flexibility to enhance ad requests that helps publishers make better revenue.</p><p>If you are a vendor, you can find more information <a href="https://github.com/ampproject/amphtml/blob/master/extensions/amp-a4a/rtc-documentation.md">here</a> to integrate with RTC and if you are a publisher, please head over to <a href="https://github.com/ampproject/amphtml/blob/master/extensions/amp-a4a/rtc-publisher-implementation-guide.md">this link</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc54e80f3999" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ampfuel/better-than-header-bidding-amp-rtc-fc54e80f3999">Better than Header Bidding -&gt; AMP RTC</a> was originally published in <a href="https://medium.com/ampfuel">AMPfuel</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Increase ad competition with multi-size & fluid ads in AMP]]></title>
            <link>https://medium.com/ampfuel/increase-ad-competition-with-multi-size-fluid-ads-in-amp-9cff90066c16?source=rss----1d38f710bd85---4</link>
            <guid isPermaLink="false">https://medium.com/p/9cff90066c16</guid>
            <category><![CDATA[advertising]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[amp]]></category>
            <category><![CDATA[publishers]]></category>
            <dc:creator><![CDATA[Vamsee Jasti]]></dc:creator>
            <pubDate>Wed, 19 Sep 2018 17:46:57 GMT</pubDate>
            <atom:updated>2018-09-24T22:03:02.650Z</atom:updated>
            <content:encoded><![CDATA[<h4>AMP’s smart ad size policies ensure great UX</h4><p><em>This post is part of a larger AMP monetization series that you can read about </em><a href="https://medium.com/ampfuel/are-you-leaving-revenue-on-the-table-with-amp-1209378e031b"><em>here</em></a><em>.</em></p><p>I wish we could go back to the early days of the web and establish a policy that didn’t allow 3rd party content to resize elements on the host page. Such a policy would have created enough incentive for publishers to define a fixed size ad placeholder before making the ad request. In such a scenario, even if the ad retuned later vs content, as it regularly does, the page wouldn’t reflow in a way that would cause the user to have to readjust to the new layout.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T_W_Yej-XG26z8-ol_b49A.jpeg" /><figcaption>Static layout policy ensures a visually better reading experience</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ti2Q0797i4wCUWtwkMOxJw.png" /><figcaption>The same ad slot can fill different ad sizes causing content reflow</figcaption></figure><p>Sadly, that’s not the world we live in. Since more ad competition per ad slot leads to better ad revenue for the publisher. It’s common to see a publisher requesting a range of sizes to fill an ad slot. No matter which ad comes back, content reflow is guaranteed.</p><p>In AMP, we took a user first approach to always reserve the space for an ad before an ad request is made.</p><p>Does that mean that AMP can’t support multi-size ads or fluid ads? No! AMP supports both multi-size &amp; fluid (size-less, responsive) ads. Anecdotally, publishers make-up close to 90% of the revenue from the way AMP implements this support and some even 100% if they are okay with a lot of whitespace around the ad.</p><p>For those ad networks in AMP that support it (DoubleClick &amp; YieldMo), you can use an attribute called data-multi-size to specify additional eligible sizes, increasing ad competition.</p><pre>&lt;amp-ad width=300 height=250<br>    type=&quot;doubleclick&quot;<br>    data-slot=&quot;/4119129/mobile_ad_banner&quot;<br>    <strong>data-multi-size=&quot;300x200&quot;</strong>&gt;<br>&lt;/amp-ad&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/390/1*T_7N3kjwRAFuKl6_Wfr3eg.png" /></figure><p>AMP will reserve the primary size defined in width and height but will also include the sizes from data-multi-sizeon the ad request. By default, only secondary sizes that are 2/3rds the size of the primary ad size are included in the ad request (you’ll see why below) but this can be overridden by using the attribute data-multi-size-validation=&#39;false`to include all secondary ad sizes.</p><p>Depending on the location of the ad relative to the viewport and the ad size returned, AMP can render the ad in a few different ways. If the ad size returned is the same as the primary request ad size, the runtime simply renders.</p><p><strong>If the ad renders below the viewport </strong>and if the final ad size is different vs the primary ad size, then the runtime will automatically resize the ad below the viewport because that wouldn’t cause any visual reflow to the user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/1*Mtfe9_i3Zu9GeuK9480Tiw.png" /><figcaption>A large primary ad slot automatically resizes itself when below the fold accommodating multiple sizes dynamically</figcaption></figure><p><strong>If the ad renders in the current viewport</strong> and the final ad size is different vs the primary ad size, then the runtime will center the ad and place it in the middle of the reserved ad space. AMP added the ‘secondary size must be at least 2/3rds the primary size’ policy to ensure there wasn’t too much whitespace. We’ve seen some publisher override this size restrictions and have more sizes competing by placing the ad well below the first viewport and therefore ensuring that the ad would have resized by the time user got to it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/534/1*sprHbrc6EiHiuf-DlV_l_g.png" /><figcaption>Ad is centered with some whitespace. A tradeoff that doesn’t impact reading experience.</figcaption></figure><p>You can find more implementation details for multi-size ads <a href="https://github.com/ampproject/amphtml/blob/master/extensions/amp-ad-network-doubleclick-impl/multi-size.md">here</a>.</p><h4>“Fluid ” ads</h4><p>“Fluid” means that a primary ad size isn’t required at request time. The returned responsive ad will take up the entire width of the viewport and adjust it’s height according to the desired aspect ratio. To accommodate this, AMP won’t reserve a primary ad slot and will only render the ad if it isn’t in the current viewport (see how to get around this in the next section). Therefore, it’s recommended to avoid placing fluid ads in the first viewport.</p><pre>&lt;amp-ad<br>    type=&quot;doubleclick&quot;<br>    data-slot=&quot;/6355419/Travel&quot;<br>    layout=&quot;fluid&quot;<br>    height=&quot;fluid&quot;&gt;<br>&lt;/amp-ad&gt;</pre><p>You can find more implementation details for fluid <a href="https://github.com/ampproject/amphtml/blob/master/extensions/amp-ad-network-doubleclick-impl/fluid.md">here</a>.</p><h4>Using fluid as part of multi-size ads</h4><p>Fluid ads are compatible with multi-size ads as long as the fluid size is the primary size. This works okay but has the same issue as standalone fluid ads — that is, the fluid ad won’t render if the ad is in the current viewport. To get around this, we are adding a feature to support fluid ads as secondary size. You can follow the approach and progress of the feature <a href="https://github.com/ampproject/amphtml/issues/17764">here</a>.</p><h4>Summary</h4><p>The most successful AMP publishers I’ve seen have been able to transfer their existing non-AMP ad map to AMP pages and then tweaking where necessary to accomodate AMP’s static layout policies. Note, none of these features have to be AMP-specific. You can probably take these design principles and apply them to your own site. Your users will likely notice and appreciate an improved reading experience.</p><p>As always, look forward to your feedback or thoughts on this!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9cff90066c16" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ampfuel/increase-ad-competition-with-multi-size-fluid-ads-in-amp-9cff90066c16">Increase ad competition with multi-size &amp; fluid ads in AMP</a> was originally published in <a href="https://medium.com/ampfuel">AMPfuel</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Optimize your AMP pages for high ad viewability rate or high ads served]]></title>
            <link>https://medium.com/ampfuel/optimize-your-amp-pages-for-high-ad-viewability-rate-or-high-ads-served-311f6b539c73?source=rss----1d38f710bd85---4</link>
            <guid isPermaLink="false">https://medium.com/p/311f6b539c73</guid>
            <category><![CDATA[amp]]></category>
            <category><![CDATA[adtech]]></category>
            <category><![CDATA[publishers]]></category>
            <category><![CDATA[advertising]]></category>
            <dc:creator><![CDATA[Vamsee Jasti]]></dc:creator>
            <pubDate>Tue, 11 Sep 2018 15:53:45 GMT</pubDate>
            <atom:updated>2019-01-04T18:07:33.415Z</atom:updated>
            <content:encoded><![CDATA[<h4>Configure ad ‘Data Loading Strategy’</h4><p><em>This post is part of a larger AMP monetization series that you can read about </em><a href="https://medium.com/ampfuel/are-you-leaving-revenue-on-the-table-with-amp-1209378e031b"><em>here</em></a><em>.</em></p><p>I’m endlessly fascinated that an advertiser would pay for an ad impression that a user never saw. Yet, that’s how most default ad contracts are written. Many brands are <a href="https://www.adweek.com/digital/brands-with-their-own-viewability-standards-are-causing-headaches-for-the-ad-tech-industry/">changing</a> how they negotiate contracts or <a href="https://www.campaignlive.co.uk/article/group-m-rolls-viewability-standards-globally/1442325">redefining</a> what they’d consider viewable. Plus the terminology itself can be <a href="https://github.com/ampproject/docs/issues/667">confusing</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3qpeXNQLpxfIBK8yMiFALQ.jpeg" /><figcaption>Balancing page viewability rate with ad served</figcaption></figure><p>Viewability rate (also known as viewability %) is defined as (number of ads viewed / total number of ads served) X 100. Depending on the advertisers it works with, a publisher uniquely configures its site for higher viewability rate or for increasing the number of ads served since they are inversely correlated.</p><p><strong>In AMP, tweaking your pages to drive higher ad viewability rate or views is easy for publishers using the ‘data-loading-strategy’ attribute on the `amp-ad` component.</strong></p><h3>Data Loading Strategy on amp-ad</h3><p>The `data-loading-strategy` attribute takes a float value between [0,3]. The value represents the number of viewports between the user and the ad on the page. The smaller the number, the longer the runtime will wait for the ads to render and vice versa. If you are a publisher that wants to increase viewability rate, then you’d keep this value to be as small as possible and if you set this to a larger value (e.g. 3), you are instructing the runtime to start rendering the ad as long as it’s within 3 viewports of the user’s location on the page. Note that the data-loading-strategy dictates when the ad renders and it’s not about when the ad request is made. In almost all cases, the ad request is made very early in the page lifecycle.</p><pre>&lt;amp-ad width=&quot;300&quot;<br>  height=&quot;250&quot;<br>  type=&quot;a9&quot;<br>  data-loading-strategy=1<br>  data-aax_size=&quot;300x250&quot;<br>  data-aax_pubname=&quot;test123&quot;<br>  data-aax_src=&quot;302&quot;&gt;<br>&lt;/amp-ad&gt;</pre><p>If `data-loading-strategy` attribute isn’t included, the runtime assumes a value of 3 by default. If `data-loading-strategy` attribute is included but a value isn’t provided, then the runtime sets the float value to a default value of 1.25 which is the tried and tested value to get a high viewability rate without drastically impacting the total ads served. The attribute also accepts ‘prefer-viewability-over-views’ as a value, which at the moment is 1.25 but may be fine tuned in the future if further testing reveals the need for a different number.</p><pre>data-loading-strategy=&quot;prefer-viewability-over-views&quot;</pre><h3>Effect of Render on Idle</h3><p>Last year, the DoubleClick Fast Fetch extension introduced a mechanism called ‘<a href="https://www.ampproject.org/latest/blog/faster-ads-with-render-on-idle/">Render on Idle</a>’ where the runtime would start to request ads that were very far below the viewport if the runtime detected that it was done loading all other components on the page and was idle. As a result, this would lead to a drop in viewability rate but would increase the number of ads served improving the chances of an loading in time for the user to view it. Therefore, note that if you configure ‘data-load-strategy’, then render on idle would be disabled on the page.</p><p><strong>As the industry makes its shift towards compensating for viewability vs views, publishers can easily configure and test different strategies for ad loading by changing a</strong><a href="https://www.ampproject.org/docs/reference/components/amp-ad#data-loading-strategy-(optional)"><strong> single line of code</strong></a><strong> on AMP pages</strong>.</p><p>Publishers can even consider configuration at the CMS level for additional flexibility.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=311f6b539c73" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ampfuel/optimize-your-amp-pages-for-high-ad-viewability-rate-or-high-ads-served-311f6b539c73">Optimize your AMP pages for high ad viewability rate or high ads served</a> was originally published in <a href="https://medium.com/ampfuel">AMPfuel</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ensure Ad Density is equal on AMP & non-AMP pages]]></title>
            <link>https://medium.com/ampfuel/ensure-ad-density-is-equal-on-amp-non-amp-pages-4e457d603d76?source=rss----1d38f710bd85---4</link>
            <guid isPermaLink="false">https://medium.com/p/4e457d603d76</guid>
            <category><![CDATA[accelerated-mobile-pages]]></category>
            <category><![CDATA[amp]]></category>
            <category><![CDATA[ads]]></category>
            <category><![CDATA[advertising]]></category>
            <dc:creator><![CDATA[Vamsee Jasti]]></dc:creator>
            <pubDate>Tue, 04 Sep 2018 21:44:32 GMT</pubDate>
            <atom:updated>2018-11-19T22:24:32.455Z</atom:updated>
            <content:encoded><![CDATA[<h4>Avoid common pitfalls to ensure total area of ads is the same</h4><p><em>This post is part of a larger AMP monetization series that you can read about </em><a href="https://medium.com/ampfuel/are-you-leaving-revenue-on-the-table-with-amp-1209378e031b"><em>here</em></a><em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SKbJl4BFnq7YwNmmyw5fOw.jpeg" /><figcaption>Ad density doesn’t have to be as high as it is at Times Square</figcaption></figure><p>This is an easy optimization, but is important because it’s one of the most common mistakes and is easy to remedy.</p><p>A reasonable ad density strategy is to follow the<a href="https://www.betterads.org/mobile-ad-density-higher-than-30/"> guidance</a> from the <a href="https://www.betterads.org/mobile-ad-density-higher-than-30/">Coalition of Better Ads</a>. It says that the total height of the ads on the page / total height of the content on the page should be &lt; 30%. This is of course the worst case scenario and often publishers have percentages lower than this.</p><p>During my publisher interviews, three common misconceptions came up when inquiring why some didn’t have the same ad density on both AMP and non-AMP pages:</p><ol><li>“I didn’t realize I needed to manage ad density”</li></ol><p>When probing further, the AMP model was being confused with<a href="https://developers.facebook.com/docs/instant-articles/monetization/ad-placement/"> Facebook Instant Articles’ approach</a> to ad density where there is an automated ad insertion offering. AMP doesn’t directly offer publishers a way to automatically manage ad density but it makes APIs available that allow auto-ad insertion to the 100+ ad networks natively integrated in AMP. Individual ad networks can choose to take advantage of those APIs, similar to how<a href="https://support.google.com/adsense/answer/9011462?hl=en"> AdSense</a> does. For most ad networks, including <a href="https://admanager.google.com/home/">Google Ad Manager</a>, such auto placement is not available and publishers must manage ad density themselves.</p><p>2. “I thought there were restrictions on the number of ads I could place”</p><p>Turns out, they were mixing AMP up with FIA’s approach, where they have a<a href="https://developers.facebook.com/docs/instant-articles/monetization/ad-placement/#manual-placement"> policy</a> to replace manually placed ads if the ad density is greater than 20%. AMP has no such restrictions. AMP delegates the responsibility to the publisher and the individual ad network they choose in order to eliminate any AMP-specific idiosyncrasies related to ad density management.</p><p>3. “We didn’t optimize our AMP pages after the initial AMP launch 3 years ago”</p><p>A lot can change over 3 years and some publishers had undergone architectural changes but their engineering teams may have forgotten to include AMP pages in the re-architecture. It’s important to keep both sets of pages at parity not only to earn the same revenue from your AMP pages but also helps you understand <em>how </em>your AMP pages are performing.</p><p>A specific area to call out is to ensure parity on recirculation promotions that allow users to consume related content. Not having these on your AMP pages may have a negative impact on your bottom line because anecdotally these lead to 1.2 or 1.3 times session lengths. AMP supports various <a href="https://www.ampproject.org/docs/reference/components/amp-ad#supported-ad-networks">3rd party recirculation</a> providers too.</p><p>In summary, regardless of what strategy you use on your non-AMP pages, ensure you translate that strategy over to your AMP pages. There are no restrictions in AMP that would make a publisher have fewer ads on AMP pages than on non-AMP Pages.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e457d603d76" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ampfuel/ensure-ad-density-is-equal-on-amp-non-amp-pages-4e457d603d76">Ensure Ad Density is equal on AMP &amp; non-AMP pages</a> was originally published in <a href="https://medium.com/ampfuel">AMPfuel</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Are you making the most revenue from your AMP pages?]]></title>
            <link>https://medium.com/ampfuel/are-you-leaving-revenue-on-the-table-with-amp-1209378e031b?source=rss----1d38f710bd85---4</link>
            <guid isPermaLink="false">https://medium.com/p/1209378e031b</guid>
            <category><![CDATA[advertising]]></category>
            <category><![CDATA[publishers]]></category>
            <category><![CDATA[amp]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Vamsee Jasti]]></dc:creator>
            <pubDate>Tue, 28 Aug 2018 13:20:55 GMT</pubDate>
            <atom:updated>2018-11-27T17:59:16.879Z</atom:updated>
            <content:encoded><![CDATA[<h4>I’m a product manager working on AMP and we strive to make advertising better on the web while helping publishers thrive. I’m writing this to give you some background on design choices we made for advertising in AMP and then follow up every week with specific optimization recommendations to help you take maximum advantage of AMP pages.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mmbNMmgCSi8JxwSbKuywcQ.jpeg" /><figcaption>Make the most of your AMP page revenue by optimizing them</figcaption></figure><p>If you are here for specific optimization advice, head over to one of the links below:</p><ol><li><a href="https://medium.com/ampfuel/ensure-ad-density-is-equal-on-amp-non-amp-pages-4e457d603d76">Ensure Ad Density is equal on AMP &amp; non-AMP pages</a></li><li><a href="https://medium.com/ampfuel/optimize-your-amp-pages-for-high-ad-viewability-rate-or-high-ads-served-311f6b539c73">Optimize your AMP pages for high ad viewability or views</a></li><li><a href="https://medium.com/ampfuel/increase-ad-competition-with-multi-size-fluid-ads-in-amp-9cff90066c16">Take advantage of more ad competition with multi-size ads &amp; fluid</a></li><li><a href="https://medium.com/ampfuel/better-than-header-bidding-amp-rtc-fc54e80f3999">Better than header bidding → AMP RTC</a></li><li><a href="https://medium.com/ampfuel/take-advantage-of-video-ads-in-amp-92cf8651268a">Take advantage of video ads in AMP</a></li><li><a href="https://medium.com/ampfuel/leverage-rich-media-ad-support-in-amp-pages-15fa7cddadd7">Leverage rich media ad support in AMP</a></li><li><a href="https://medium.com/ampfuel/use-amphtml-ads-for-ad-performance-page-usability-user-safety-a36dd70b1100">Use AMPHTML ads for better ad performance, page usability &amp; user safety</a></li></ol><p><strong><em>Bottom line first: If you are publishing AMP pages, please at least make sure they are monetizing well. It’s possible, if one invests in them.</em></strong></p><p>When AMP launched, it was important for us to help publishers make revenue from your AMP pages just the way you did from your non-AMP because ads are still a big source of revenue for many publishers. After numerous interviews with publishers, I’ve seen some not take full advantage of their AMP pages and therefore leaving a lot of revenue on the table.</p><h3>Issue</h3><p>We worked with a number of publishers to get feedback around AMP monetization and used to hear that there were many ad features that needed support in AMP but that feedback volume has decreased after we launched a number of features over the last year. There is always more work to be done but since AMP’s launch, we’ve launched a number of features and closed almost all gaps now.</p><p>There are publishers out there who have not only reached revenue parity but <a href="https://www.ampproject.org/id/latest/blog/ads-and-amp/">exceeded revenue</a> from their AMP pages compared to their non-AMP. For some publishers who receive close to 50% of their traffic to their AMP pages, this can be a million plus dollars per year!</p><h3>Solution</h3><p>If you are a publisher who is in the business of developing an audience (visitors who choose to come to your site often) and not traffic (visitors who visit based on one-off click baits or by purchasing traffic on platforms) you probably already consciously balance a tradeoff. The tradeoff between the user experience of the site to the revenue you generate from ads. To take an extreme example: one could easily show 3 successive pop-up ads before the article which would generate a lot of revenue but it would also either lead users to immediately leave the site or negatively associate the publisher brand in a way the visitor thinks twice before going to the site.</p><h4>Principles behind advertising in AMP</h4><p>When it comes to this tradeoff, with AMP, we took a balanced stance to prioritize user experience over anything else but re-imagined how ads could still earn very good revenue with features that are hard to implement on non-AMP pages for legacy reasons.</p><p>Here are a few of them:</p><ol><li><strong>Get ads out of the critical path of rendering the page</strong></li></ol><p>Unlike regular pages, AMP pages make the ad requests on the page as early as possible in the lifecycle of the ad. This allows us to parallelize rendering the page, while also letting the ad server run its auction to pick the best ad. Chances are, by the time the ad comes back, the page has already finished loading and therefore the ad can also immediately render which leads to ads having better viewability and click through rate. We’ve gathered data that shows that AMP performs really well on these measures. A win-win for both publishers and advertisers by simply orchestrating the ad request sequence. We call this “Fast Fetch” and you can read all about the improvements <a href="https://www.ampproject.org/latest/blog/even-faster-loading-ads-in-amp/">here</a>. Following this change we have had great results with users seeing a lot fewer blank rectangles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*Buh97NtPAD42w561gXpGsw.jpeg" /><figcaption>Fast Fetch vs Delayed Delayed Fetch Ad Requests</figcaption></figure><p>Contrast this to delayed fetch, where the ad request isn’t made until the browser encounters the ad tags, therefore delaying making the ad request and subsequent rendering.</p><p><strong>2. Don’t allow user visible reflow but support multi-size ads</strong></p><p>How often do you visit a site and start reading content and out of nowhere, an ad appears and pushes the content down, causing your thumb to do a micro-dance so you can continue reading as it loads? We think this experience is clearly bad for the user which is why AMP made an early tradeoff to ensure that doesn’t happen. Therefore, every ad must have a predetermined primary size, so AMP can reserve the space for the ad but continue to render content all around without ever reflowing content.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*3g3nHyP93FjHUTKdDyUelg.jpeg" /><figcaption>AMP reserves a primary ad size so there is never user visible reflow</figcaption></figure><p>But we know that multi-size ads lead to better monetization since it makes the ad auction demand pool larger. AMP introduced a way for publishers to define a primary size and also pass along secondary sizes which allowed resizing the ad to the returned size as long as the ad was below the viewport or was smaller than the primary size, if in the current viewport. Publisher feedback has shown that this was a healthy tradeoff giving publishers &gt; 90% chance of serving the ad size that earns them the most revenue. I’ll go into more detail in a future post, but here is the launch <a href="https://amphtml.wordpress.com/2016/09/30/multi-size-ad-request-support-in-amp/">blog post</a>.</p><p><strong>3. Prefer ad formats that users can easily dismiss or scroll past</strong></p><p>Let’s admit it. A majority of users visit your site for content, not ads. So some design choices were made in AMP to never show an ad that would “cover” content. Which means no pop-ups (interstitials) that cover content. Interestingly, the <a href="https://www.betterads.org/mobile-pop-up-ad/">industry</a> as a whole is rejecting such ad formats. Instead we supported all ads within fixed layouts, including all Rich Media Ads.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZDVVgnN4CwzzWjcwjJ87ww.jpeg" /><figcaption>AMP prefers ads that can be easily dismissed by users</figcaption></figure><p>In addition, AMP launched some native ad formats like <a href="https://ampbyexample.com/components/amp-sticky-ad/">sticky ads</a> and <a href="https://ampbyexample.com/components/amp-fx-flying-carpet/">flying carpet ads</a>. We plan to support <a href="https://github.com/ampproject/amphtml/issues/15216">even</a><a href="https://github.com/ampproject/amphtml/issues/14873"> more</a> richer formats that publishers tell us they’re interested in while ensuring a great user experience. With any ad format, users should be able to tap the dedicated close button on the ad or could simply scrolling away.</p><h4>OK, show me the money?</h4><p>Don’t get me wrong, nothing is as easy as flipping a switch. You constantly optimize, try new things out, experiment and settle with an ad setup that gives you the most revenue while adhering to good UX principles.</p><p>But the good news is that such optimizations are fairly straight forward in AMP. Plus, you only need to do a handful of things to ensure that your AMP pages generate maximum revenue.</p><p>Over the next few weeks, I’ll dive into each of these topics:</p><ol><li><a href="https://medium.com/ampfuel/ensure-ad-density-is-equal-on-amp-non-amp-pages-4e457d603d76">Ensure Ad Density is equal on AMP &amp; non-AMP pages</a></li><li><a href="https://medium.com/ampfuel/optimize-your-amp-pages-for-high-ad-viewability-rate-or-high-ads-served-311f6b539c73">Optimize your AMP pages for high ad viewability or views</a></li><li><a href="https://medium.com/ampfuel/increase-ad-competition-with-multi-size-fluid-ads-in-amp-9cff90066c16">Take advantage of more ad competition with multi-size ads &amp; fluid</a></li><li><a href="https://medium.com/ampfuel/better-than-header-bidding-amp-rtc-fc54e80f3999">Better than header bidding → AMP RTC</a></li><li><a href="https://medium.com/ampfuel/take-advantage-of-video-ads-in-amp-92cf8651268a">Take advantage of video ads in AMP</a></li><li><a href="https://medium.com/ampfuel/leverage-rich-media-ad-support-in-amp-pages-15fa7cddadd7">Leverage rich media ad support in AMP</a></li><li><a href="https://medium.com/ampfuel/use-amphtml-ads-for-ad-performance-page-usability-user-safety-a36dd70b1100">Use AMPHTML ads for better ad performance, page usability &amp; user safety</a></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dLTu0zyax6l0xdesJBD7eg.jpeg" /><figcaption>Make a change &amp; earn the revenue from AMP</figcaption></figure><p>With AMP, we believe in providing you with flexibility in implementing where you source your ads from and what vendors to work with. You don’t lose a slice of your rev share just for using AMP. There are over 100 ad networks that are natively integrated with AMP pages and many more supported via header bidding (using AMP RTC) and server side exchanges.</p><p>The AMP team strongly believes in the open web and strive to help publishers build a sustainable business on it whether it be <a href="https://www.ampproject.org/latest/blog/an-amp-paywall-and-subscription-model-for-all-publishers/">paywalls</a> or advertising.</p><p>Stay tuned for more in the coming weeks and we look forward to your <a href="https://twitter.com/AMPhtml">feedback</a> on this series or anything else about AMP. In case you can’t wait to get started, check out the <a href="https://www.ampproject.org/docs/ads/monetization">summary of monetization best practices</a> and implement away!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1209378e031b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ampfuel/are-you-leaving-revenue-on-the-table-with-amp-1209378e031b">Are you making the most revenue from your AMP pages?</a> was originally published in <a href="https://medium.com/ampfuel">AMPfuel</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stop reflowing content for ads]]></title>
            <link>https://medium.com/ampfuel/stop-reflowing-content-for-ads-fe04628b9311?source=rss----1d38f710bd85---4</link>
            <guid isPermaLink="false">https://medium.com/p/fe04628b9311</guid>
            <category><![CDATA[ad-blocking]]></category>
            <category><![CDATA[advertising]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Vamsee Jasti]]></dc:creator>
            <pubDate>Tue, 28 Aug 2018 04:10:42 GMT</pubDate>
            <atom:updated>2018-05-06T17:34:15.172Z</atom:updated>
            <content:encoded><![CDATA[<p>You walk into a coffee shop and stand in line. You ask for a cup of coffee, but the barista instead offers you a shot of whisky first. It’s 10 AM, you don’t want a shot of whisky. You politely refuse and repeat your order. You drink your coffee and carry on with your day. You walk in the next day, and this time you are offered to buy a Microsoft Windows Asus tablet. You actually happened to need a tablet and had searched for it last night — just not at this moment and not at a coffee shop. Would you ever go back to this coffee shop?</p><p>Sadly, this is analogous to the state of display advertising today.</p><p>Things your readers may not need are offered at the wrong time while adding friction to what they came to do — read.</p><p>This sounds outrageous but is exactly the sort of experience most websites/ publishers give their readers. Readers visit a site to read content, yet get bombarded with experiences like below.*</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FEGp8nlYThvg%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DEGp8nlYThvg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FEGp8nlYThvg%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b298446e628635e1f7c2d2c2642ffc00/href">https://medium.com/media/b298446e628635e1f7c2d2c2642ffc00/href</a></iframe><p>Just when readers start consuming content, the ad dynamically reflows the page layout. This is incredible distracting and chances are the user will immediately leave your page.</p><p>The page is establishing an implicit contract with the reader by giving the user what they came for, but then deceives them with — WHAM! LOOK AT THIS THING THAT YOU ABSOLUTELY DON’T CARE ABOUT!</p><p>The only thing that’s worse than a bad experience is a bad experience that’s inconsistent. Inconsistent experiences causes subtle anxiety. Often, the same ad slot expands out of the ad slot into a full page ad or sometimes autoplays a video. At times, the ad expands into a full interstitial which blocks the user from proceeding before interacting with the ad. Your job as a publisher is to promote experiences on your site that keep the user consuming your content for as long as possible.</p><p>There are gentler, more polite patterns to advertise on the web without turning the dial up to 11.</p><h3>Establish an interaction flow and stick with it</h3><p>Once you give your users something they came for, don’t take it back. Don’t paint anything on the page unless you have everything you want to show the user in the first viewport. This is not an easy problem to solve because content on the page is typically fetched from a different location vs the ad. This is how most of the web works — sourcing multiple different pieces on the page from different servers.</p><p>All hope is not lost though:</p><h4>Don’t show any ads high up in the first viewport</h4><p>Contrary to popular belief, ads placed in the top of the page are not <a href="https://www.thinkwithgoogle.com/infographics/5-factors-of-viewability.html">necessarily more viewable</a>. The best position to place ads is right above the fold. This helps the user to start consuming content while loading ads in parallel without causing visible content reflow above the fold.</p><h4>Make ad sizes static</h4><p>As a publisher, it’s worth asking yourself if that jazzy animation out-of-page ad brings positive brand awareness to your advertisers. If so, is it worth alienating your readers? Instead, consider reserving the space required for your ads before you even layout the page. This way ads can take however long they want but never block the user from consuming content.</p><h4>Speed up your ads and your site</h4><p>Publishers typically own the content on the page but they have less control over the ads. The advertising industry’s ‘tragedy of commons’ problem doesn’t incentivize creative developers to make the creatives light and therefore fast. As a publisher, you must negotiate contracts with your advertisers and ad servers so that your ads and the first viewport always renders under 1 second (median).</p><p>I truly believe that advertising keeps the web open and free for everyone. That’s a wonderful thing. It’s time publishers embrace reader-friendly advertising patterns before more readers embrace ad blockers.</p><p><em>*P.S: I don’t mean to specifically pick on Vox/ Recode in the video- I came across the article by chance. They are one of very few brands that actually care about these things. There are far worse ad implementations on the web.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe04628b9311" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ampfuel/stop-reflowing-content-for-ads-fe04628b9311">Stop reflowing content for ads</a> was originally published in <a href="https://medium.com/ampfuel">AMPfuel</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>