광고 태그 라이브러리 스크립트가 안전하게 요청되는지 확인합니다. 이것은 뿐만 아니라
사용자를 위해 더 나은 보안을 제공할 뿐만 아니라 성능도 향상됩니다. 광고 이후
GPT에서 발행한 요청은 항상 HTTPS를 사용하므로
HTTPS를 통한 권장 호스트는 사용자가
브라우저는 광고 게재와 관련된 모든 요청에 대해 하나의 연결만 열면 됩니다.
권장사항
항상 HTTPS URL에서 광고 태그 스크립트를 로드합니다.
올바르지 않음
<script>
var el = document.createElement('script');
// Incorrect: potentially loading the ad tag over HTTP.
var useSSL = 'https:' == document.location.protocol;
el.src = (useSSL ? 'https:' : 'http:') + '//securepubads.g.doubleclick.net/tag/js/gpt.js';
var node = document.getElementsByTagName('script')[0];
node.parentNode.insertBefore(el, node);
</script>
[null,null,["최종 업데이트: 2024-08-22(UTC)"],[[["Loading ad tag library scripts securely over HTTPS enhances security and performance for users."],["Browsers establish a single connection for ad serving when GPT and its library are fetched via HTTPS."],["Ad tag scripts should always be loaded from an HTTPS URL for optimal security."],["Google Publisher Tag and AdSense are among the supported ad tag library scripts, and their HTTPS URLs are provided for reference."]]],["Ad tag library scripts should be loaded via HTTPS for enhanced security and performance. Always use HTTPS URLs to load scripts; avoid HTTP. Secure loading ensures a single browser connection for all ad-related requests, as GPT uses HTTPS. Supported scripts include those for AdSense (e.g., `pagead2.googlesyndication.com/pagead/js/adsbygoogle.js`) and Google Publisher Tag (e.g., `securepubads.g.doubleclick.net/tag/js/gpt.js`). The correct implementation is loading scripts such as `https://securepubads.g.doubleclick.net/tag/js/gpt.js` using the script tag.\n"]]