Để thảo luận và đưa ra ý kiến phản hồi về các sản phẩm của chúng tôi, hãy tham gia kênh Discord chính thức của Ad Manager trong máy chủ Cộng đồng quảng cáo và đo lường của Google.
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.
Kiểm soát tính năng phân lô SRA
Chế độ Cấu trúc yêu cầu duy nhất (SRA) của thư viện Thẻ nhà xuất bản của Google (GPT)
gộp nhiều vị trí quảng cáo vào một yêu cầu quảng cáo. Điều này mang lại lợi ích về hiệu suất, nhưng cũng cần thiết để đảm bảo rằng các tiêu chí loại trừ cạnh tranh và chặn được tuân thủ.
Theo mặc định, tất cả các vị trí quảng cáo được xác định trước khi gọi display() hoặc refresh() sẽ được phân lô và yêu cầu cùng nhau khi chế độ SRA đang hoạt động. Tuy nhiên, có một số trường hợp bạn có thể muốn kiểm soát nhiều hơn hành vi tạo lô này.
Ví dụ: để ưu tiên tải các vị trí cụ thể hoặc để tránh vượt quá số lượng vị trí tối đa trong một yêu cầu SRA.
[null,null,[],[],[],null,["# Control SRA batching\n====================\n\nThe Google Publisher Tag (GPT) library's Single Request Architecture (SRA) mode\nbatches multiple ad slots into a single ad request. This provides performance\nbenefits, but is also necessary to guarantee that\n[competitive exclusions and roadblocks](https://support.google.com/admanager/answer/177277) are honored.\n\nBy default, all ad slots defined prior to calling `display()` or `refresh()`\nwill be batched and requested together when SRA mode is active. There are some\nsituations where you may want more control over this batching behavior, however.\nFor example, to [prioritize the loading of specific slots](https://developers.google.com/publisher-tag/guides/ad-best-practices#prioritize_important_ad_slots) or\nto avoid exceeding the\n[maximum number of slots in a single SRA request](https://developers.google.com/publisher-tag/guides/publisher-console-messages#TOO_MANY_SLOTS_IN_SRA_REQUEST).\n| **Warning:** Roadblocks are not guaranteed across multiple SRA batches.\n\nThis example demonstrates how to apply techniques for\n[controlling ad loading and refresh](https://developers.google.com/publisher-tag/guides/control-ad-loading) to SRA requests.\n\nSample implementation\n---------------------\n\n[View demo](https://googleads.github.io/google-publisher-tag-samples/control-sra-batching/js/demo.html) \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/control-sra-batching/js) [Report an issue](https://github.com/googleads/google-publisher-tag-samples/issues/new?labels=documentation&template=sample-feedback.md&title=Sample+feedback%3A+control-sra-batching/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/control-sra-batching/ts) [Report an issue](https://github.com/googleads/google-publisher-tag-samples/issues/new?labels=documentation&template=sample-feedback.md&title=Sample+feedback%3A+control-sra-batching/ts)"]]