For different reasons that can range from editorial changes to corrections, Marfeel partners may request that one of their Marfeel-produced AMP articles be invalidated or removed from AMP altogether.

Because a publisher's AMP pages are hosted and served by Google, Marfeel must instruct Google's servers to invalidate the content or remove it depending on the publisher's request.

The following are the specific steps Marfeel engineers follow, and what the partner must do on their end, depending on the action that was requested.

Steps to invalidate AMP content

  1. The Marfeel partner sends a request to success@marfeel.com to have their Marfeel-produced AMP page invalidated. 
  2. Marfeel engineers use the AMP update-cache or update-ping request which forces Google to cache the new AMP content on their servers. The request to cache new content to the article's URL would resemble the following:

    https://example-com.<cache.updateCacheApiDomainSuffix>/update-cache/c/s/example.com/article?amp_action=flush&amp_ts=<ts_val>&amp_url_signature=<sig_val>
    CODE


    For more information regarding how both the update-cache and update-ping request work, see the Update AMP Content article in the Google AMP Cache guide. 

Steps to delete an AMP article

  1. The Marfeel partner sends a request to have their Marfeel-produced AMP page removed from the AMP platform.
  2. The publisher must remove the AMP link reference from the article's HTML that resembles the following:

    <link rel="amphtml" href="https://www.bc.marfeel.com/amp/www.exampledomain.com/article-path">
    CODE
  3.  Marfeel engineers use the AMP update-cache or update-ping request which forces Google to remove the article from their servers. The request would resemble the following:

    https://cdn.ampproject.org/update-ping/i/s/example.com/favicon.ico.
    CODE