Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tải từng phần
Tính năng tải từng phần giúp các trang tải nhanh hơn, giảm mức tiêu thụ và xung đột tài nguyên, đồng thời cải thiện tỷ lệ khả năng xem bằng cách tạm dừng yêu cầu và hiển thị quảng cáo cho đến khi quảng cáo vào khung nhìn của người dùng.
Với tính năng tải từng phần trong SRA, khi vùng quảng cáo đầu tiên xuất hiện trong khung nhìn được xác định bởi thông số fetchMarginPercent, lệnh gọi cho quảng cáo đó và tất cả vùng quảng cáo khác sẽ được thực hiện.
[null,null,[],[],[],null,["# Lazy loading\n============\n\nLazy loading enables pages to load faster, reduces resource consumption and\ncontention, and improves viewability rate by pausing the requesting and\nrendering of ads until they approach the user's viewport.\n\nWith lazy loading in SRA, when the first ad slot comes within the viewport\nspecified by the [`fetchMarginPercent`](//developers.google.com/publisher-tag/reference#googletag.config.LazyLoadConfig.fetchMarginPercent) property,\nthe call for that ad and all other ad slots is made.\n\nSample implementation\n---------------------\n\n[View demo](https://googleads.github.io/google-publisher-tag-samples/lazy-loading/js/demo.html) This sample makes use of library features that are not fully supported when running in an iframe. To view a demo of this sample in a new window, click the **View demo** button above. \n\n### JavaScript\n\nLoading...\n----------\n\nLoading...\n----------\n\n[Improve this sample](https://github.com/googleads/google-publisher-tag-samples/tree/main/dist/lazy-loading/js) [Report an issue](https://github.com/googleads/google-publisher-tag-samples/issues/new?labels=documentation&template=sample-feedback.md&title=Sample+feedback%3A+lazy-loading/js)\n\n### TypeScript\n\nLoading...\n----------\n\nLoading...\n----------\n\n[Improve this sample](https://github.com/googleads/google-publisher-tag-samples/tree/main/dist/lazy-loading/ts) [Report an issue](https://github.com/googleads/google-publisher-tag-samples/issues/new?labels=documentation&template=sample-feedback.md&title=Sample+feedback%3A+lazy-loading/ts)"]]