/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
examples/amp-ad/doubleclick-remote-html.html
64 строки
3 KB
Caroline Liu
Apply lang="en" to examples/ (#34759)
10 июн 2021, 17:30
Не верифицирован
10 июн 2021, 17:30
2ee75c4
Код
Авторство
О чём код?
<!doctype html> <html ⚡ lang="en"> <head> <meta charset="utf-8"> <title>Doubleclick Example using custom remote.html on page</title> <link rel="canonical" href="http://nonblocking.io/" > <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> <style amp-custom> .broken { color: red; } amp-ad { border: 1px solid #ccc; max-width: 500px; } .red { background-color: red; } .filterBar { background: #eee; padding: 3px; font-size: 1.2em; } select { border: 1px solid #999; } input[type=submit] { font-size: 14px; border: 1px solid #999; border-radius: 3px; margin-left: 10px; } amp-ad[type="revcontent"] { width: 100%; max-width: 1280px; margin: 18px 0; padding: 0; } amp-ad[type="nativo"] { width: 100%; max-width: 1280px; margin: 18px 0; padding: 0; height:100px; } </style> <script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-0.1.js"></script> <script async custom-element="amp-analytics" src="https://cdn.ampproject.org/v0/amp-analytics-0.1.js"></script> <script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-latest.js"></script> <script async custom-element="amp-form" src="https://cdn.ampproject.org/v0/amp-form-0.1.js"></script> <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> <script async src="https://cdn.ampproject.org/v0.js"></script> <meta name="amp-3p-iframe-src" content="http://ads.localhost:8000/dist.3p/current/frame.max.html"> </head> <body> <h2>Doubleclick example, should use Glade.js</h2> <amp-ad width="320" height="50" type="doubleclick" data-slot="/4119129/mobile_ad_banner"> </amp-ad> </body> </html>