/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
examples/amp-ad/smartadserver.amp.html
27 строк
2 KB
Krzysztof Sokół
✨[amp-ad smartadserver] Implements postMessage listener (#37821)
08 апр 2022, 21:22
Не верифицирован
08 апр 2022, 21:22
5030f09
Код
Авторство
О чём код?
<!doctype html> <html ⚡ lang="en"> <head> <meta charset="utf-8"> <title>Smartadserver Examples</title> <link rel="canonical" href="http://nonblocking.io/"> <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> <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> <script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-0.1.js"></script> </head> <body> <amp-ad width="300" height="250" type="smartadserver" data-domain="https://www4.smartadserver.com" data-site="95802" data-page="633338" data-format="35679" data-target="foo=bar"> </amp-ad> <amp-ad width="300" height="250" type="smartadserver" data-domain="https://www4.smartadserver.com" data-site="95802" data-page="633338" data-format="35679" data-target="test=rtc&foo=bar" rtc-config='{ "vendors": { "fakeVendor": { "SLOT_ID": "1", "PAGE_ID": "2" }, "fakeVendor2": { "SLOT_ID": "1" } }, "timeoutMillis": 400}'> </amp-ad> </body> </html>