Skip to content

Instantly share code, notes, and snippets.

View danielmguerrero's full-sized avatar

Daniel Muñoz Guerrero danielmguerrero

  • Madrid (Spain)
View GitHub Profile
<!doctype html> <html amp4ads> <head> <meta charset="utf-8"> <script async src="https://cdn.ampproject.org/amp4ads-v0.js"></script> <script async custom-element="amp-ad-exit" src="https://cdn.ampproject.org/v0/amp-ad-exit-0.1.js"></script> <style amp4ads-boilerplate>body{visibility:hidden}</style> <style amp-custom> .root{width:300px;height:600px;overflow:hidden} a,amp-img{display:block} </style> </head> <body> <div class="root"> <amp-ad-exit id="exit"> <script type="application/json"> { "targets": { "click": { "finalUrl": "${CLICK_URL_ENC}https://dev.orbitas.es/nemea.es/click?fmt=300x600&cb=${CACHEBUSTER}" } } } </script> </amp-ad-exit> <a on="tap:exit.exit(target='click')"> <amp-img width="300" height="600" layout="fixed" src="https://dev.orbitas.es/nemea.es/render-300x600?cb=${CACHEBUSTER}" alt="Nemea 300x600"> </amp-img> </a> <amp-pixel src="https://dev.orbitas.es/nemea.es/imp?fmt=300x600&cb=${CACHEBUSTER}"></amp-pixel> </div> </body> </html>
<!doctype html> <html amp4ads> <head> <meta charset="utf-8"> <script async src="https://cdn.ampproject.org/amp4ads-v0.js"></script> <script async custom-element="amp-ad-exit" src="https://cdn.ampproject.org/v0/amp-ad-exit-0.1.js"></script> <style amp4ads-boilerplate>body{visibility:hidden}</style> <style amp-custom> .root{width:300px;height:600px;overflow:hidden} a,amp-img{display:block} </style> </head> <body> <div class="root"> <amp-ad-exit id="exit"> <script type="application/json"> { "targets": { "click": { "finalUrl": "${CLICK_URL_ENC}https://dev.orbitas.es/nemea.es/click?fmt=300x600&cb=${CACHEBUSTER}" } } } </script> </amp-ad-exit> <a on="tap:exit.exit(target='click')"> <amp-img width="300" height="600" layout="fixed" src="https://dev.orbitas.es/nemea.es/render-300x600?cb=${CACHEBUSTER}" alt="Nemea 300x600"> </amp-img> </a> <amp-pixel src="https://dev.orbitas.es/nemea.es/imp?fmt=300x600&cb=${CACHEBUSTER}"></amp-pixel> </div> </body> </html>
<!doctype html> <html amp4ads> <head> <meta charset="utf-8"> <script async src="https://cdn.ampproject.org/amp4ads-v0.js"></script> <script async custom-element="amp-ad-exit" src="https://cdn.ampproject.org/v0/amp-ad-exit-0.1.js"></script> <style amp4ads-boilerplate>body{visibility:hidden}</style> <style amp-custom> .root{width:300px;height:600px;overflow:hidden} a,amp-img{display:block} </style> </head> <body> <div class="root"> <amp-ad-exit id="exit"> <script type="application/json"> { "targets": { "click": { "finalUrl": "${CLICK_URL_ENC}https://dev.orbitas.es/nemea.es/click?fmt=300x600&cb=${CACHEBUSTER}" } } } </script> </amp-ad-exit> <a on="tap:exit.exit(target='click')"> <amp-img width="300" height="600" layout="fixed" src="https://dev.orbitas.es/nemea.es/render-300x600?cb=${CACHEBUSTER}" alt="Nemea 300x600"> </amp-img> </a> <amp-pixel src="https://dev.orbitas.es/nemea.es/imp?fmt=300x600&cb=${CACHEBUSTER}"></amp-pixel> </div> </body> </html>