সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
SRA ব্যাচিং নিয়ন্ত্রণ করুন
Google Publisher Tag (GPT) লাইব্রেরির একক অনুরোধ আর্কিটেকচার (SRA) মোড একাধিক বিজ্ঞাপন স্লটকে একটি একক বিজ্ঞাপন অনুরোধে ব্যাচ করে। এটি কর্মক্ষমতা সুবিধা প্রদান করে, তবে প্রতিযোগিতামূলক বর্জন এবং বাধাগুলিকে সম্মানিত করার গ্যারান্টি দেওয়ার জন্যও এটি প্রয়োজনীয়।
ডিফল্টরূপে, display() বা refresh() কল করার পূর্বে সংজ্ঞায়িত সমস্ত বিজ্ঞাপন স্লট ব্যাচ করা হবে এবং যখন SRA মোড সক্রিয় থাকবে তখন একসাথে অনুরোধ করা হবে। কিছু পরিস্থিতি আছে যেখানে আপনি এই ব্যাচিং আচরণের উপর আরও নিয়ন্ত্রণ চাইতে পারেন। উদাহরণস্বরূপ, নির্দিষ্ট স্লট লোড করার ক্ষেত্রে অগ্রাধিকার দিতে বা একটি 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)"]]