विज्ञापन से जुड़े लेआउट में बदलाव कम करें
खास जानकारी
कुल लेआउट शिफ़्ट, लेआउट Instability API का इस्तेमाल करके, उन लेआउट शिफ़्ट की कुल संख्या को मापता है जो उपयोगकर्ता को दिखती हैं. इसके लिए, उन सभी लेआउट शिफ़्ट के लेआउट शिफ़्ट स्कोर का योग जोड़ा जाता है जहां विज्ञापन iframe शिफ़्ट हुआ है या लेआउट शिफ़्ट हुआ है.
सुझाव
इस मेट्रिक से किसी खास समस्या के बारे में नहीं पता चलता है. इसका इस्तेमाल सुधार की ज़रूरत वाली चीज़ों की पहचान
करने और समय के साथ उस सुधार को ट्रैक करने के लिए किया जाना चाहिए.
लेआउट शिफ़्ट से बचने के लिए, विज्ञापन टैग लोड होने से पहले विज्ञापन एलिमेंट के लिए साइज़ सेट करना ज़रूरी है. यह काम सही तरीके से करना मुश्किल या नामुमकिन हो सकता है. खास तौर पर, उन विज्ञापन स्लॉट के लिए जो डाइनैमिक साइज़ वाले विज्ञापन स्वीकार करते हैं. हालांकि, ज़्यादातर मामलों में लेआउट शिफ़्ट को कम करने के सबसे सही तरीके अपनाए जा सकते हैं. ज़्यादा जानकारी के लिए GPT डेवलपर साइट पर लेआउट शिफ़्ट को कम करने से जुड़ी गाइड देखें.
कुल लेआउट शिफ़्ट (सीएलएस)
कुल लेआउट शिफ़्ट को ऑप्टिमाइज़ करना
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-06-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-06-26 (UTC) को अपडेट किया गया."],[[["Cumulative Layout Shift (CLS) quantifies the total visual instability caused by ad iframes shifting or inducing layout changes, using the Layout Instability API and layout shift scores."],["This metric helps pinpoint areas for improvement and track progress rather than diagnosing specific issues."],["Minimizing layout shift is crucial and involves pre-setting ad element sizes, though achieving perfection is challenging, especially with dynamic ads."],["Refer to the GPT developer guide for best practices in minimizing layout shift for most scenarios."]]],["Cumulative Layout Shift (CLS) measures user-visible layout shifts, specifically those caused by or involving ad iframes. It uses the Layout Instability API and sums the layout shift score. Recommendations include setting sizes for ad elements before loading to minimize shifts. While perfect prevention is difficult, especially for dynamically sized ads, best practices are suggested. This metric helps track improvements, not pinpoint issues. Resources are available for further optimization and guidance.\n"]]