विज्ञापन दिखाने से रोकने वाले संसाधनों से बचें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
खास जानकारी
इस ऑडिट से उन संसाधनों (खास तौर पर, स्क्रिप्ट और स्टाइलशीट) की पहचान की जाती है जो
विज्ञापन टैग लाइब्रेरी को लोड करने में देरी कर रहे हैं. ये ऐसे संसाधन हैं जिनके लिए अनुरोध किया गया था और ये विज्ञापन टैग लाइब्रेरी के लोड होने से पहले मिले थे. टैग लोड होने से पहले, अनुरोध किए गए रिसॉर्स की संख्या कम करने पर, विज्ञापन तेज़ी से लोड होगा.
सुझाव
इस ऑडिट की जानकारी में, उन सभी स्क्रिप्ट और स्टाइलशीट की सूची शामिल है
जिनकी वजह से टैग लोड होने में देरी हो रही है. इसका मकसद इस सूची में एंट्री की संख्या को जितना हो सके उतना कम करना है. ऐसा करने की कुछ सलाह:
- विज्ञापन टैग लाइब्रेरी को पेज के
<head>
में पहले लोड किया जा रहा है.
- मुख्य फ़ंक्शन के लिए, सीधे आपके एचटीएमएल में ज़रूरी स्क्रिप्ट और स्टाइलशीट को इनलाइन करना.
- गैर-ज़रूरी स्क्रिप्ट को
async
या defer
एट्रिब्यूट की मदद से मार्क किया जा रहा है.
- मीडिया क्वेरी के हिसाब से, स्टाइल को अलग-अलग फ़ाइलों में बांटा जाता है. साथ ही, ज़रूरत पड़ने पर उन्हें लोड करने के लिए,
media
एट्रिब्यूट का इस्तेमाल किया जाता है.
विज्ञापन टैग लाइब्रेरी की इन स्क्रिप्ट का इस्तेमाल किया जा सकता है:
लाइब्रेरी |
स्क्रिप्ट |
AdSense |
pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
pagead2.googlesyndication.com/pagead/show_ads.js
|
Google पब्लिशर टैग |
googletagservices.com/tag/js/gpt.js
securepubads.g.doubleclick.net/tag/js/gpt.js
|
रेंडरिंग ब्लॉक करने वाले संसाधन
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThis audit helps identify scripts and stylesheets that slow down the loading of ad tags by being requested before them.\u003c/p\u003e\n"],["\u003cp\u003eReducing the number of these resources loaded prior to ad tags can significantly improve ad loading speed.\u003c/p\u003e\n"],["\u003cp\u003eOptimization strategies include loading ad tags earlier, inlining critical resources, using \u003ccode\u003easync\u003c/code\u003e or \u003ccode\u003edefer\u003c/code\u003e for non-critical scripts, and separating stylesheets by media query.\u003c/p\u003e\n"],["\u003cp\u003eSupported ad tag libraries include AdSense and Google Publisher Tag, with specific script URLs for identification.\u003c/p\u003e\n"]]],["The audit identifies scripts and stylesheets that delay ad tag library loading. To improve ad loading speed, reduce the number of resources requested before tag loading. Key actions include loading ad tag libraries earlier, inlining critical scripts/stylesheets, marking non-critical scripts with `async` or `defer`, and using the `media` attribute for conditional stylesheet loading. Supported ad tag libraries include AdSense and Google Publisher Tag, each with specific script URLs. The goal is to have minimal or zero items on this list.\n"],null,[]]