ลดเวลาในการตอบสนองของคําขอโฆษณาแรก (จากการโหลดแท็ก)
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ภาพรวม
เวลาที่ใช้ในการสร้างคำขอโฆษณาแรก คือระยะเวลาตั้งแต่เริ่มโหลดแท็กจนกระทั่งออกคำขอโฆษณาแรกเสร็จ
การแนะนำวิดีโอ
เมตริกนี้ไม่ได้แสดงถึงปัญหาใดโดยเฉพาะ ควรใช้เมตริกเพื่อช่วยระบุส่วนที่ควรปรับปรุงและติดตามการปรับปรุงเมื่อเวลาผ่านไป
เป้าหมายคือการลดเวลาที่ใช้ในการสร้างคำขอโฆษณาแรก การดูแลให้การตรวจสอบอื่นๆ ที่เฉพาะเจาะจงมากขึ้นมีสถานะผ่านจะช่วยให้มีผลต่อเมตริกนี้ได้อย่างมาก โดยเฉพาะอย่างยิ่งการตรวจสอบต่อไปนี้ซึ่งมีแนวโน้มที่จะมีผลต่อระยะเวลาดังกล่าว
เมตริกนี้ระบุว่า "คําขอโฆษณาแรก" เป็นคําขอแรกสุดที่บันทึกไว้ซึ่งขอไปยังหนึ่งในรายการต่อไปนี้
คลัง |
โฮสต์ |
เส้นทาง |
AdSense |
googleads.g.doubleclick.net |
/pagead/ads |
แท็กผู้เผยแพร่โฆษณาผ่าน Google |
securepubads.g.doubleclick.net |
/gampad/ads |
การหลีกเลี่ยงข้อผิดพลาดที่พบบ่อยในการใช้งาน GPT
แนวทางปฏิบัติแนะนำในการติดแท็กเพื่อลดเวลาในการตอบสนองของหน้าเว็บ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eThis metric measures the time it takes for the first ad request to be made after the tag loads.\u003c/p\u003e\n"],["\u003cp\u003eReducing this time improves ad performance, and can be achieved by addressing related audits like ad request waterfall and avoiding bottleneck requests.\u003c/p\u003e\n"],["\u003cp\u003eThe first ad request is identified by requests made to specific hosts and paths associated with AdSense or Google Publisher Tag.\u003c/p\u003e\n"],["\u003cp\u003eWhile not indicative of a specific problem, it's a useful metric to track and improve to optimize ad loading times.\u003c/p\u003e\n"]]],["The \"first ad request\" metric measures the time from tag load to the initial ad request. Reducing this time is the primary goal, and it is achievable by improving related audits. Key actions include optimizing the ad request waterfall, avoiding bottleneck requests, preventing long tasks that block ad requests, not waiting on load events, loading GPT and bids in parallel, and parallelizing bid requests. The first ad request is the earliest recorded request to specific hosts and paths for AdSense and Google Publisher Tag libraries.\n"],null,["# Reduce latency of first ad request (from tag load)\n\nOverview\n--------\n\nThe time it takes for the first ad request to be made. This is the interval from\ntag load until the first ad request is issued.\n\nRecommendations\n---------------\n\nThis metric is not indicative of a specific issue. It should be used to help\nidentify areas for improvement and track that improvement over time.\n\nThe goal here is to reduce the time it takes for the first ad request to be\nmade. Ensuring that other, more specific audits are passing should have a major\nimpact on this metric. In particular, the following audits are likely to affect\nthis time:\n\n- [Ad request waterfall](./ad-request-critical-path)\n- [Avoid bottleneck requests](./bottleneck-requests)\n- [Avoid long tasks that block ad-related network requests](./ad-blocking-tasks)\n- [Avoid waiting on load events](./blocking-load-events)\n- [Load GPT and bids in parallel](./gpt-bids-parallel)\n- [Parallelize bid requests](./serial-header-bidding)\n\nMore information\n----------------\n\nThis metric identifies \"first ad request\" as the earliest recorded request to\none of:\n\n| Library | Host | Path |\n|----------------------|----------------------------------|---------------|\n| AdSense | `googleads.g.doubleclick.net` | `/pagead/ads` |\n| Google Publisher Tag | `securepubads.g.doubleclick.net` | `/gampad/ads` |\n\n[Avoiding Common GPT Implementation Mistakes](https://developers.google.com/publisher-tag/common_implementation_mistakes)\n[Tagging best practices to minimize page latency](https://support.google.com/admanager/answer/7485975) \n[View audit source](https://github.com/googleads/publisher-ads-lighthouse-plugin/tree/HEAD/lighthouse-plugin-publisher-ads/audits/ad-request-from-tag-load.js) [Improve this article](https://github.com/googleads/publisher-ads-lighthouse-plugin/tree/HEAD/docs/audits/ad-request-from-tag-load.md) [Report an issue](https://github.com/googleads/publisher-ads-lighthouse-plugin/issues/new?labels=documentation&template=documentation-feedback.md&title=Documentation+feedback%3A+ad-request-from-tag-load.md)\n\n\u003cbr /\u003e"]]