يضمن هذا الإجراء أن يتم طلب النصوص البرمجية لمكتبة علامات الإعلانات بشكلٍ آمن. لن يؤدي هذا فقط
يوفّر مستوى أمان أفضل للمستخدمين، ويؤدي أيضًا إلى تحسين الأداء. منذ الإعلان
التي يتم إصدارها من خلال GPT تستخدم بروتوكول HTTPS دائمًا، ما يؤدي إلى تحميل المكتبة نفسها من
المضيف المقترَح عبر HTTPS يضمن
يحتاج المتصفّح إلى فتح اتصال واحد فقط لجميع الطلبات ذات الصلة بعرض الإعلانات.
اقتراحات
حمِّل دائمًا النصوص البرمجية لعلامات الإعلان من عنوان URL يستخدم HTTPS.
غير صحيح
<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>
تاريخ التعديل الأخير: 2024-08-22 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-08-22 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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"]]