/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
examples/amp-ad/doubleclick-usdrud.html
31 строка
2 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 with UseSameDomainRenderingUntilDeprecated</title> <link rel="canonical" href="http://nonblocking.io/" > <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> <script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-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> </head> <body> <h2>Doubleclick examples should all use GPT.js</h2> <p> Each one of these ad slots has the flag useSameDomainRenderingUntilDeprecated specified in a different way. Each way should work, and all should use GPT.js, not glade. </p> <amp-ad width="320" height="50" type="doubleclick" data-slot="/4119129/mobile_ad_banner" json='{"useSameDomainRenderingUntilDeprecated":1}'> </amp-ad> <amp-ad width="320" height="50" type="doubleclick" data-slot="/4119129/mobile_ad_banner" data-use-same-domain-rendering-until-deprecated="1"> </amp-ad> </body> </html>